Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,fileNamePrefix="Modelica_3_2_2_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.597/1.597, allocations: 194.9 MB / 202.5 MB, free: 6.922 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2054/1.803, allocations: 46.84 MB / 249.3 MB, free: 5.336 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08709/1.89, allocations: 44.5 MB / 293.8 MB, free: 10.91 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2807/2.171, allocations: 89.55 MB / 383.4 MB, free: 5.125 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002689/2.171, allocations: 81.55 kB / 383.5 MB, free: 5.113 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: 1644 * Number of variables: 1644 Notification: Performance of Generate backend data structure: time 0.3955/2.567, allocations: 93.15 MB / 476.6 MB, free: 10.68 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.037e-05/2.567, allocations: 11.94 kB / 476.6 MB, free: 10.67 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02037/2.587, allocations: 2.201 MB / 478.8 MB, free: 8.461 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0223/2.609, allocations: 5.602 MB / 484.4 MB, free: 2.793 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003061/2.61, allocations: 148 kB / 484.6 MB, free: 2.648 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002295/2.612, allocations: 275.9 kB / 484.9 MB, free: 2.379 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01972/2.632, allocations: 6.96 MB / 491.8 MB, free: 11.41 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1506/2.782, allocations: 10.41 MB / 0.4905 GB, free: 116 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002918/2.783, allocations: 66.06 kB / 0.4905 GB, free: 116 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002055/2.785, allocations: 35.78 kB / 0.4906 GB, free: 116 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003005/2.788, allocations: 1.25 MB / 0.4918 GB, free: 116 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07369/2.862, allocations: 52.83 MB / 0.5434 GB, free: 83.31 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004999/2.867, allocations: 2.561 MB / 0.5459 GB, free: 82.66 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003488/2.87, allocations: 1.679 MB / 0.5475 GB, free: 82.63 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01418/2.884, allocations: 5.896 MB / 0.5533 GB, free: 80.7 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/2.884, allocations: 51.31 kB / 0.5533 GB, free: 80.66 MB / 394.7 MB Notification: Performance of pre-optimization done (n=160): time 6.131e-06/2.884, allocations: 0 / 0.5533 GB, free: 80.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=177): time 0.04778/2.932, allocations: 12.11 MB / 0.5651 GB, free: 76.64 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.344e-05/2.932, allocations: 148.6 kB / 0.5653 GB, free: 76.48 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006599/2.939, allocations: 3.239 MB / 0.5684 GB, free: 75.32 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004593/2.939, allocations: 25.7 kB / 0.5685 GB, free: 75.29 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002304/2.942, allocations: 3.226 MB / 0.5716 GB, free: 72.82 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001075/2.943, allocations: 0.6941 MB / 0.5723 GB, free: 72.32 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006017/2.944, allocations: 0 / 0.5723 GB, free: 72.32 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003904/2.944, allocations: 0.5943 MB / 0.5729 GB, free: 71.89 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004904/2.949, allocations: 2.046 MB / 0.5749 GB, free: 71.22 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007453/2.956, allocations: 6.217 MB / 0.5809 GB, free: 64.88 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007903/2.964, allocations: 3.541 MB / 0.5844 GB, free: 63.87 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001152/2.964, allocations: 46.59 kB / 0.5844 GB, free: 63.87 MB / 394.7 MB Notification: Performance of matching and sorting (n=879) (initialization): time 0.02387/2.988, allocations: 7.95 MB / 0.5922 GB, free: 61.34 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/2.988, allocations: 3.625 kB / 0.5922 GB, free: 61.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009439/2.998, allocations: 2.583 MB / 0.5947 GB, free: 60.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006354/3.004, allocations: 1.021 MB / 0.5957 GB, free: 60.51 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01037/3.015, allocations: 1.585 MB / 0.5973 GB, free: 60.31 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0064/3.021, allocations: 4.175 MB / 0.6014 GB, free: 56.35 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009198/3.03, allocations: 320 kB / 0.6017 GB, free: 56.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001619/3.032, allocations: 422.9 kB / 0.6021 GB, free: 55.69 MB / 394.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 (841): * Single equations (assignments): 832 * 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 {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 prepare postOptimizeDAE: time 0.001392/3.033, allocations: 480.5 kB / 0.6025 GB, free: 55.21 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000801/3.034, allocations: 331.7 kB / 0.6028 GB, free: 54.88 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01021/3.044, allocations: 2.911 MB / 0.6057 GB, free: 52.56 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008488/3.053, allocations: 2.421 MB / 0.6081 GB, free: 50.59 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.928e-05/3.053, allocations: 4 kB / 0.6081 GB, free: 50.59 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-05/3.053, allocations: 7.594 kB / 0.6081 GB, free: 50.59 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02597/3.079, allocations: 8.726 MB / 0.6166 GB, free: 43.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.498e-05/3.079, allocations: 15.84 kB / 0.6166 GB, free: 43.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002968/3.082, allocations: 312.9 kB / 0.6169 GB, free: 43.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005579/3.088, allocations: 0.9064 MB / 0.6178 GB, free: 42.62 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003583/3.088, allocations: 27.94 kB / 0.6178 GB, free: 42.6 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007258/3.095, allocations: 4.385 MB / 0.6221 GB, free: 38.49 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000984/3.096, allocations: 1.373 MB / 0.6234 GB, free: 37.04 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01345/3.11, allocations: 6.505 MB / 0.6298 GB, free: 30.88 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01685/3.127, allocations: 8.547 MB / 0.6381 GB, free: 22.87 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001948/3.129, allocations: 0.6044 MB / 0.6387 GB, free: 22.29 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000714/3.13, allocations: 30.7 kB / 0.6388 GB, free: 22.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003335/3.133, allocations: 99.03 kB / 0.6388 GB, free: 22.2 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003168/3.133, allocations: 121.9 kB / 0.639 GB, free: 22.12 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002086/3.133, allocations: 61.39 kB / 0.639 GB, free: 22.06 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.004472/3.138, allocations: 2.139 MB / 0.6411 GB, free: 20.21 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.008249/3.146, allocations: 0.9738 MB / 0.6421 GB, free: 19.25 MB / 394.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.0008917/3.147, allocations: 182.2 kB / 0.6422 GB, free: 19.08 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01425/3.161, allocations: 5.386 MB / 0.6475 GB, free: 14 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.136e-05/3.161, allocations: 0 / 0.6475 GB, free: 14 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00618/3.168, allocations: 1.962 MB / 0.6494 GB, free: 11.98 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002989/3.171, allocations: 335.1 kB / 0.6497 GB, free: 11.65 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02466/3.195, allocations: 8.618 MB / 0.6581 GB, free: 2.883 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1377/3.333, allocations: 3.821 MB / 0.6619 GB, free: 108 MB / 394.7 MB Notification: Performance of SimCode: time 1.353e-06/3.333, allocations: 0 / 0.6619 GB, free: 108 MB / 394.7 MB