Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringMassSystem",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(Modelica): time 1.554/1.554, allocations: 194.9 MB / 202.5 MB, free: 6.934 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2014/1.755, allocations: 46.84 MB / 249.4 MB, free: 5.348 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08587/1.841, allocations: 44.5 MB / 293.9 MB, free: 10.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2863/2.128, allocations: 87.28 MB / 381.1 MB, free: 5.793 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002775/2.128, allocations: 87.72 kB / 381.2 MB, free: 5.777 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.3561/2.484, allocations: 84.52 MB / 465.7 MB, free: 5.305 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/2.484, allocations: 8 kB / 465.7 MB, free: 5.297 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01826/2.502, allocations: 1.964 MB / 467.7 MB, free: 3.324 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01981/2.522, allocations: 5.108 MB / 472.8 MB, free: 14.2 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003044/2.523, allocations: 132 kB / 472.9 MB, free: 14.07 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002136/2.525, allocations: 235.9 kB / 473.2 MB, free: 13.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01718/2.542, allocations: 5.953 MB / 479.1 MB, free: 7.883 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0254/2.567, allocations: 9.091 MB / 488.2 MB, free: 13.73 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002246/2.568, allocations: 59.41 kB / 488.3 MB, free: 13.67 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00123/2.569, allocations: 32 kB / 488.3 MB, free: 13.64 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002575/2.571, allocations: 1.053 MB / 489.4 MB, free: 12.59 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1936/2.765, allocations: 45.3 MB / 0.5221 GB, free: 94.55 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003235/2.768, allocations: 1.728 MB / 0.5238 GB, free: 93.89 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001854/2.77, allocations: 0.8637 MB / 0.5247 GB, free: 93.86 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008984/2.779, allocations: 3.707 MB / 0.5283 GB, free: 92.2 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.542e-05/2.779, allocations: 45.78 kB / 0.5283 GB, free: 92.16 MB / 394.7 MB Notification: Performance of pre-optimization done (n=122): time 5.22e-06/2.779, allocations: 3 kB / 0.5283 GB, free: 92.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=134): time 0.02267/2.802, allocations: 6.945 MB / 0.5351 GB, free: 89.44 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.022e-05/2.802, allocations: 142.7 kB / 0.5352 GB, free: 89.28 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00658/2.809, allocations: 3.027 MB / 0.5382 GB, free: 88.96 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000259/2.809, allocations: 29.2 kB / 0.5382 GB, free: 88.93 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002163/2.811, allocations: 2.928 MB / 0.5411 GB, free: 87.27 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007047/2.812, allocations: 0.5414 MB / 0.5416 GB, free: 86.97 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005563/2.813, allocations: 0 / 0.5416 GB, free: 86.97 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003725/2.813, allocations: 0.5477 MB / 0.5422 GB, free: 86.66 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003357/2.816, allocations: 1.408 MB / 0.5435 GB, free: 86.64 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005893/2.822, allocations: 5.243 MB / 0.5486 GB, free: 81.61 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0062/2.829, allocations: 2.755 MB / 0.5513 GB, free: 81.59 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001316/2.829, allocations: 43.78 kB / 0.5514 GB, free: 81.59 MB / 394.7 MB Notification: Performance of matching and sorting (n=766) (initialization): time 0.01568/2.844, allocations: 5.687 MB / 0.5569 GB, free: 80.93 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/2.845, allocations: 4.562 kB / 0.5569 GB, free: 80.93 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001889/2.845, allocations: 138.1 kB / 0.5571 GB, free: 80.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000228/2.845, allocations: 204.9 kB / 0.5573 GB, free: 80.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008769/2.854, allocations: 1.412 MB / 0.5586 GB, free: 80.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001954/2.854, allocations: 267.4 kB / 0.5589 GB, free: 80.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007121/2.861, allocations: 245.5 kB / 0.5591 GB, free: 80.73 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001276/2.862, allocations: 376.1 kB / 0.5595 GB, free: 80.72 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.001332/2.864, allocations: 447.8 kB / 0.5599 GB, free: 80.4 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006966/2.864, allocations: 306.4 kB / 0.5602 GB, free: 80.23 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002677/2.867, allocations: 1.01 MB / 0.5612 GB, free: 80.14 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.364e-05/2.867, allocations: 9.562 kB / 0.5612 GB, free: 80.14 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/2.867, allocations: 1.656 kB / 0.5612 GB, free: 80.14 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.658e-05/2.867, allocations: 8.047 kB / 0.5612 GB, free: 80.14 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01122/2.879, allocations: 4.352 MB / 0.5655 GB, free: 78.45 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.243e-05/2.879, allocations: 14.75 kB / 0.5655 GB, free: 78.45 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001876/2.881, allocations: 249.6 kB / 0.5657 GB, free: 78.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.139e-05/2.881, allocations: 24.06 kB / 0.5657 GB, free: 78.41 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001093/2.881, allocations: 22.62 kB / 0.5658 GB, free: 78.41 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.238e-05/2.881, allocations: 34.48 kB / 0.5658 GB, free: 78.41 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-05/2.881, allocations: 22.47 kB / 0.5658 GB, free: 78.4 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005126/2.886, allocations: 4.502 MB / 0.5702 GB, free: 74.71 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006585/2.893, allocations: 5.622 MB / 0.5757 GB, free: 70.38 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001475/2.894, allocations: 479.5 kB / 0.5762 GB, free: 70.06 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005904/2.895, allocations: 22.45 kB / 0.5762 GB, free: 70.06 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002255/2.897, allocations: 60.72 kB / 0.5762 GB, free: 70.06 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001831/2.897, allocations: 109 kB / 0.5763 GB, free: 70.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001219/2.897, allocations: 61.41 kB / 0.5764 GB, free: 70.01 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.004738/2.902, allocations: 2.006 MB / 0.5784 GB, free: 69.29 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.007497/2.91, allocations: 0.728 MB / 0.5791 GB, free: 69.29 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.0006153/2.91, allocations: 165.8 kB / 0.5792 GB, free: 69.16 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007833/2.918, allocations: 3.271 MB / 0.5824 GB, free: 68.11 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.196e-05/2.918, allocations: 3.312 kB / 0.5824 GB, free: 68.11 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00151/2.92, allocations: 0.6324 MB / 0.583 GB, free: 67.91 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003069/2.923, allocations: 335.7 kB / 0.5834 GB, free: 67.77 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01967/2.942, allocations: 6.779 MB / 0.59 GB, free: 63.08 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007244/2.95, allocations: 3.418 MB / 0.5933 GB, free: 60.43 MB / 394.7 MB Notification: Performance of SimCode: time 1.413e-06/2.95, allocations: 0 / 0.5933 GB, free: 60.43 MB / 394.7 MB