Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem,fileNamePrefix="Modelica_3_2_1_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.566/1.566, allocations: 171.2 MB / 178.1 MB, free: 8.285 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2378/1.804, allocations: 41.13 MB / 219.3 MB, free: 11.14 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08245/1.886, allocations: 38.76 MB / 258 MB, free: 4.312 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2939/2.18, allocations: 81.96 MB / 340 MB, free: 6.262 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003405/2.181, allocations: 85.17 kB / 340.1 MB, free: 6.219 MB / 282.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.6586/2.839, allocations: 84.51 MB / 424.6 MB, free: 75.48 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/2.839, allocations: 18.19 kB / 424.6 MB, free: 75.48 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01741/2.857, allocations: 1.955 MB / 426.5 MB, free: 75.2 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01824/2.875, allocations: 5.119 MB / 431.7 MB, free: 74.64 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000276/2.875, allocations: 130.7 kB / 431.8 MB, free: 74.64 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002145/2.878, allocations: 240.5 kB / 432 MB, free: 74.63 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01555/2.893, allocations: 5.946 MB / 438 MB, free: 74.61 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02282/2.916, allocations: 9.09 MB / 447.1 MB, free: 71.8 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00024/2.916, allocations: 62.81 kB / 447.1 MB, free: 71.8 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001622/2.918, allocations: 35.41 kB / 447.2 MB, free: 71.8 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003701/2.922, allocations: 1.05 MB / 448.2 MB, free: 71.79 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06849/2.99, allocations: 45.29 MB / 493.5 MB, free: 37.7 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003724/2.994, allocations: 1.736 MB / 495.2 MB, free: 36.66 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002249/2.996, allocations: 0.8559 MB / 496.1 MB, free: 36.34 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01045/3.007, allocations: 3.708 MB / 499.8 MB, free: 33.96 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.27e-05/3.007, allocations: 52.34 kB / 499.9 MB, free: 33.9 MB / 346.7 MB Notification: Performance of pre-optimization done (n=122): time 5.08e-06/3.007, allocations: 0 / 499.9 MB, free: 33.9 MB / 346.7 MB Notification: Performance of matching and sorting (n=134): time 0.02825/3.035, allocations: 6.955 MB / 0.4949 GB, free: 30.29 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.569e-05/3.035, allocations: 140.3 kB / 0.4951 GB, free: 30.13 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008595/3.044, allocations: 3.021 MB / 0.498 GB, free: 28.5 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003052/3.044, allocations: 25.7 kB / 0.498 GB, free: 28.47 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002653/3.047, allocations: 2.933 MB / 0.5009 GB, free: 25.82 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008555/3.048, allocations: 0.5384 MB / 0.5014 GB, free: 25.34 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000614/3.048, allocations: 0 / 0.5014 GB, free: 25.34 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0004206/3.049, allocations: 0.5552 MB / 0.502 GB, free: 24.85 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003814/3.053, allocations: 1.413 MB / 0.5034 GB, free: 23.58 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006411/3.059, allocations: 5.24 MB / 0.5085 GB, free: 16.62 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006376/3.066, allocations: 2.756 MB / 0.5112 GB, free: 14.27 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001174/3.066, allocations: 40 kB / 0.5112 GB, free: 14.23 MB / 346.7 MB Notification: Performance of matching and sorting (n=766) (initialization): time 0.01589/3.082, allocations: 5.691 MB / 0.5168 GB, free: 9.195 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/3.082, allocations: 12.06 kB / 0.5168 GB, free: 9.184 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002102/3.082, allocations: 136 kB / 0.5169 GB, free: 9.051 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002375/3.082, allocations: 204 kB / 0.5171 GB, free: 8.852 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009404/3.092, allocations: 1.407 MB / 0.5185 GB, free: 7.609 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002336/3.092, allocations: 269.7 kB / 0.5187 GB, free: 7.375 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007607/3.1, allocations: 245.5 kB / 0.519 GB, free: 7.164 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00138/3.101, allocations: 368 kB / 0.5193 GB, free: 6.805 MB / 346.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.001253/3.102, allocations: 448 kB / 0.5197 GB, free: 6.363 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008484/3.103, allocations: 304.1 kB / 0.52 GB, free: 6.062 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002868/3.106, allocations: 1.007 MB / 0.521 GB, free: 5.195 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.814e-05/3.106, allocations: 12 kB / 0.521 GB, free: 5.184 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.271e-05/3.106, allocations: 0 / 0.521 GB, free: 5.184 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.938e-05/3.106, allocations: 11.59 kB / 0.521 GB, free: 5.18 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01158/3.118, allocations: 4.336 MB / 0.5253 GB, free: 1.324 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-05/3.118, allocations: 19.25 kB / 0.5253 GB, free: 1.309 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001859/3.12, allocations: 245.8 kB / 0.5255 GB, free: 1.098 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.242e-05/3.12, allocations: 27.84 kB / 0.5255 GB, free: 1.074 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001089/3.12, allocations: 24 kB / 0.5256 GB, free: 1.051 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-05/3.12, allocations: 32.27 kB / 0.5256 GB, free: 1.023 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.622e-05/3.12, allocations: 23.94 kB / 0.5256 GB, free: 1 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006461/3.126, allocations: 4.495 MB / 0.53 GB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00864/3.135, allocations: 5.619 MB / 0.5355 GB, free: 6.199 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001733/3.137, allocations: 480.8 kB / 0.536 GB, free: 5.734 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008519/3.138, allocations: 27.98 kB / 0.536 GB, free: 5.711 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002418/3.14, allocations: 53.12 kB / 0.536 GB, free: 5.672 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000234/3.141, allocations: 112.7 kB / 0.5361 GB, free: 5.586 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001511/3.141, allocations: 61.55 kB / 0.5362 GB, free: 5.527 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.005387/3.146, allocations: 2.002 MB / 0.5382 GB, free: 3.793 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00791/3.154, allocations: 0.7279 MB / 0.5389 GB, free: 3.066 MB / 362.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.000745/3.155, allocations: 175.9 kB / 0.539 GB, free: 2.895 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.1557/3.311, allocations: 3.287 MB / 0.5422 GB, free: 118 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.935e-05/3.311, allocations: 3.562 kB / 0.5422 GB, free: 118 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001471/3.312, allocations: 0.6432 MB / 0.5429 GB, free: 118 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003162/3.315, allocations: 326.3 kB / 0.5432 GB, free: 118 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02323/3.339, allocations: 6.778 MB / 0.5498 GB, free: 116.1 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01229/3.351, allocations: 3.414 MB / 0.5531 GB, free: 115.3 MB / 362.7 MB Notification: Performance of SimCode: time 2.815e-06/3.351, allocations: 0 / 0.5531 GB, free: 115.3 MB / 362.7 MB