Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.HeatLosses,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_Translational_Examples_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.73/1.73, allocations: 171.2 MB / 178.1 MB, free: 8.332 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2322/1.962, allocations: 41.1 MB / 219.2 MB, free: 11.2 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09268/2.055, allocations: 38.77 MB / 258 MB, free: 4.363 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2888/2.344, allocations: 73.21 MB / 331.2 MB, free: 14.86 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002711/2.344, allocations: 74.7 kB / 331.3 MB, free: 14.82 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.09987/2.444, allocations: 15.67 MB / 347 MB, free: 1.262 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.853e-05/2.444, allocations: 8 kB / 347 MB, free: 1.254 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009503/2.445, allocations: 94.89 kB / 347.1 MB, free: 1.16 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001728/2.447, allocations: 412.9 kB / 347.5 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001106/2.447, allocations: 24 kB / 347.5 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003467/2.447, allocations: 47.58 kB / 347.5 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003511/2.451, allocations: 0.7219 MB / 348.3 MB, free: 220 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002218/2.453, allocations: 0.6411 MB / 348.9 MB, free: 15.75 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.765e-05/2.453, allocations: 11.91 kB / 348.9 MB, free: 15.74 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001332/2.453, allocations: 6.562 kB / 348.9 MB, free: 15.73 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.572e-05/2.453, allocations: 16 kB / 348.9 MB, free: 15.72 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008942/2.462, allocations: 2.357 MB / 351.3 MB, free: 13.72 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001291/2.464, allocations: 433.2 kB / 351.7 MB, free: 13.45 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001131/2.465, allocations: 395.6 kB / 352.1 MB, free: 13.21 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001085/2.465, allocations: 12.77 kB / 352.1 MB, free: 13.2 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00132/2.466, allocations: 466.4 kB / 352.6 MB, free: 12.87 MB / 298.7 MB Notification: Performance of pre-optimization done (n=86): time 4.368e-06/2.466, allocations: 4 kB / 352.6 MB, free: 12.87 MB / 298.7 MB Notification: Performance of matching and sorting (n=106): time 0.01027/2.477, allocations: 2.693 MB / 355.3 MB, free: 10.64 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.467e-05/2.477, allocations: 64.34 kB / 355.3 MB, free: 10.56 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005935/2.477, allocations: 302.4 kB / 355.6 MB, free: 10.32 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002821/2.478, allocations: 40.75 kB / 355.7 MB, free: 10.28 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002305/2.478, allocations: 232.2 kB / 355.9 MB, free: 10.07 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004804/2.478, allocations: 352.1 kB / 356.2 MB, free: 9.766 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.273e-05/2.478, allocations: 0 / 356.2 MB, free: 9.766 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001996/2.479, allocations: 372.2 kB / 356.6 MB, free: 9.418 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001117/2.48, allocations: 360.1 kB / 356.9 MB, free: 9.215 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001209/2.481, allocations: 440.8 kB / 357.4 MB, free: 8.922 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001104/2.482, allocations: 312 kB / 357.7 MB, free: 8.723 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/2.482, allocations: 3.906 kB / 357.7 MB, free: 8.719 MB / 298.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.004874/2.487, allocations: 1.265 MB / 359 MB, free: 7.734 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.632e-05/2.487, allocations: 8 kB / 359 MB, free: 7.727 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/2.487, allocations: 3.984 kB / 359 MB, free: 7.723 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002098/2.489, allocations: 0.628 MB / 359.6 MB, free: 7.227 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001937/2.491, allocations: 219.2 kB / 359.8 MB, free: 7.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005312/2.497, allocations: 2.97 MB / 362.8 MB, free: 4.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002758/2.499, allocations: 243.8 kB / 363 MB, free: 3.922 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002288/2.5, allocations: 47.92 kB / 363.1 MB, free: 3.875 MB / 298.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: supportFriction.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic f = f(a_relfric)" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: massWithStopAndFriction.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic f = f(a_relfric)" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: brake.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic f = f(a_relfric)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 27 (supportFriction.free,$whenCondition1,elastoGap.contact,$PRE.supportFriction.startForward,supportFriction.startForward,$PRE.supportFriction.startBackward,supportFriction.startBackward,supportFriction.locked,$PRE.supportFriction.mode,supportFriction.mode,brake.free,$PRE.brake.startForward,brake.startForward,$PRE.brake.startBackward,brake.startBackward,brake.locked,$PRE.brake.mode,brake.mode,massWithStopAndFriction.free,$PRE.massWithStopAndFriction.startForward,massWithStopAndFriction.startForward,$PRE.massWithStopAndFriction.startBackward,massWithStopAndFriction.startBackward,massWithStopAndFriction.locked,$PRE.massWithStopAndFriction.mode,massWithStopAndFriction.mode,massWithStopAndFriction.stopped) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 7,1 5,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0004525/2.5, allocations: 138.3 kB / 363.2 MB, free: 3.734 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002293/2.5, allocations: 71.16 kB / 363.3 MB, free: 3.664 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003857/2.501, allocations: 86.95 kB / 363.3 MB, free: 3.578 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.672e-05/2.501, allocations: 12 kB / 363.4 MB, free: 3.566 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/2.501, allocations: 0 / 363.4 MB, free: 3.566 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.676e-05/2.501, allocations: 11.97 kB / 363.4 MB, free: 3.555 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008859/2.51, allocations: 2.331 MB / 365.7 MB, free: 1.133 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.429e-05/2.51, allocations: 8.031 kB / 365.7 MB, free: 1.125 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002748/2.512, allocations: 195.7 kB / 365.9 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002968/2.516, allocations: 0.6077 MB / 366.5 MB, free: 324 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003753/2.516, allocations: 19.95 kB / 366.5 MB, free: 304 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005917/2.522, allocations: 2.892 MB / 369.4 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.2e-05/2.522, allocations: 7.938 kB / 369.4 MB, free: 13.22 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006687/2.529, allocations: 1.785 MB / 371.2 MB, free: 11.35 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009788/2.539, allocations: 2.636 MB / 373.9 MB, free: 8.621 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001219/2.54, allocations: 228.2 kB / 374.1 MB, free: 8.379 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004395/2.54, allocations: 12 kB / 374.1 MB, free: 8.367 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003838/2.544, allocations: 271.7 kB / 374.4 MB, free: 8.102 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001125/2.545, allocations: 200.5 kB / 374.5 MB, free: 7.906 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002887/2.546, allocations: 43.97 kB / 374.6 MB, free: 7.863 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0004555/2.546, allocations: 227.2 kB / 374.8 MB, free: 7.641 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.003556/2.55, allocations: 204 kB / 375 MB, free: 7.441 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (springDamper.s_rel,springDamper.v_rel,elastoGap.s_rel,elastoGap.v_rel,massWithStopAndFriction.s,massWithStopAndFriction.v,springDamper1.s_rel,springDamper1.v_rel) * Number of discrete variables: 17 ($whenCondition1,elastoGap.contact,supportFriction.startForward,supportFriction.startBackward,supportFriction.locked,supportFriction.mode,brake.free,brake.startForward,brake.startBackward,brake.locked,brake.mode,massWithStopAndFriction.free,massWithStopAndFriction.startForward,massWithStopAndFriction.startBackward,massWithStopAndFriction.locked,massWithStopAndFriction.mode,massWithStopAndFriction.stopped) * Number of discrete states: 9 (massWithStopAndFriction.mode,massWithStopAndFriction.startBackward,massWithStopAndFriction.startForward,brake.mode,brake.startForward,brake.startBackward,supportFriction.mode,supportFriction.startForward,supportFriction.startBackward) * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 6,1 6,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008315/2.551, allocations: 160.7 kB / 375.2 MB, free: 7.277 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004422/2.555, allocations: 0.9839 MB / 376.2 MB, free: 6.289 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.102e-05/2.555, allocations: 4 kB / 376.2 MB, free: 6.285 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002324/2.557, allocations: 0.6341 MB / 376.8 MB, free: 5.637 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/2.559, allocations: 86.28 kB / 376.9 MB, free: 5.555 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006552/2.565, allocations: 1.568 MB / 378.4 MB, free: 3.93 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001158/2.566, allocations: 1.028 MB / 379.5 MB, free: 2.879 MB / 314.7 MB Notification: Performance of SimCode: time 1.432e-06/2.566, allocations: 0 / 379.5 MB, free: 2.879 MB / 314.7 MB