Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringDamperSystem",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.72/1.72, allocations: 171.2 MB / 178.1 MB, free: 8.293 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2278/1.948, allocations: 41.11 MB / 219.3 MB, free: 11.18 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/2.055, allocations: 38.77 MB / 258 MB, free: 4.359 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2969/2.352, allocations: 84.22 MB / 342.2 MB, free: 4.027 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003174/2.352, allocations: 83.45 kB / 342.3 MB, free: 3.984 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: 1644 * Number of variables: 1644 Notification: Performance of Generate backend data structure: time 0.6232/2.976, allocations: 92.96 MB / 435.3 MB, free: 72.25 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/2.976, allocations: 18.03 kB / 435.3 MB, free: 72.25 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01938/2.995, allocations: 2.184 MB / 437.5 MB, free: 71.94 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02375/3.019, allocations: 5.586 MB / 443.1 MB, free: 71.32 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005202/3.019, allocations: 148.9 kB / 443.2 MB, free: 71.32 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002764/3.022, allocations: 272 kB / 443.5 MB, free: 71.32 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01796/3.04, allocations: 6.972 MB / 450.5 MB, free: 71.29 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02929/3.07, allocations: 10.4 MB / 460.9 MB, free: 67.77 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005975/3.07, allocations: 66.84 kB / 460.9 MB, free: 67.77 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003854/3.074, allocations: 35.09 kB / 461 MB, free: 67.77 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005478/3.08, allocations: 1.246 MB / 462.2 MB, free: 67.57 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08486/3.165, allocations: 52.84 MB / 0.503 GB, free: 25.51 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005303/3.17, allocations: 2.558 MB / 0.5055 GB, free: 23.02 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003805/3.174, allocations: 1.678 MB / 0.5071 GB, free: 21.48 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01635/3.19, allocations: 5.882 MB / 0.5128 GB, free: 16.26 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.454e-05/3.19, allocations: 59.5 kB / 0.5129 GB, free: 16.19 MB / 346.7 MB Notification: Performance of pre-optimization done (n=160): time 6.051e-06/3.19, allocations: 0 / 0.5129 GB, free: 16.19 MB / 346.7 MB Notification: Performance of matching and sorting (n=177): time 0.05528/3.246, allocations: 12.11 MB / 0.5247 GB, free: 5.629 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.933e-05/3.246, allocations: 145.5 kB / 0.5249 GB, free: 5.457 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009345/3.255, allocations: 3.238 MB / 0.528 GB, free: 2.234 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005038/3.256, allocations: 29.55 kB / 0.5281 GB, free: 2.203 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1365/3.392, allocations: 3.227 MB / 0.5312 GB, free: 106.4 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001226/3.394, allocations: 0.694 MB / 0.5319 GB, free: 106.2 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008027/3.394, allocations: 0 / 0.5319 GB, free: 106.2 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0004798/3.395, allocations: 0.5893 MB / 0.5325 GB, free: 105.9 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005532/3.4, allocations: 2.044 MB / 0.5345 GB, free: 105.9 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008836/3.409, allocations: 6.215 MB / 0.5405 GB, free: 100.5 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008819/3.418, allocations: 3.529 MB / 0.544 GB, free: 100.4 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000185/3.418, allocations: 44.66 kB / 0.544 GB, free: 100.4 MB / 346.7 MB Notification: Performance of matching and sorting (n=879) (initialization): time 0.02575/3.444, allocations: 7.862 MB / 0.5517 GB, free: 99.8 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/3.444, allocations: 3.844 kB / 0.5517 GB, free: 99.8 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008848/3.453, allocations: 2.507 MB / 0.5541 GB, free: 99.74 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005499/3.459, allocations: 0.9531 MB / 0.5551 GB, free: 99.71 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01153/3.47, allocations: 1.603 MB / 0.5566 GB, free: 99.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005345/3.476, allocations: 3.862 MB / 0.5604 GB, free: 97.04 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009411/3.485, allocations: 324.4 kB / 0.5607 GB, free: 97.03 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001786/3.487, allocations: 418.3 kB / 0.5611 GB, free: 97.03 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 685 * Number of states: 0 () * Number of discrete variables: 42 (damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],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],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 (844): * Single equations (assignments): 835 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002567/3.49, allocations: 484.2 kB / 0.5616 GB, free: 96.78 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009472/3.491, allocations: 332 kB / 0.5619 GB, free: 96.6 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01084/3.501, allocations: 2.91 MB / 0.5647 GB, free: 96.46 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008969/3.51, allocations: 2.416 MB / 0.5671 GB, free: 96.37 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-05/3.511, allocations: 3.531 kB / 0.5671 GB, free: 96.37 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.459e-05/3.511, allocations: 13.08 kB / 0.5671 GB, free: 96.37 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0313/3.542, allocations: 8.717 MB / 0.5756 GB, free: 94.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.779e-05/3.542, allocations: 11.72 kB / 0.5756 GB, free: 94.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00481/3.547, allocations: 307.6 kB / 0.5759 GB, free: 94.29 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008817/3.556, allocations: 0.9037 MB / 0.5768 GB, free: 94.14 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006439/3.556, allocations: 33.47 kB / 0.5769 GB, free: 94.13 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01138/3.568, allocations: 4.392 MB / 0.5811 GB, free: 91.24 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001614/3.57, allocations: 1.371 MB / 0.5825 GB, free: 89.9 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02126/3.591, allocations: 6.509 MB / 0.5888 GB, free: 86.27 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02799/3.619, allocations: 8.545 MB / 0.5972 GB, free: 80.19 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003206/3.622, allocations: 0.6017 MB / 0.5978 GB, free: 79.62 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001944/3.624, allocations: 29.48 kB / 0.5978 GB, free: 79.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00589/3.63, allocations: 110.2 kB / 0.5979 GB, free: 79.52 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008214/3.631, allocations: 115.9 kB / 0.598 GB, free: 79.44 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003554/3.631, allocations: 66.98 kB / 0.5981 GB, free: 79.38 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.007903/3.639, allocations: 2.133 MB / 0.6002 GB, free: 77.54 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.01467/3.654, allocations: 0.9721 MB / 0.6011 GB, free: 76.58 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * Number of states: 14 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3],p2.s,p2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (153): * Single equations (assignments): 146 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001253/3.655, allocations: 180.3 kB / 0.6013 GB, free: 76.42 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.02044/3.676, allocations: 5.26 MB / 0.6064 GB, free: 71.67 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.242e-05/3.676, allocations: 4 kB / 0.6064 GB, free: 71.66 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009388/3.685, allocations: 1.963 MB / 0.6083 GB, free: 69.87 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005038/3.69, allocations: 345.1 kB / 0.6087 GB, free: 69.57 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02773/3.718, allocations: 8.6 MB / 0.6171 GB, free: 61.79 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0104/3.729, allocations: 3.82 MB / 0.6208 GB, free: 58.84 MB / 346.7 MB Notification: Performance of SimCode: time 1.994e-06/3.729, allocations: 0 / 0.6208 GB, free: 58.84 MB / 346.7 MB