Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Sensors_CutForceAndTorque2",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.467/2.467, allocations: 234.9 MB / 241.9 MB, free: 9.801 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2166/2.684, allocations: 57.2 MB / 299.1 MB, free: 492 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.289/2.973, allocations: 54.85 MB / 354 MB, free: 13.36 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4255/3.398, allocations: 100.1 MB / 454.1 MB, free: 33.47 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000253/3.398, allocations: 79.48 kB / 454.1 MB, free: 33.46 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: 3662 * Number of variables: 3662 Notification: Performance of Generate backend data structure: time 1.211/4.61, allocations: 202.2 MB / 0.641 GB, free: 53.89 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.181e-05/4.61, allocations: 9.875 kB / 0.641 GB, free: 53.89 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03775/4.648, allocations: 3.393 MB / 0.6443 GB, free: 53.2 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03971/4.688, allocations: 10.67 MB / 0.6547 GB, free: 52.12 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008774/4.688, allocations: 347.7 kB / 0.655 GB, free: 52.12 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006454/4.695, allocations: 0.605 MB / 0.6556 GB, free: 52.11 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04337/4.738, allocations: 15.05 MB / 0.6703 GB, free: 52.06 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06527/4.804, allocations: 21.22 MB / 0.691 GB, free: 47.66 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006942/4.804, allocations: 96.31 kB / 0.6911 GB, free: 47.66 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005616/4.81, allocations: 52.84 kB / 0.6912 GB, free: 47.66 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005832/4.816, allocations: 2.408 MB / 0.6935 GB, free: 47.64 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2385/5.055, allocations: 95.34 MB / 0.7866 GB, free: 8.965 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01539/5.07, allocations: 4.097 MB / 0.7906 GB, free: 5.164 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009772/5.08, allocations: 2.155 MB / 0.7927 GB, free: 3.215 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.448/5.528, allocations: 10.2 MB / 0.8027 GB, free: 120.3 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.032e-05/5.528, allocations: 73.28 kB / 0.8028 GB, free: 120.3 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=288): time 7.905e-06/5.528, allocations: 3.031 kB / 0.8028 GB, free: 120.3 MB / 0.4949 GB Notification: Performance of matching and sorting (n=288): time 0.03603/5.564, allocations: 6.278 MB / 0.8089 GB, free: 120.2 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.593e-05/5.564, allocations: 159 kB / 0.8091 GB, free: 120.1 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01888/5.583, allocations: 5.862 MB / 0.8148 GB, free: 119.7 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.000729/5.584, allocations: 25.7 kB / 0.8148 GB, free: 119.7 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.005848/5.59, allocations: 6.512 MB / 0.8212 GB, free: 116.4 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.002232/5.592, allocations: 1.1 MB / 0.8222 GB, free: 115.8 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001848/5.594, allocations: 3.062 kB / 0.8222 GB, free: 115.8 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.001217/5.595, allocations: 0.7601 MB / 0.823 GB, free: 115.5 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01375/5.609, allocations: 2.892 MB / 0.8258 GB, free: 115.5 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01662/5.626, allocations: 9.722 MB / 0.8353 GB, free: 106.6 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01745/5.643, allocations: 5.259 MB / 0.8404 GB, free: 106.5 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003267/5.644, allocations: 68.94 kB / 0.8405 GB, free: 106.5 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1426) (initialization): time 0.03308/5.677, allocations: 11.03 MB / 0.8513 GB, free: 106.1 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/5.677, allocations: 9.312 kB / 0.8513 GB, free: 106.1 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004625/5.677, allocations: 247.9 kB / 0.8515 GB, free: 106.1 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004151/5.678, allocations: 361.7 kB / 0.8519 GB, free: 106.1 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02/5.698, allocations: 2.658 MB / 0.8545 GB, free: 105.9 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004933/5.698, allocations: 480.7 kB / 0.8549 GB, free: 105.8 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01735/5.716, allocations: 1.362 MB / 0.8562 GB, free: 105.1 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003239/5.719, allocations: 0.6647 MB / 0.8569 GB, free: 105.1 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1124 * Number of states: 0 () * Number of discrete variables: 69 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce1a.torqueColor[3],cutForce1a.torqueColor[2],cutForce1a.torqueColor[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1402): * Single equations (assignments): 1399 * 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.00485/5.724, allocations: 0.7062 MB / 0.8576 GB, free: 104.6 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003528/5.727, allocations: 0.611 MB / 0.8582 GB, free: 104.3 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01545/5.743, allocations: 3.415 MB / 0.8615 GB, free: 104.1 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001173/5.743, allocations: 30.8 kB / 0.8615 GB, free: 104.1 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.89e-05/5.743, allocations: 0 / 0.8615 GB, free: 104.1 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.405e-05/5.743, allocations: 18.73 kB / 0.8616 GB, free: 104.1 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1315/5.875, allocations: 56.34 MB / 0.9166 GB, free: 92.8 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002209/5.875, allocations: 57.56 kB / 0.9166 GB, free: 92.8 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006559/5.882, allocations: 0.5543 MB / 0.9172 GB, free: 92.54 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000119/5.882, allocations: 79.94 kB / 0.9173 GB, free: 92.46 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008995/5.883, allocations: 90.83 kB / 0.9173 GB, free: 92.38 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.565e-05/5.883, allocations: 107.1 kB / 0.9174 GB, free: 92.29 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-05/5.883, allocations: 83.62 kB / 0.9175 GB, free: 92.2 MB / 0.4949 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01845/5.901, allocations: 15.92 MB / 0.9331 GB, free: 74.17 MB / 0.4949 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01864/5.92, allocations: 16.4 MB / 0.9491 GB, free: 55.62 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003053/5.923, allocations: 0.7219 MB / 0.9498 GB, free: 54.9 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003075/5.926, allocations: 86.02 kB / 0.9499 GB, free: 54.83 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009299/5.936, allocations: 194.6 kB / 0.9501 GB, free: 54.68 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001127/5.937, allocations: 317.6 kB / 0.9504 GB, free: 54.43 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005856/5.937, allocations: 154.4 kB / 0.9505 GB, free: 54.29 MB / 0.4949 GB Notification: Performance of sort global known variables: time 0.01369/5.951, allocations: 3.929 MB / 0.9543 GB, free: 50.89 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.02227/5.973, allocations: 2.442 MB / 0.9567 GB, free: 48.44 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 245 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (272): * Single equations (assignments): 269 * 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.001943/5.975, allocations: 242.4 kB / 0.957 GB, free: 48.2 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.02414/6, allocations: 6.882 MB / 0.9637 GB, free: 41.99 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 9.661e-05/6, allocations: 8 kB / 0.9637 GB, free: 41.98 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.006708/6.006, allocations: 1.782 MB / 0.9654 GB, free: 40.43 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01157/6.018, allocations: 0.7668 MB / 0.9662 GB, free: 39.78 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08355/6.102, allocations: 17.16 MB / 0.9829 GB, free: 23.52 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3081/6.41, allocations: 7.62 MB / 0.9904 GB, free: 103.6 MB / 0.4949 GB Notification: Performance of SimCode: time 2.795e-06/6.41, allocations: 6.875 kB / 0.9904 GB, free: 103.6 MB / 0.4949 GB