Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(ModelicaTest): time 2.394/2.394, allocations: 235 MB / 241.9 MB, free: 9.785 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.187/2.581, allocations: 57.21 MB / 299.1 MB, free: 468 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/2.849, allocations: 54.84 MB / 354 MB, free: 13.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4036/3.252, allocations: 98.27 MB / 452.2 MB, free: 33.09 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002203/3.253, allocations: 81.55 kB / 452.3 MB, free: 33.09 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1328 * Number of variables: 1328 Notification: Performance of Generate backend data structure: time 0.2811/3.534, allocations: 67.15 MB / 0.5073 GB, free: 14.02 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/3.534, allocations: 11.94 kB / 0.5073 GB, free: 14.01 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01492/3.549, allocations: 1.61 MB / 0.5089 GB, free: 12.4 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007363/3.556, allocations: 2.047 MB / 0.5109 GB, free: 10.78 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002369/3.557, allocations: 120 kB / 0.511 GB, free: 10.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002105/3.559, allocations: 208 kB / 0.5112 GB, free: 10.46 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0145/3.573, allocations: 5.478 MB / 0.5165 GB, free: 5.949 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02333/3.597, allocations: 7.473 MB / 0.5238 GB, free: 14.09 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001263/3.597, allocations: 19.81 kB / 0.5239 GB, free: 14.07 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001327/3.598, allocations: 15.91 kB / 0.5239 GB, free: 14.05 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001749/3.6, allocations: 0.8541 MB / 0.5247 GB, free: 13.2 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06801/3.668, allocations: 26.62 MB / 0.5507 GB, free: 1.844 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004219/3.672, allocations: 1.73 MB / 0.5524 GB, free: 15.99 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00206/3.674, allocations: 0.7227 MB / 0.5531 GB, free: 15.27 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001038/3.674, allocations: 20.97 kB / 0.5531 GB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.141e-05/3.674, allocations: 43.56 kB / 0.5532 GB, free: 15.2 MB / 426.7 MB Notification: Performance of pre-optimization done (n=132): time 4.629e-06/3.674, allocations: 4 kB / 0.5532 GB, free: 15.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=132): time 0.008996/3.683, allocations: 1.951 MB / 0.5551 GB, free: 13.23 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.804e-05/3.684, allocations: 64.41 kB / 0.5551 GB, free: 13.16 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005114/3.689, allocations: 1.784 MB / 0.5569 GB, free: 11.34 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002949/3.689, allocations: 29.7 kB / 0.5569 GB, free: 11.3 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002719/3.692, allocations: 2.246 MB / 0.5591 GB, free: 9.02 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009721/3.693, allocations: 485.5 kB / 0.5596 GB, free: 8.539 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003956/3.693, allocations: 0 / 0.5596 GB, free: 8.539 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000597/3.694, allocations: 0.5188 MB / 0.5601 GB, free: 8.012 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003486/3.697, allocations: 1.085 MB / 0.5611 GB, free: 6.922 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006339/3.704, allocations: 3.366 MB / 0.5644 GB, free: 2.418 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005636/3.709, allocations: 1.975 MB / 0.5663 GB, free: 456 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.013e-05/3.71, allocations: 24 kB / 0.5664 GB, free: 432 kB / 426.7 MB Notification: Performance of matching and sorting (n=505) (initialization): time 0.01903/3.729, allocations: 3.972 MB / 0.5702 GB, free: 12.44 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.013e-05/3.729, allocations: 4 kB / 0.5703 GB, free: 12.43 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001966/3.729, allocations: 80 kB / 0.5703 GB, free: 12.36 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002716/3.729, allocations: 120 kB / 0.5704 GB, free: 12.24 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007374/3.737, allocations: 0.8734 MB / 0.5713 GB, free: 11.36 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001903/3.737, allocations: 163.4 kB / 0.5715 GB, free: 11.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004657/3.742, allocations: 419 kB / 0.5718 GB, free: 10.79 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001117/3.743, allocations: 236 kB / 0.5721 GB, free: 10.55 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 372 * Number of states: 0 () * Number of discrete variables: 27 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.forceColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (481): * Single equations (assignments): 478 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009232/3.744, allocations: 322.5 kB / 0.5724 GB, free: 10.23 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005304/3.744, allocations: 185.6 kB / 0.5726 GB, free: 10.05 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005335/3.75, allocations: 1.668 MB / 0.5742 GB, free: 8.363 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.983e-05/3.75, allocations: 12 kB / 0.5742 GB, free: 8.352 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/3.75, allocations: 0 / 0.5742 GB, free: 8.352 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.085e-05/3.75, allocations: 3.984 kB / 0.5742 GB, free: 8.348 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02281/3.773, allocations: 7.946 MB / 0.582 GB, free: 44 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.194e-05/3.773, allocations: 16 kB / 0.582 GB, free: 28 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001929/3.775, allocations: 211.6 kB / 0.5822 GB, free: 15.82 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.173e-05/3.775, allocations: 28 kB / 0.5822 GB, free: 15.79 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001583/3.775, allocations: 31.98 kB / 0.5822 GB, free: 15.76 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.834e-05/3.775, allocations: 35.86 kB / 0.5823 GB, free: 15.73 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.777e-05/3.775, allocations: 27.92 kB / 0.5823 GB, free: 15.7 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006588/3.782, allocations: 3.357 MB / 0.5856 GB, free: 11.43 MB / 458.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00826/3.79, allocations: 3.756 MB / 0.5892 GB, free: 6.77 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001201/3.791, allocations: 286.2 kB / 0.5895 GB, free: 6.469 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001135/3.792, allocations: 27.98 kB / 0.5895 GB, free: 6.441 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003038/3.795, allocations: 27.98 kB / 0.5896 GB, free: 6.414 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006402/3.796, allocations: 107.5 kB / 0.5897 GB, free: 6.309 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003487/3.796, allocations: 63.98 kB / 0.5897 GB, free: 6.246 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.00425/3.801, allocations: 1.184 MB / 0.5909 GB, free: 5.035 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006773/3.808, allocations: 0.8701 MB / 0.5917 GB, free: 4.16 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 106 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007144/3.808, allocations: 162.8 kB / 0.5919 GB, free: 3.988 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006944/3.815, allocations: 2.591 MB / 0.5944 GB, free: 1.422 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.038e-05/3.815, allocations: 8.125 kB / 0.5944 GB, free: 1.414 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002101/3.818, allocations: 0.7569 MB / 0.5952 GB, free: 0.6602 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00194/3.819, allocations: 211.5 kB / 0.5954 GB, free: 460 kB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02118/3.841, allocations: 5.929 MB / 0.6012 GB, free: 10.23 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009058/3.85, allocations: 3.095 MB / 0.6042 GB, free: 7.113 MB / 474.7 MB Notification: Performance of SimCode: time 1.593e-06/3.85, allocations: 0 / 0.6042 GB, free: 7.113 MB / 474.7 MB