Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Sensors_CutForceAndTorque1",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.479/2.479, allocations: 235 MB / 241.9 MB, free: 9.789 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1865/2.665, allocations: 57.2 MB / 299.1 MB, free: 484 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/2.96, allocations: 54.85 MB / 354 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4273/3.387, allocations: 100.1 MB / 454.1 MB, free: 33.34 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003243/3.387, allocations: 72.75 kB / 454.1 MB, free: 33.34 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.08/4.467, allocations: 203.4 MB / 0.6421 GB, free: 53.29 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/4.467, allocations: 12.94 kB / 0.6421 GB, free: 53.29 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0333/4.501, allocations: 3.389 MB / 0.6455 GB, free: 52.61 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03791/4.538, allocations: 10.69 MB / 0.6559 GB, free: 51.52 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007802/4.539, allocations: 344 kB / 0.6562 GB, free: 51.52 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006297/4.546, allocations: 0.6057 MB / 0.6568 GB, free: 51.51 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04837/4.594, allocations: 15.06 MB / 0.6715 GB, free: 51.45 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07178/4.666, allocations: 21.22 MB / 0.6922 GB, free: 47.06 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007146/4.667, allocations: 93.39 kB / 0.6923 GB, free: 47.05 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005938/4.673, allocations: 51.06 kB / 0.6924 GB, free: 47.05 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006012/4.679, allocations: 2.411 MB / 0.6947 GB, free: 47.03 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2069/4.886, allocations: 95.32 MB / 0.7878 GB, free: 8.293 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02732/4.913, allocations: 4.098 MB / 0.7918 GB, free: 4.488 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01209/4.925, allocations: 2.141 MB / 0.7939 GB, free: 2.543 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4568/5.382, allocations: 9.994 MB / 0.8037 GB, free: 119 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.209e-05/5.382, allocations: 68.56 kB / 0.8037 GB, free: 119 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=288): time 7.905e-06/5.382, allocations: 1.5 kB / 0.8037 GB, free: 119 MB / 0.4949 GB Notification: Performance of matching and sorting (n=288): time 0.03473/5.417, allocations: 6.286 MB / 0.8099 GB, free: 118.9 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.871e-05/5.417, allocations: 158.4 kB / 0.81 GB, free: 118.8 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0173/5.434, allocations: 5.867 MB / 0.8158 GB, free: 118.4 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0007464/5.435, allocations: 33.14 kB / 0.8158 GB, free: 118.4 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.005618/5.441, allocations: 6.507 MB / 0.8221 GB, free: 115.2 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.002219/5.443, allocations: 1.1 MB / 0.8232 GB, free: 114.5 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001772/5.445, allocations: 0 / 0.8232 GB, free: 114.5 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.001453/5.446, allocations: 0.7623 MB / 0.824 GB, free: 114.2 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008898/5.455, allocations: 2.89 MB / 0.8268 GB, free: 114.2 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01377/5.469, allocations: 9.728 MB / 0.8363 GB, free: 105.3 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01333/5.483, allocations: 5.254 MB / 0.8414 GB, free: 105.3 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003204/5.483, allocations: 71.06 kB / 0.8415 GB, free: 105.3 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1426) (initialization): time 0.04019/5.523, allocations: 11.03 MB / 0.8522 GB, free: 104.8 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 2.737e-05/5.523, allocations: 6.656 kB / 0.8523 GB, free: 104.8 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005567/5.524, allocations: 244.8 kB / 0.8525 GB, free: 104.8 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004693/5.524, allocations: 366.8 kB / 0.8528 GB, free: 104.8 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01984/5.544, allocations: 2.655 MB / 0.8554 GB, free: 104.6 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004951/5.545, allocations: 482.4 kB / 0.8559 GB, free: 104.5 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01688/5.562, allocations: 1.36 MB / 0.8572 GB, free: 103.8 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003554/5.565, allocations: 0.6646 MB / 0.8579 GB, free: 103.8 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 (body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[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.004382/5.57, allocations: 0.7076 MB / 0.8586 GB, free: 103.3 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001752/5.571, allocations: 0.606 MB / 0.8592 GB, free: 103 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01217/5.584, allocations: 3.421 MB / 0.8625 GB, free: 102.8 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001086/5.584, allocations: 25.34 kB / 0.8625 GB, free: 102.8 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.749e-05/5.584, allocations: 3.906 kB / 0.8625 GB, free: 102.8 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.389e-05/5.584, allocations: 18.8 kB / 0.8625 GB, free: 102.8 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1321/5.716, allocations: 58.77 MB / 0.9199 GB, free: 90.21 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001975/5.716, allocations: 58.94 kB / 0.92 GB, free: 90.15 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005455/5.722, allocations: 0.5579 MB / 0.9205 GB, free: 89.68 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001139/5.722, allocations: 76 kB / 0.9206 GB, free: 89.61 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008697/5.723, allocations: 98.55 kB / 0.9207 GB, free: 89.52 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.431e-05/5.723, allocations: 104.2 kB / 0.9208 GB, free: 89.43 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.442e-05/5.723, allocations: 83.62 kB / 0.9209 GB, free: 89.35 MB / 0.4949 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01512/5.738, allocations: 15.92 MB / 0.9364 GB, free: 71.31 MB / 0.4949 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01608/5.754, allocations: 16.4 MB / 0.9524 GB, free: 52.71 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002516/5.757, allocations: 0.7254 MB / 0.9532 GB, free: 51.98 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002845/5.76, allocations: 82.73 kB / 0.9532 GB, free: 51.91 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007555/5.767, allocations: 199.7 kB / 0.9534 GB, free: 51.77 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001226/5.769, allocations: 316.6 kB / 0.9537 GB, free: 51.51 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009648/5.77, allocations: 154.3 kB / 0.9539 GB, free: 51.37 MB / 0.4949 GB Notification: Performance of sort global known variables: time 0.01239/5.782, allocations: 3.927 MB / 0.9577 GB, free: 47.98 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.02064/5.803, allocations: 2.451 MB / 0.9601 GB, free: 45.52 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.001985/5.805, allocations: 239.8 kB / 0.9603 GB, free: 45.28 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.02027/5.825, allocations: 6.874 MB / 0.967 GB, free: 39.07 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 6.164e-05/5.825, allocations: 8 kB / 0.967 GB, free: 39.07 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.004726/5.83, allocations: 1.782 MB / 0.9688 GB, free: 37.52 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007631/5.838, allocations: 0.7672 MB / 0.9695 GB, free: 36.86 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3077/6.145, allocations: 17.26 MB / 0.9864 GB, free: 103.2 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0296/6.175, allocations: 7.585 MB / 0.9938 GB, free: 102.2 MB / 0.4949 GB Notification: Performance of SimCode: time 2.144e-06/6.175, allocations: 0 / 0.9938 GB, free: 102.2 MB / 0.4949 GB