Moved dynamic allocation inside blocks (but this must be entirely removed in mdlOutputs)
Changed enum order to fix velocity and position commands block