Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.HeatLosses,fileNamePrefix="Modelica_3_2_2_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.638/1.638, allocations: 194.9 MB / 202.5 MB, free: 6.934 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.222/1.86, allocations: 46.82 MB / 249.3 MB, free: 5.336 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08819/1.948, allocations: 44.51 MB / 293.8 MB, free: 10.94 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2766/2.225, allocations: 78.22 MB / 372.1 MB, free: 7.055 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002591/2.225, allocations: 71.25 kB / 372.1 MB, free: 7.055 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.07157/2.297, allocations: 15.71 MB / 387.8 MB, free: 2.184 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/2.297, allocations: 8.875 kB / 387.9 MB, free: 2.184 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003468/2.297, allocations: 87.31 kB / 387.9 MB, free: 2.133 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007934/2.298, allocations: 414.9 kB / 388.3 MB, free: 1.816 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.298e-05/2.298, allocations: 26.91 kB / 388.4 MB, free: 1.812 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001693/2.298, allocations: 42.25 kB / 388.4 MB, free: 1.812 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001979/2.3, allocations: 0.6786 MB / 389.1 MB, free: 1.738 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001661/2.302, allocations: 0.6226 MB / 389.7 MB, free: 1.562 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.163e-05/2.302, allocations: 11.34 kB / 389.7 MB, free: 1.559 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001204/2.302, allocations: 3.984 kB / 389.7 MB, free: 1.555 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.419e-05/2.302, allocations: 15.34 kB / 389.7 MB, free: 1.555 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007117/2.309, allocations: 2.362 MB / 392.1 MB, free: 300 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001153/2.31, allocations: 442.9 kB / 392.5 MB, free: 256 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009587/2.311, allocations: 390.4 kB / 392.9 MB, free: 228 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001132/2.312, allocations: 15.98 kB / 392.9 MB, free: 224 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001146/2.313, allocations: 467.2 kB / 393.4 MB, free: 80 kB / 298.7 MB Notification: Performance of pre-optimization done (n=89): time 4.198e-06/2.313, allocations: 0 / 393.4 MB, free: 80 kB / 298.7 MB Notification: Performance of matching and sorting (n=109): time 0.009297/2.322, allocations: 2.593 MB / 396 MB, free: 15.09 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.478e-05/2.322, allocations: 64.31 kB / 396 MB, free: 15.03 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004819/2.323, allocations: 283.4 kB / 396.3 MB, free: 14.89 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001713/2.323, allocations: 39.45 kB / 396.4 MB, free: 14.86 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002006/2.323, allocations: 220.4 kB / 396.6 MB, free: 14.68 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000422/2.323, allocations: 355.6 kB / 396.9 MB, free: 14.43 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.166e-05/2.324, allocations: 5.359 kB / 396.9 MB, free: 14.42 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001952/2.324, allocations: 369.3 kB / 397.3 MB, free: 14.09 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009979/2.325, allocations: 333.5 kB / 397.6 MB, free: 14.08 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001135/2.326, allocations: 433.9 kB / 398 MB, free: 14 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001081/2.327, allocations: 294.4 kB / 398.3 MB, free: 13.95 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/2.327, allocations: 0 / 398.3 MB, free: 13.95 MB / 314.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.004263/2.331, allocations: 1.097 MB / 399.4 MB, free: 13.72 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/2.331, allocations: 5.781 kB / 399.4 MB, free: 13.72 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.121e-05/2.331, allocations: 6.109 kB / 399.4 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001675/2.333, allocations: 0.5318 MB / 400 MB, free: 13.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00177/2.335, allocations: 209.4 kB / 400.2 MB, free: 13.53 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004631/2.339, allocations: 2.909 MB / 403.1 MB, free: 11.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002668/2.342, allocations: 246.3 kB / 403.3 MB, free: 11.08 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001569/2.342, allocations: 42.7 kB / 403.4 MB, free: 11.07 MB / 314.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): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0004229/2.343, allocations: 131.9 kB / 403.5 MB, free: 10.95 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000218/2.343, allocations: 73.59 kB / 403.6 MB, free: 10.91 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003949/2.347, allocations: 1.126 MB / 404.7 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.727e-05/2.347, allocations: 11.19 kB / 404.7 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/2.347, allocations: 0 / 404.7 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.74e-05/2.347, allocations: 3.984 kB / 404.7 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00683/2.354, allocations: 2.188 MB / 406.9 MB, free: 9.648 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.135e-05/2.354, allocations: 2.375 kB / 406.9 MB, free: 9.648 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001754/2.356, allocations: 194.6 kB / 407.1 MB, free: 9.605 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001572/2.357, allocations: 0.4989 MB / 407.6 MB, free: 9.469 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001583/2.358, allocations: 23.31 kB / 407.6 MB, free: 9.457 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004372/2.362, allocations: 2.829 MB / 410.4 MB, free: 7.098 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.155e-05/2.362, allocations: 5.984 kB / 410.4 MB, free: 7.094 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005081/2.367, allocations: 1.66 MB / 412.1 MB, free: 5.984 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006349/2.373, allocations: 2.482 MB / 414.6 MB, free: 4.078 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006469/2.374, allocations: 227.2 kB / 414.8 MB, free: 3.875 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002422/2.374, allocations: 19.44 kB / 414.8 MB, free: 3.863 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00269/2.377, allocations: 263.8 kB / 415.1 MB, free: 3.605 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006319/2.378, allocations: 200.5 kB / 415.3 MB, free: 3.438 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001564/2.378, allocations: 46.27 kB / 415.3 MB, free: 3.402 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0003609/2.378, allocations: 221.2 kB / 415.5 MB, free: 3.227 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001978/2.38, allocations: 211.8 kB / 415.7 MB, free: 3.02 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (90): * Single equations (assignments): 87 * 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.0004205/2.381, allocations: 147.5 kB / 415.9 MB, free: 2.875 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003098/2.384, allocations: 1.017 MB / 416.9 MB, free: 2.133 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/2.384, allocations: 0 / 416.9 MB, free: 2.133 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002397/2.386, allocations: 0.6498 MB / 417.6 MB, free: 1.582 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001202/2.388, allocations: 87.75 kB / 417.6 MB, free: 1.504 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006609/2.394, allocations: 1.586 MB / 419.2 MB, free: 15.86 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001164/2.395, allocations: 1.02 MB / 420.2 MB, free: 14.81 MB / 330.7 MB Notification: Performance of SimCode: time 1.232e-06/2.395, allocations: 0 / 420.2 MB, free: 14.81 MB / 330.7 MB