Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Sensors_CutForceAndTorque2",fmuType="cs",version="2.0",platforms={"dynamic"}) [: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.555/2.555, allocations: 235 MB / 242 MB, free: 7.039 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2767/2.832, allocations: 57.19 MB / 299.2 MB, free: 15.69 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/2.984, allocations: 54.87 MB / 354.1 MB, free: 8.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4445/3.429, allocations: 100.1 MB / 454.1 MB, free: 3.652 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003292/3.429, allocations: 81.66 kB / 454.2 MB, free: 3.637 MB / 346.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.419/4.848, allocations: 202.2 MB / 0.641 GB, free: 77.75 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/4.848, allocations: 14.56 kB / 0.6411 GB, free: 77.75 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04357/4.892, allocations: 3.391 MB / 0.6444 GB, free: 77.02 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04507/4.937, allocations: 10.68 MB / 0.6548 GB, free: 75.84 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000883/4.938, allocations: 348.3 kB / 0.6551 GB, free: 75.84 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00655/4.944, allocations: 0.6096 MB / 0.6557 GB, free: 75.83 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05148/4.996, allocations: 15.05 MB / 0.6704 GB, free: 73.68 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07787/5.074, allocations: 21.21 MB / 0.6911 GB, free: 53.93 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009985/5.075, allocations: 95.62 kB / 0.6912 GB, free: 53.87 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00705/5.082, allocations: 48 kB / 0.6913 GB, free: 53.82 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006576/5.089, allocations: 2.418 MB / 0.6936 GB, free: 51.86 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6487/5.737, allocations: 95.33 MB / 0.7867 GB, free: 88.97 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01131/5.749, allocations: 4.087 MB / 0.7907 GB, free: 88.3 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006463/5.755, allocations: 2.158 MB / 0.7928 GB, free: 88.25 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0437/5.799, allocations: 9.986 MB / 0.8026 GB, free: 86.46 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.713e-05/5.799, allocations: 78.27 kB / 0.8026 GB, free: 86.43 MB / 490.8 MB Notification: Performance of pre-optimization done (n=288): time 9.498e-06/5.799, allocations: 2.906 kB / 0.8027 GB, free: 86.43 MB / 490.8 MB Notification: Performance of matching and sorting (n=288): time 0.03971/5.839, allocations: 6.278 MB / 0.8088 GB, free: 86.25 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.143e-05/5.839, allocations: 161.5 kB / 0.8089 GB, free: 86.09 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01957/5.859, allocations: 5.86 MB / 0.8147 GB, free: 85.55 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0008236/5.86, allocations: 25.7 kB / 0.8147 GB, free: 85.52 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.006827/5.866, allocations: 6.514 MB / 0.821 GB, free: 81.99 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002386/5.869, allocations: 1.099 MB / 0.8221 GB, free: 81.38 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001825/5.871, allocations: 0 / 0.8221 GB, free: 81.38 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.001598/5.872, allocations: 0.7633 MB / 0.8229 GB, free: 81.05 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01038/5.883, allocations: 2.893 MB / 0.8257 GB, free: 81.02 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01574/5.899, allocations: 9.718 MB / 0.8352 GB, free: 72.11 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0147/5.913, allocations: 5.252 MB / 0.8403 GB, free: 72.07 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004258/5.914, allocations: 71.97 kB / 0.8404 GB, free: 72.07 MB / 490.8 MB Notification: Performance of matching and sorting (n=1426) (initialization): time 0.04464/5.959, allocations: 11.03 MB / 0.8511 GB, free: 70.3 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.335e-05/5.959, allocations: 9.25 kB / 0.8512 GB, free: 70.29 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005984/5.959, allocations: 247.2 kB / 0.8514 GB, free: 70.29 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005174/5.96, allocations: 359.8 kB / 0.8517 GB, free: 70.29 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0219/5.982, allocations: 2.661 MB / 0.8543 GB, free: 69.97 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005066/5.982, allocations: 477.7 kB / 0.8548 GB, free: 69.87 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02637/6.009, allocations: 1.363 MB / 0.8561 GB, free: 69.15 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004263/6.013, allocations: 0.6647 MB / 0.8568 GB, free: 69.07 MB / 490.8 MB 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.005855/6.019, allocations: 0.7182 MB / 0.8575 GB, free: 68.48 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002888/6.022, allocations: 0.6081 MB / 0.8581 GB, free: 68.14 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01681/6.039, allocations: 3.414 MB / 0.8614 GB, free: 66.95 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000199/6.039, allocations: 27.25 kB / 0.8614 GB, free: 66.95 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.158e-05/6.039, allocations: 3.844 kB / 0.8614 GB, free: 66.95 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001071/6.039, allocations: 14.42 kB / 0.8614 GB, free: 66.95 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1708/6.21, allocations: 56.35 MB / 0.9165 GB, free: 24.02 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002954/6.21, allocations: 52 kB / 0.9165 GB, free: 23.97 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008185/6.219, allocations: 0.5497 MB / 0.9171 GB, free: 23.5 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001825/6.219, allocations: 80 kB / 0.9171 GB, free: 23.43 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001208/6.22, allocations: 90.78 kB / 0.9172 GB, free: 23.35 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001777/6.22, allocations: 105.7 kB / 0.9173 GB, free: 23.26 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.601e-05/6.22, allocations: 87.62 kB / 0.9174 GB, free: 23.17 MB / 490.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0202/6.241, allocations: 15.92 MB / 0.9329 GB, free: 4.996 MB / 490.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.2868/6.527, allocations: 16.39 MB / 0.949 GB, free: 112.4 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003349/6.531, allocations: 0.725 MB / 0.9497 GB, free: 112.2 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003804/6.535, allocations: 88.02 kB / 0.9498 GB, free: 112.2 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01086/6.546, allocations: 191.8 kB / 0.9499 GB, free: 112.2 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001209/6.547, allocations: 310.6 kB / 0.9502 GB, free: 112.2 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005422/6.547, allocations: 162.2 kB / 0.9504 GB, free: 112.2 MB / 490.8 MB Notification: Performance of sort global known variables: time 0.01218/6.56, allocations: 3.931 MB / 0.9542 GB, free: 112 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.01857/6.578, allocations: 2.446 MB / 0.9566 GB, free: 111.6 MB / 490.8 MB 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.001491/6.58, allocations: 239.5 kB / 0.9568 GB, free: 111.5 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.02013/6.6, allocations: 6.874 MB / 0.9636 GB, free: 111.5 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 5.773e-05/6.6, allocations: 7.5 kB / 0.9636 GB, free: 111.5 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004819/6.605, allocations: 1.781 MB / 0.9653 GB, free: 111.5 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008762/6.614, allocations: 0.7679 MB / 0.966 GB, free: 111.5 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06205/6.676, allocations: 17.16 MB / 0.9828 GB, free: 106.4 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0259/6.702, allocations: 7.586 MB / 0.9902 GB, free: 105.5 MB / 490.8 MB Notification: Performance of SimCode: time 1.673e-06/6.702, allocations: 0 / 0.9902 GB, free: 105.5 MB / 490.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2_res.mat does not exist to compare? outputFormat=mat