mrgsolveCompartment function

Get the compartment block for mrgsolve.