Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.PlanarLoopWithMove,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_PlanarLoopWithMove",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 1.975/1.975, allocations: 209.3 MB / 216.3 MB, free: 6.793 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2623/2.238, allocations: 51.03 MB / 267.3 MB, free: 5.145 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/2.352, allocations: 48.69 MB / 316 MB, free: 4.363 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3442/2.696, allocations: 92.31 MB / 408.3 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003284/2.697, allocations: 70.03 kB / 408.4 MB, free: 0.6133 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1590 * Number of variables: 1590 Notification: Performance of Generate backend data structure: time 0.6381/3.335, allocations: 93.94 MB / 0.4905 GB, free: 83.46 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/3.335, allocations: 13.11 kB / 0.4905 GB, free: 83.46 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02302/3.358, allocations: 1.846 MB / 0.4923 GB, free: 83.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02739/3.385, allocations: 5.087 MB / 0.4973 GB, free: 82.53 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004143/3.386, allocations: 139.5 kB / 0.4974 GB, free: 82.53 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002798/3.389, allocations: 252.6 kB / 0.4977 GB, free: 82.53 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02222/3.411, allocations: 6.963 MB / 0.5045 GB, free: 82.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02593/3.437, allocations: 10.28 MB / 0.5145 GB, free: 79.81 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002593/3.437, allocations: 55.31 kB / 0.5146 GB, free: 79.81 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001893/3.439, allocations: 30.94 kB / 0.5146 GB, free: 79.81 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002192/3.441, allocations: 1.229 MB / 0.5158 GB, free: 79.8 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09423/3.536, allocations: 50 MB / 0.5646 GB, free: 44.88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009091/3.545, allocations: 4.412 MB / 0.5689 GB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006805/3.552, allocations: 3.224 MB / 0.5721 GB, free: 41.42 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02748/3.579, allocations: 9.148 MB / 0.581 GB, free: 36.46 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006368/3.586, allocations: 3.116 MB / 0.5841 GB, free: 33.84 MB / 410.7 MB Notification: Performance of pre-optimization done (n=209): time 7.154e-06/3.586, allocations: 0 / 0.5841 GB, free: 33.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=273): time 0.112/3.698, allocations: 23.2 MB / 0.6067 GB, free: 14.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.021e-05/3.698, allocations: 158.5 kB / 0.6069 GB, free: 14.31 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008082/3.706, allocations: 3.199 MB / 0.61 GB, free: 11.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008627/3.707, allocations: 29.7 kB / 0.61 GB, free: 11.47 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003573/3.71, allocations: 3.033 MB / 0.613 GB, free: 8.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001932/3.712, allocations: 0.9737 MB / 0.6139 GB, free: 7.852 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001134/3.714, allocations: 4 kB / 0.6139 GB, free: 7.848 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0006319/3.714, allocations: 0.5901 MB / 0.6145 GB, free: 7.332 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008158/3.722, allocations: 3.048 MB / 0.6175 GB, free: 4.598 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01181/3.734, allocations: 6.733 MB / 0.6241 GB, free: 12.44 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01336/3.748, allocations: 4.511 MB / 0.6285 GB, free: 8.566 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001305/3.748, allocations: 39.75 kB / 0.6285 GB, free: 8.531 MB / 426.7 MB Notification: Performance of matching and sorting (n=877) (initialization): time 0.2025/3.95, allocations: 11.23 MB / 0.6395 GB, free: 128.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.677e-05/3.95, allocations: 3.375 kB / 0.6395 GB, free: 128.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002559/3.951, allocations: 130.9 kB / 0.6396 GB, free: 128.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01667/3.967, allocations: 2.593 MB / 0.6421 GB, free: 128.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01658/3.984, allocations: 1.457 MB / 0.6436 GB, free: 128.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04676/4.031, allocations: 19.52 MB / 0.6626 GB, free: 123.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009003/4.04, allocations: 234.5 kB / 0.6628 GB, free: 123.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002179/4.042, allocations: 402.6 kB / 0.6632 GB, free: 123.6 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 598 * Number of states: 0 () * Number of discrete variables: 42 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,rod3.color[3],rod3.color[2],rod3.color[1],r4.cylinderColor[3],r4.cylinderColor[2],r4.cylinderColor[1],r3.cylinderColor[3],r3.cylinderColor[2],r3.cylinderColor[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.frameTranslation.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],rod1.color[3],rod1.color[2],rod1.color[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[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 (776): * Single equations (assignments): 768 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 16,(3,88.9%) 13,(3,88.9%) 13} * Non-linear torn systems: 1 {2 27} Notification: Performance of prepare postOptimizeDAE: time 0.00198/4.044, allocations: 447.5 kB / 0.6637 GB, free: 123.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009912/4.045, allocations: 361.9 kB / 0.664 GB, free: 123.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0258/4.071, allocations: 7.166 MB / 0.671 GB, free: 123.4 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001355/4.071, allocations: 25.41 kB / 0.671 GB, free: 123.4 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.856e-05/4.071, allocations: 12.56 kB / 0.671 GB, free: 123.4 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.251e-05/4.071, allocations: 13.58 kB / 0.6711 GB, free: 123.4 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05778/4.129, allocations: 12.75 MB / 0.6835 GB, free: 120.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.102e-05/4.129, allocations: 3.656 kB / 0.6835 GB, free: 120.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004201/4.133, allocations: 344.7 kB / 0.6838 GB, free: 120.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01264/4.146, allocations: 2.359 MB / 0.6861 GB, free: 119.6 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001168/4.147, allocations: 3.781 kB / 0.6861 GB, free: 119.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05687/4.204, allocations: 19.32 MB / 0.705 GB, free: 109.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.207e-05/4.204, allocations: 10.33 kB / 0.705 GB, free: 109.5 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02978/4.234, allocations: 7.584 MB / 0.7124 GB, free: 106.7 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0292/4.263, allocations: 8.015 MB / 0.7203 GB, free: 100.9 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00556/4.269, allocations: 0.9035 MB / 0.7211 GB, free: 100.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002661/4.272, allocations: 4 kB / 0.7211 GB, free: 100.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006875/4.279, allocations: 99.83 kB / 0.7212 GB, free: 100 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001614/4.28, allocations: 131.5 kB / 0.7214 GB, free: 99.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007244/4.281, allocations: 71.84 kB / 0.7214 GB, free: 99.86 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.008237/4.289, allocations: 2.148 MB / 0.7235 GB, free: 98 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01538/4.305, allocations: 1.141 MB / 0.7246 GB, free: 96.88 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,combiTimeTable.nextTimeEvent) * Number of discrete states: 1 (combiTimeTable.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (179): * Single equations (assignments): 171 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 16,(3,88.9%) 13,(3,88.9%) 13} * Non-linear torn systems: 1 {2 31} Notification: Performance of Backend phase and start with SimCode phase: time 0.002336/4.307, allocations: 321.8 kB / 0.725 GB, free: 96.73 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.03053/4.338, allocations: 7.928 MB / 0.7327 GB, free: 89.85 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.355e-05/4.338, allocations: 3.844 kB / 0.7327 GB, free: 89.85 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01305/4.351, allocations: 3.503 MB / 0.7361 GB, free: 86.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005315/4.356, allocations: 323.6 kB / 0.7364 GB, free: 86.42 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04052/4.397, allocations: 9.736 MB / 0.7459 GB, free: 77.68 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01671/4.414, allocations: 3.88 MB / 0.7497 GB, free: 74.71 MB / 426.7 MB Notification: Performance of SimCode: time 2.054e-06/4.414, allocations: 0 / 0.7497 GB, free: 74.71 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.PlanarLoopWithMove_res.mat does not exist to compare? outputFormat=mat