Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringMassSystem",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(Modelica): time 2.699/2.699, allocations: 194.9 MB / 202.6 MB, free: 6.891 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3288/3.028, allocations: 46.82 MB / 249.4 MB, free: 5.367 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/3.176, allocations: 44.51 MB / 293.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5236/3.7, allocations: 87.29 MB / 381.2 MB, free: 5.727 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004262/3.7, allocations: 86 kB / 381.3 MB, free: 5.711 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1450 * Number of variables: 1450 Notification: Performance of Generate backend data structure: time 0.6768/4.377, allocations: 84.51 MB / 465.8 MB, free: 5.285 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.415e-05/4.377, allocations: 12 kB / 465.8 MB, free: 5.273 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03492/4.412, allocations: 1.964 MB / 467.8 MB, free: 3.301 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03989/4.452, allocations: 5.104 MB / 472.9 MB, free: 14.18 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000671/4.453, allocations: 132 kB / 473 MB, free: 14.05 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004139/4.457, allocations: 239.9 kB / 473.2 MB, free: 13.82 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03239/4.49, allocations: 5.951 MB / 479.2 MB, free: 7.855 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04715/4.537, allocations: 9.086 MB / 488.3 MB, free: 13.71 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005827/4.537, allocations: 63.41 kB / 488.3 MB, free: 13.65 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003253/4.541, allocations: 32 kB / 488.4 MB, free: 13.62 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004956/4.546, allocations: 1.063 MB / 489.4 MB, free: 12.55 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3163/4.862, allocations: 45.29 MB / 0.5222 GB, free: 94.5 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006397/4.869, allocations: 1.737 MB / 0.5239 GB, free: 93.85 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003732/4.872, allocations: 0.8573 MB / 0.5247 GB, free: 93.81 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01886/4.891, allocations: 3.71 MB / 0.5283 GB, free: 92.16 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.674e-05/4.892, allocations: 49.75 kB / 0.5284 GB, free: 92.12 MB / 394.7 MB Notification: Performance of pre-optimization done (n=122): time 9.518e-06/4.892, allocations: 0 / 0.5284 GB, free: 92.12 MB / 394.7 MB Notification: Performance of matching and sorting (n=134): time 0.04235/4.934, allocations: 6.95 MB / 0.5352 GB, free: 89.4 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/4.934, allocations: 143.1 kB / 0.5353 GB, free: 89.24 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01425/4.948, allocations: 3.026 MB / 0.5383 GB, free: 88.92 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004098/4.949, allocations: 25.7 kB / 0.5383 GB, free: 88.89 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00447/4.953, allocations: 2.934 MB / 0.5412 GB, free: 87.22 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001354/4.955, allocations: 0.5368 MB / 0.5417 GB, free: 86.93 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001245/4.956, allocations: 0 / 0.5417 GB, free: 86.93 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.001455/4.958, allocations: 0.5495 MB / 0.5422 GB, free: 86.61 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007507/4.965, allocations: 1.412 MB / 0.5436 GB, free: 86.6 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0121/4.978, allocations: 5.246 MB / 0.5487 GB, free: 81.57 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01162/4.989, allocations: 2.752 MB / 0.5514 GB, free: 81.54 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002327/4.99, allocations: 44.59 kB / 0.5514 GB, free: 81.54 MB / 394.7 MB Notification: Performance of matching and sorting (n=766) (initialization): time 0.02594/5.016, allocations: 5.68 MB / 0.557 GB, free: 80.9 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.549e-05/5.016, allocations: 7.188 kB / 0.557 GB, free: 80.9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004801/5.016, allocations: 136.9 kB / 0.5571 GB, free: 80.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005116/5.017, allocations: 206.1 kB / 0.5573 GB, free: 80.9 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01517/5.032, allocations: 1.404 MB / 0.5587 GB, free: 80.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005207/5.032, allocations: 275 kB / 0.559 GB, free: 80.71 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01538/5.048, allocations: 243.6 kB / 0.5592 GB, free: 80.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002364/5.05, allocations: 374.2 kB / 0.5596 GB, free: 80.7 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 633 * Number of states: 0 () * Number of discrete variables: 33 (spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],p2.boxColor[3],p2.boxColor[2],p2.boxColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],bar2.color[3],bar2.color[2],bar2.color[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],p1.boxColor[3],p1.boxColor[2],p1.boxColor[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 (742): * Single equations (assignments): 739 * 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.002519/5.053, allocations: 453.1 kB / 0.56 GB, free: 80.37 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009701/5.054, allocations: 301.9 kB / 0.5603 GB, free: 80.2 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004235/5.058, allocations: 1.009 MB / 0.5613 GB, free: 80.12 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001213/5.058, allocations: 11.09 kB / 0.5613 GB, free: 80.12 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.778e-05/5.058, allocations: 3.906 kB / 0.5613 GB, free: 80.12 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.141e-05/5.058, allocations: 10.27 kB / 0.5613 GB, free: 80.12 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02013/5.079, allocations: 4.342 MB / 0.5655 GB, free: 78.33 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.681e-05/5.079, allocations: 14.84 kB / 0.5655 GB, free: 78.33 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003213/5.082, allocations: 246.9 kB / 0.5658 GB, free: 78.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.952e-05/5.082, allocations: 21.84 kB / 0.5658 GB, free: 78.3 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004014/5.083, allocations: 24.81 kB / 0.5658 GB, free: 78.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.137e-05/5.083, allocations: 37.97 kB / 0.5659 GB, free: 78.29 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-05/5.083, allocations: 23.03 kB / 0.5659 GB, free: 78.29 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01036/5.093, allocations: 4.496 MB / 0.5703 GB, free: 74.6 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0132/5.106, allocations: 5.621 MB / 0.5758 GB, free: 70.27 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002785/5.109, allocations: 477.9 kB / 0.5762 GB, free: 69.95 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001806/5.111, allocations: 26.52 kB / 0.5762 GB, free: 69.95 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004944/5.116, allocations: 55.06 kB / 0.5763 GB, free: 69.95 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006378/5.117, allocations: 120.9 kB / 0.5764 GB, free: 69.9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003896/5.117, allocations: 63.62 kB / 0.5765 GB, free: 69.89 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.009485/5.127, allocations: 2.004 MB / 0.5784 GB, free: 69.18 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.01548/5.142, allocations: 0.7234 MB / 0.5791 GB, free: 69.18 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 68 * Number of states: 4 (p1.s,p1.v,p2.s,p2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (127): * Single equations (assignments): 124 * 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.001166/5.144, allocations: 176.9 kB / 0.5793 GB, free: 69.05 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01379/5.157, allocations: 3.267 MB / 0.5825 GB, free: 68 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-05/5.158, allocations: 2.562 kB / 0.5825 GB, free: 68 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002844/5.16, allocations: 0.6429 MB / 0.5831 GB, free: 67.79 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005935/5.166, allocations: 327.8 kB / 0.5834 GB, free: 67.65 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03853/5.205, allocations: 6.775 MB / 0.59 GB, free: 63 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01532/5.22, allocations: 3.409 MB / 0.5934 GB, free: 60.35 MB / 394.7 MB Notification: Performance of SimCode: time 2.936e-06/5.22, allocations: 0 / 0.5934 GB, free: 60.35 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem_res.mat does not exist to compare? outputFormat=mat