Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Sensors_CutTorque2",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.425/2.425, allocations: 234.9 MB / 241.9 MB, free: 9.781 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1858/2.611, allocations: 57.22 MB / 299.1 MB, free: 456 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/2.948, allocations: 54.84 MB / 354 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3868/3.335, allocations: 95.21 MB / 449.2 MB, free: 31.97 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002637/3.335, allocations: 76.72 kB / 449.3 MB, free: 31.97 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: 1092 * Number of variables: 1092 Notification: Performance of Generate backend data structure: time 0.2494/3.585, allocations: 57.53 MB / 0.4949 GB, free: 19.17 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/3.585, allocations: 9.719 kB / 0.4949 GB, free: 19.17 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02179/3.606, allocations: 1.508 MB / 0.4964 GB, free: 18.44 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009641/3.616, allocations: 1.746 MB / 0.4981 GB, free: 17.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003646/3.617, allocations: 105.1 kB / 0.4982 GB, free: 17.74 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002363/3.619, allocations: 168.4 kB / 0.4984 GB, free: 17.74 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01721/3.636, allocations: 4.56 MB / 0.5028 GB, free: 17.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02065/3.657, allocations: 6.289 MB / 0.5089 GB, free: 13.3 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001187/3.657, allocations: 23.81 kB / 0.509 GB, free: 13.28 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001533/3.659, allocations: 12 kB / 0.509 GB, free: 13.27 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001277/3.66, allocations: 0.7372 MB / 0.5097 GB, free: 12.53 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06297/3.723, allocations: 23.59 MB / 0.5327 GB, free: 4.227 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00341/3.726, allocations: 1.52 MB / 0.5342 GB, free: 2.586 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001545/3.728, allocations: 0.5892 MB / 0.5348 GB, free: 1.996 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.234e-05/3.728, allocations: 16.77 kB / 0.5348 GB, free: 1.98 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.108e-05/3.728, allocations: 47.28 kB / 0.5349 GB, free: 1.926 MB / 394.7 MB Notification: Performance of pre-optimization done (n=108): time 4.238e-06/3.728, allocations: 0 / 0.5349 GB, free: 1.926 MB / 394.7 MB Notification: Performance of matching and sorting (n=108): time 0.00673/3.735, allocations: 1.574 MB / 0.5364 GB, free: 352 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.064e-05/3.735, allocations: 60.19 kB / 0.5365 GB, free: 280 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004287/3.739, allocations: 1.653 MB / 0.5381 GB, free: 14.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002182/3.74, allocations: 25.7 kB / 0.5381 GB, free: 14.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001931/3.742, allocations: 1.959 MB / 0.54 GB, free: 12.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006767/3.742, allocations: 410.6 kB / 0.5404 GB, free: 12.19 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002091/3.742, allocations: 0 / 0.5404 GB, free: 12.19 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005376/3.743, allocations: 0.4983 MB / 0.5409 GB, free: 11.68 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002623/3.746, allocations: 0.9634 MB / 0.5418 GB, free: 10.71 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005048/3.751, allocations: 3.089 MB / 0.5448 GB, free: 6.551 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004941/3.756, allocations: 1.782 MB / 0.5466 GB, free: 4.77 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.789e-05/3.756, allocations: 20 kB / 0.5466 GB, free: 4.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=456) (initialization): time 0.01214/3.768, allocations: 3.586 MB / 0.5501 GB, free: 1.16 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.293e-05/3.768, allocations: 4 kB / 0.5501 GB, free: 1.156 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001597/3.768, allocations: 76 kB / 0.5502 GB, free: 1.082 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001837/3.769, allocations: 120 kB / 0.5503 GB, free: 0.9648 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00526/3.774, allocations: 0.7764 MB / 0.551 GB, free: 188 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001702/3.774, allocations: 147.4 kB / 0.5512 GB, free: 40 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00419/3.778, allocations: 395.2 kB / 0.5516 GB, free: 15.65 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000947/3.779, allocations: 219.9 kB / 0.5518 GB, free: 15.43 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 350 * Number of states: 0 () * Number of discrete variables: 21 (worldTorque.color[3],worldTorque.color[2],worldTorque.color[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],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[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 (432): * Single equations (assignments): 429 * 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.0006827/3.78, allocations: 290.4 kB / 0.5521 GB, free: 15.14 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000532/3.78, allocations: 173.8 kB / 0.5522 GB, free: 14.97 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004465/3.785, allocations: 1.398 MB / 0.5536 GB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.217e-05/3.785, allocations: 8 kB / 0.5536 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/3.785, allocations: 0 / 0.5536 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.568e-05/3.785, allocations: 3.984 kB / 0.5536 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01533/3.8, allocations: 5.266 MB / 0.5587 GB, free: 8.031 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-05/3.801, allocations: 12.19 kB / 0.5588 GB, free: 8.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001349/3.802, allocations: 155.7 kB / 0.5589 GB, free: 7.867 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.382e-05/3.802, allocations: 19.91 kB / 0.5589 GB, free: 7.848 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001135/3.802, allocations: 19.98 kB / 0.5589 GB, free: 7.828 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-05/3.802, allocations: 23.92 kB / 0.559 GB, free: 7.805 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-05/3.802, allocations: 15.94 kB / 0.559 GB, free: 7.789 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004355/3.807, allocations: 2.475 MB / 0.5614 GB, free: 4.859 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00451/3.811, allocations: 2.874 MB / 0.5642 GB, free: 1.543 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006478/3.812, allocations: 258.5 kB / 0.5644 GB, free: 1.27 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003856/3.812, allocations: 19.98 kB / 0.5645 GB, free: 1.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001151/3.813, allocations: 19.98 kB / 0.5645 GB, free: 1.23 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001944/3.814, allocations: 75.69 kB / 0.5646 GB, free: 1.156 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001352/3.814, allocations: 47.98 kB / 0.5646 GB, free: 1.109 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.002961/3.817, allocations: 1.114 MB / 0.5657 GB, free: 4 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.00536/3.822, allocations: 0.715 MB / 0.5664 GB, free: 15.28 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * 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.0006433/3.823, allocations: 150.9 kB / 0.5665 GB, free: 15.13 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006149/3.829, allocations: 2.281 MB / 0.5688 GB, free: 12.87 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.455e-05/3.829, allocations: 0 / 0.5688 GB, free: 12.87 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001668/3.831, allocations: 0.6204 MB / 0.5694 GB, free: 12.25 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001774/3.832, allocations: 177.2 kB / 0.5695 GB, free: 12.08 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01882/3.851, allocations: 4.883 MB / 0.5743 GB, free: 6.992 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01178/3.863, allocations: 2.678 MB / 0.5769 GB, free: 4.289 MB / 442.7 MB Notification: Performance of SimCode: time 1.743e-06/3.863, allocations: 0 / 0.5769 GB, free: 4.289 MB / 442.7 MB