Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Spring,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_Spring",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 2.281/2.281, allocations: 235 MB / 241.9 MB, free: 9.777 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1722/2.453, allocations: 57.21 MB / 299.1 MB, free: 460 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/2.739, allocations: 54.83 MB / 354 MB, free: 13.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.377/3.116, allocations: 96.58 MB / 450.6 MB, free: 32.36 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000238/3.116, allocations: 73.05 kB / 450.6 MB, free: 32.36 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1500 * Number of variables: 1500 Notification: Performance of Generate backend data structure: time 0.3913/3.507, allocations: 85.74 MB / 0.5238 GB, free: 14.39 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5e-05/3.507, allocations: 8 kB / 0.5238 GB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02391/3.531, allocations: 1.96 MB / 0.5257 GB, free: 12.41 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02138/3.553, allocations: 5.191 MB / 0.5308 GB, free: 7.152 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003369/3.553, allocations: 140 kB / 0.5309 GB, free: 7.016 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002313/3.555, allocations: 244 kB / 0.5312 GB, free: 6.777 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0199/3.575, allocations: 6.217 MB / 0.5372 GB, free: 0.5508 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03116/3.607, allocations: 9.477 MB / 0.5465 GB, free: 5.961 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004883/3.607, allocations: 67.39 kB / 0.5465 GB, free: 5.895 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002827/3.61, allocations: 32 kB / 0.5466 GB, free: 5.863 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004191/3.614, allocations: 1.076 MB / 0.5476 GB, free: 4.781 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1208/3.735, allocations: 47.34 MB / 0.5939 GB, free: 3.785 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0064/3.742, allocations: 1.851 MB / 0.5957 GB, free: 1.77 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004137/3.746, allocations: 0.9902 MB / 0.5966 GB, free: 0.7656 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01861/3.764, allocations: 4.433 MB / 0.601 GB, free: 12.09 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.942e-05/3.765, allocations: 43.22 kB / 0.601 GB, free: 12.04 MB / 474.7 MB Notification: Performance of pre-optimization done (n=134): time 8.286e-06/3.765, allocations: 0 / 0.601 GB, free: 12.04 MB / 474.7 MB Notification: Performance of matching and sorting (n=146): time 0.04053/3.805, allocations: 7.576 MB / 0.6084 GB, free: 4.332 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001364/3.805, allocations: 200.9 kB / 0.6086 GB, free: 4.094 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009579/3.815, allocations: 3.086 MB / 0.6116 GB, free: 1.016 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003257/3.815, allocations: 25.7 kB / 0.6116 GB, free: 0.9844 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1799/3.995, allocations: 3.012 MB / 0.6146 GB, free: 153.1 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001172/3.996, allocations: 0.5794 MB / 0.6151 GB, free: 152.9 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009152/3.997, allocations: 0 / 0.6151 GB, free: 152.9 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0008748/3.998, allocations: 0.5568 MB / 0.6157 GB, free: 152.6 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006238/4.005, allocations: 1.492 MB / 0.6171 GB, free: 152.5 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009342/4.014, allocations: 5.396 MB / 0.6224 GB, free: 147.4 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03732/4.051, allocations: 2.879 MB / 0.6252 GB, free: 147.4 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001729/4.052, allocations: 46.88 kB / 0.6253 GB, free: 147.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.03022/4.082, allocations: 5.91 MB / 0.631 GB, free: 147 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.591e-05/4.082, allocations: 6.438 kB / 0.631 GB, free: 147 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004389/4.082, allocations: 140.4 kB / 0.6312 GB, free: 147 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004682/4.083, allocations: 206.1 kB / 0.6314 GB, free: 147 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01398/4.097, allocations: 1.453 MB / 0.6328 GB, free: 146.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003694/4.097, allocations: 280.8 kB / 0.6331 GB, free: 146.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01228/4.11, allocations: 247.1 kB / 0.6333 GB, free: 146.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001982/4.112, allocations: 378.1 kB / 0.6337 GB, free: 146.8 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 642 * Number of states: 0 () * Number of discrete variables: 36 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (770): * Single equations (assignments): 767 * 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.002469/4.114, allocations: 460.6 kB / 0.6341 GB, free: 146.6 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001143/4.115, allocations: 310.7 kB / 0.6344 GB, free: 146.4 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004892/4.12, allocations: 1.146 MB / 0.6355 GB, free: 146.3 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.463e-05/4.121, allocations: 10.91 kB / 0.6355 GB, free: 146.3 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.225e-05/4.121, allocations: 0 / 0.6355 GB, free: 146.3 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.133e-05/4.121, allocations: 10.69 kB / 0.6355 GB, free: 146.3 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0157/4.136, allocations: 4.508 MB / 0.6399 GB, free: 145.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.448e-05/4.136, allocations: 15.66 kB / 0.6399 GB, free: 145.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003295/4.14, allocations: 262.8 kB / 0.6402 GB, free: 145.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.137e-05/4.14, allocations: 24.88 kB / 0.6402 GB, free: 145.3 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002297/4.14, allocations: 29.39 kB / 0.6402 GB, free: 145.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.823e-05/4.14, allocations: 31.8 kB / 0.6403 GB, free: 145.2 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.834e-05/4.14, allocations: 27.59 kB / 0.6403 GB, free: 145.2 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007486/4.148, allocations: 4.643 MB / 0.6448 GB, free: 142.2 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009476/4.157, allocations: 5.822 MB / 0.6505 GB, free: 138.7 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002166/4.159, allocations: 495.2 kB / 0.651 GB, free: 138.5 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001042/4.161, allocations: 23.52 kB / 0.651 GB, free: 138.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003884/4.164, allocations: 59.81 kB / 0.6511 GB, free: 138.5 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003795/4.165, allocations: 116.5 kB / 0.6512 GB, free: 138.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002057/4.165, allocations: 61.78 kB / 0.6512 GB, free: 138.5 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.006112/4.171, allocations: 2.05 MB / 0.6532 GB, free: 138.3 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01321/4.184, allocations: 0.7528 MB / 0.654 GB, free: 138.3 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 69 * Number of states: 4 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (134): * Single equations (assignments): 131 * 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.0008851/4.185, allocations: 174.9 kB / 0.6541 GB, free: 138.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.009865/4.195, allocations: 3.421 MB / 0.6575 GB, free: 137.9 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.33e-05/4.195, allocations: 3.812 kB / 0.6575 GB, free: 137.9 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001515/4.197, allocations: 0.6741 MB / 0.6582 GB, free: 137.8 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003171/4.2, allocations: 349.4 kB / 0.6585 GB, free: 137.8 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0209/4.221, allocations: 6.992 MB / 0.6653 GB, free: 135.8 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008073/4.229, allocations: 3.49 MB / 0.6687 GB, free: 135 MB / 474.7 MB Notification: Performance of SimCode: time 1.563e-06/4.229, allocations: 0 / 0.6687 GB, free: 135 MB / 474.7 MB