Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.PlanarLoopWithMove,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_PlanarLoopWithMove",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.629/2.629, allocations: 235 MB / 242 MB, free: 13.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.1989/2.828, allocations: 57.19 MB / 299.2 MB, free: 3.762 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/3.134, allocations: 54.85 MB / 354.1 MB, free: 1.172 MB / 286.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4686/3.603, allocations: 98.41 MB / 452.5 MB, free: 33.69 MB / 382.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003142/3.603, allocations: 73.12 kB / 452.5 MB, free: 33.69 MB / 382.1 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$combiTimeTable.getDerTableValue. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$combiTimeTable.getTableValue. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$combiTimeTable.getTableTimeTmin. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$combiTimeTable.getTableTimeTmax. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1594 * Number of variables: 1594 Notification: Performance of Generate backend data structure: time 0.5501/4.153, allocations: 94.22 MB / 0.534 GB, free: 10.67 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.031e-05/4.153, allocations: 8 kB / 0.534 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02657/4.18, allocations: 1.842 MB / 0.5358 GB, free: 8.809 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02757/4.208, allocations: 5.117 MB / 0.5408 GB, free: 3.629 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003864/4.208, allocations: 136 kB / 0.5409 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002877/4.211, allocations: 255.9 kB / 0.5411 GB, free: 3.246 MB / 398.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02806/4.239, allocations: 6.971 MB / 0.5479 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03902/4.278, allocations: 10.3 MB / 0.558 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005372/4.279, allocations: 55.47 kB / 0.558 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003199/4.282, allocations: 32 kB / 0.5581 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005016/4.287, allocations: 1.217 MB / 0.5593 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1255/4.413, allocations: 50.06 MB / 0.6082 GB, free: 12.06 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01295/4.426, allocations: 4.4 MB / 0.6125 GB, free: 7.516 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009338/4.435, allocations: 3.241 MB / 0.6156 GB, free: 4.262 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2563/4.692, allocations: 9.254 MB / 0.6247 GB, free: 151.2 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01084/4.702, allocations: 3.126 MB / 0.6277 GB, free: 151.1 MB / 478.1 MB Notification: Performance of pre-optimization done (n=211): time 1.681e-05/4.703, allocations: 0 / 0.6277 GB, free: 151.1 MB / 478.1 MB Notification: Performance of matching and sorting (n=278): time 0.1643/4.867, allocations: 23.83 MB / 0.651 GB, free: 149 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001269/4.867, allocations: 160.1 kB / 0.6511 GB, free: 148.8 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01391/4.881, allocations: 3.204 MB / 0.6543 GB, free: 148.5 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009763/4.882, allocations: 32.02 kB / 0.6543 GB, free: 148.5 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003794/4.886, allocations: 3.037 MB / 0.6573 GB, free: 146.9 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002059/4.888, allocations: 0.9944 MB / 0.6582 GB, free: 146.3 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001191/4.889, allocations: 0 / 0.6582 GB, free: 146.3 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0006876/4.89, allocations: 0.5934 MB / 0.6588 GB, free: 146 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009313/4.899, allocations: 3.127 MB / 0.6619 GB, free: 146 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01222/4.912, allocations: 6.827 MB / 0.6685 GB, free: 141.2 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01298/4.925, allocations: 4.593 MB / 0.673 GB, free: 139.8 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001495/4.925, allocations: 40.94 kB / 0.673 GB, free: 139.8 MB / 478.1 MB Notification: Performance of matching and sorting (n=885) (initialization): time 0.04514/4.97, allocations: 11.4 MB / 0.6842 GB, free: 136.8 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/4.97, allocations: 3.75 kB / 0.6842 GB, free: 136.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000244/4.97, allocations: 135 kB / 0.6843 GB, free: 136.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0167/4.987, allocations: 2.582 MB / 0.6868 GB, free: 136.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01295/5, allocations: 1.469 MB / 0.6883 GB, free: 136 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06722/5.067, allocations: 19.61 MB / 0.7074 GB, free: 124.2 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01647/5.084, allocations: 231.2 kB / 0.7076 GB, free: 124 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003084/5.087, allocations: 406.5 kB / 0.708 GB, free: 123.6 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 599 * Number of states: 0 () * Number of discrete variables: 44 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled,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 (782): * Single equations (assignments): 774 * 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,(2,100.0%) 14,(2,100.0%) 14} * Non-linear torn systems: 1 {2 27} Notification: Performance of prepare postOptimizeDAE: time 0.004877/5.092, allocations: 448.2 kB / 0.7084 GB, free: 123.2 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002231/5.094, allocations: 367.2 kB / 0.7088 GB, free: 122.8 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04776/5.142, allocations: 7.319 MB / 0.7159 GB, free: 116.9 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001705/5.142, allocations: 26.73 kB / 0.716 GB, free: 116.9 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.634e-05/5.142, allocations: 11.16 kB / 0.716 GB, free: 116.9 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.214e-05/5.142, allocations: 18.77 kB / 0.716 GB, free: 116.9 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07784/5.22, allocations: 13.11 MB / 0.7288 GB, free: 106.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-05/5.22, allocations: 0 / 0.7288 GB, free: 106.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007342/5.228, allocations: 350.1 kB / 0.7291 GB, free: 106.1 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02217/5.25, allocations: 2.356 MB / 0.7314 GB, free: 104.3 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001364/5.251, allocations: 10.77 kB / 0.7314 GB, free: 104.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07329/5.325, allocations: 19.28 MB / 0.7503 GB, free: 86.77 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.127e-05/5.325, allocations: 0 / 0.7503 GB, free: 86.77 MB / 478.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04434/5.369, allocations: 7.767 MB / 0.7579 GB, free: 80.08 MB / 478.1 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0443/5.413, allocations: 8.192 MB / 0.7659 GB, free: 72.96 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00579/5.419, allocations: 0.9163 MB / 0.7668 GB, free: 72.1 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002717/5.422, allocations: 5.312 kB / 0.7668 GB, free: 72.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006027/5.428, allocations: 104.6 kB / 0.7669 GB, free: 72.04 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00139/5.43, allocations: 133.1 kB / 0.767 GB, free: 71.95 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001297/5.431, allocations: 70.39 kB / 0.7671 GB, free: 71.89 MB / 478.1 MB Notification: Performance of sort global known variables: time 0.007218/5.438, allocations: 2.154 MB / 0.7692 GB, free: 70.02 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0117/5.45, allocations: 1.158 MB / 0.7703 GB, free: 68.88 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (184): * Single equations (assignments): 175 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002224/5.452, allocations: 371.3 kB / 0.7706 GB, free: 68.68 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.02444/5.477, allocations: 8.077 MB / 0.7785 GB, free: 61.31 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.007e-05/5.477, allocations: 0 / 0.7785 GB, free: 61.31 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01626/5.493, allocations: 3.603 MB / 0.782 GB, free: 57.89 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005746/5.499, allocations: 332.7 kB / 0.7824 GB, free: 57.58 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04965/5.549, allocations: 9.887 MB / 0.792 GB, free: 47.59 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01316/5.562, allocations: 3.901 MB / 0.7958 GB, free: 43.68 MB / 478.1 MB Notification: Performance of SimCode: time 1.903e-06/5.562, allocations: 4 kB / 0.7958 GB, free: 43.68 MB / 478.1 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.PlanarLoopWithMove_res.mat does not exist to compare? outputFormat=mat