Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Elementary_HeatLosses",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.585/1.585, allocations: 194.9 MB / 202.5 MB, free: 6.926 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2289/1.814, allocations: 46.84 MB / 249.4 MB, free: 5.344 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09025/1.904, allocations: 44.51 MB / 293.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2988/2.203, allocations: 89.65 MB / 383.5 MB, free: 5.25 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002828/2.203, allocations: 85.73 kB / 383.6 MB, free: 5.238 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: 1913 * Number of variables: 1913 Notification: Performance of Generate backend data structure: time 0.5148/2.718, allocations: 110.2 MB / 493.8 MB, free: 9.32 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/2.718, allocations: 8 kB / 493.8 MB, free: 9.312 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02735/2.745, allocations: 2.832 MB / 496.7 MB, free: 6.469 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.172/2.917, allocations: 7.536 MB / 0.4924 GB, free: 109.2 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003989/2.918, allocations: 173.2 kB / 0.4926 GB, free: 109.2 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003156/2.921, allocations: 331.8 kB / 0.4929 GB, free: 109.2 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02268/2.944, allocations: 8.694 MB / 0.5014 GB, free: 109.2 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03275/2.977, allocations: 12.48 MB / 0.5135 GB, free: 105.9 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004718/2.977, allocations: 72.88 kB / 0.5136 GB, free: 105.9 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002974/2.98, allocations: 36.5 kB / 0.5136 GB, free: 105.9 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004866/2.985, allocations: 1.568 MB / 0.5152 GB, free: 105.9 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.11/3.095, allocations: 64.01 MB / 0.5777 GB, free: 65.68 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008967/3.104, allocations: 4.135 MB / 0.5817 GB, free: 63.63 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007301/3.111, allocations: 3.278 MB / 0.5849 GB, free: 62.27 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03772/3.149, allocations: 13.42 MB / 0.598 GB, free: 55.71 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.316e-05/3.149, allocations: 61.38 kB / 0.5981 GB, free: 55.65 MB / 394.7 MB Notification: Performance of pre-optimization done (n=238): time 7.193e-06/3.149, allocations: 0 / 0.5981 GB, free: 55.65 MB / 394.7 MB Notification: Performance of matching and sorting (n=267): time 0.09228/3.242, allocations: 19.09 MB / 0.6167 GB, free: 42.33 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.137e-05/3.242, allocations: 156 kB / 0.6169 GB, free: 42.15 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009641/3.251, allocations: 3.71 MB / 0.6205 GB, free: 38.97 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008989/3.252, allocations: 28.55 kB / 0.6205 GB, free: 38.94 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002872/3.255, allocations: 3.615 MB / 0.6241 GB, free: 35.67 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001935/3.257, allocations: 1.029 MB / 0.6251 GB, free: 34.75 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001498/3.259, allocations: 0 / 0.6251 GB, free: 34.75 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0009364/3.26, allocations: 0.6523 MB / 0.6257 GB, free: 34.19 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008701/3.269, allocations: 3.217 MB / 0.6288 GB, free: 31.33 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01156/3.28, allocations: 7.857 MB / 0.6365 GB, free: 21.82 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01192/3.292, allocations: 4.919 MB / 0.6413 GB, free: 17.71 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001599/3.292, allocations: 48 kB / 0.6414 GB, free: 17.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=1071) (initialization): time 0.0437/3.336, allocations: 12.12 MB / 0.6532 GB, free: 7.426 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/3.336, allocations: 4.938 kB / 0.6532 GB, free: 7.422 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0258/3.362, allocations: 6.195 MB / 0.6593 GB, free: 2.402 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0181/3.38, allocations: 2.669 MB / 0.6619 GB, free: 84 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.162/3.542, allocations: 1.906 MB / 0.6637 GB, free: 95.95 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0195/3.562, allocations: 11.96 MB / 0.6754 GB, free: 88.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0135/3.575, allocations: 0.5133 MB / 0.6759 GB, free: 88.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002366/3.578, allocations: 497.6 kB / 0.6764 GB, free: 88.7 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 756 * Number of states: 0 () * Number of discrete variables: 48 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body3.sphereColor[3],body3.sphereColor[2],body3.sphereColor[1],bar3.color[3],bar3.color[2],bar3.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],springDamper.color[3],springDamper.color[2],springDamper.color[1],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],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 (1005): * Single equations (assignments): 984 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 6 {(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 3 {4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003615/3.581, allocations: 0.5187 MB / 0.6769 GB, free: 88.58 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001603/3.583, allocations: 409 kB / 0.6773 GB, free: 88.58 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02854/3.612, allocations: 6.56 MB / 0.6837 GB, free: 88.37 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.025/3.637, allocations: 5.879 MB / 0.6894 GB, free: 88.2 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.493e-05/3.637, allocations: 6.188 kB / 0.6894 GB, free: 88.2 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.893e-05/3.637, allocations: 13.5 kB / 0.6894 GB, free: 88.2 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0525/3.689, allocations: 14.3 MB / 0.7034 GB, free: 87.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.342e-05/3.689, allocations: 3.75 kB / 0.7034 GB, free: 87.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005528/3.695, allocations: 474.5 kB / 0.7039 GB, free: 87.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01717/3.712, allocations: 2.677 MB / 0.7065 GB, free: 87.38 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009753/3.713, allocations: 48.77 kB / 0.7065 GB, free: 87.38 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02336/3.737, allocations: 13.13 MB / 0.7193 GB, free: 80.12 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003405/3.74, allocations: 4.165 MB / 0.7234 GB, free: 76.25 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03379/3.774, allocations: 10.79 MB / 0.7339 GB, free: 74.25 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04153/3.815, allocations: 14.51 MB / 0.7481 GB, free: 68.53 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001536/3.817, allocations: 468.9 kB / 0.7486 GB, free: 68.19 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002168/3.819, allocations: 30.97 kB / 0.7486 GB, free: 68.18 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006704/3.826, allocations: 210.5 kB / 0.7488 GB, free: 68.18 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001186/3.827, allocations: 138.2 kB / 0.7489 GB, free: 68.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005023/3.828, allocations: 84.83 kB / 0.749 GB, free: 68.15 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.007132/3.835, allocations: 2.453 MB / 0.7514 GB, free: 67.27 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.01247/3.848, allocations: 1.453 MB / 0.7528 GB, free: 67.26 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 37 ($STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$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],body2.frame_a.r_0[1],body2.frame_a.r_0[2],body2.frame_a.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.w_a[1],body2.w_a[2],body2.w_a[3],springDamperSeries.s_damper,body3.frame_a.r_0[1],body3.frame_a.r_0[2],body3.frame_a.r_0[3],body3.v_0[1],body3.v_0[2],body3.v_0[3],body3.w_a[1],body3.w_a[2],body3.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (215): * Single equations (assignments): 200 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 6 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 3 {4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001368/3.849, allocations: 178.6 kB / 0.753 GB, free: 67.17 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.02954/3.879, allocations: 9.387 MB / 0.7622 GB, free: 59.87 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.38e-05/3.879, allocations: 4 kB / 0.7622 GB, free: 59.86 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01717/3.896, allocations: 4.557 MB / 0.7666 GB, free: 55.75 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004784/3.901, allocations: 412 kB / 0.767 GB, free: 55.41 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04053/3.941, allocations: 12.3 MB / 0.779 GB, free: 44.85 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01297/3.954, allocations: 4.543 MB / 0.7834 GB, free: 41.39 MB / 394.7 MB Notification: Performance of SimCode: time 2.034e-06/3.954, allocations: 0 / 0.7834 GB, free: 41.39 MB / 394.7 MB