Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.DrumBoiler.DrumBoiler,fileNamePrefix="Modelica_3_2_1_Modelica_Fluid_Examples_DrumBoiler_DrumBoiler",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.649/1.649, allocations: 171.2 MB / 178.1 MB, free: 8.293 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1906/1.839, allocations: 41.1 MB / 219.2 MB, free: 11.21 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/1.957, allocations: 38.77 MB / 258 MB, free: 4.367 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.132/8.089, allocations: 2.56 GB / 2.812 GB, free: 30.7 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002971/8.089, allocations: 81.2 kB / 2.812 GB, free: 30.66 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 147 * Number of variables: 147 Notification: Performance of Generate backend data structure: time 2.504/10.59, allocations: 480.8 MB / 3.281 GB, free: 25.25 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/10.59, allocations: 7.75 kB / 3.281 GB, free: 25.25 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003831/10.6, allocations: 286.2 kB / 3.282 GB, free: 25.21 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001543/10.6, allocations: 0.5079 MB / 3.282 GB, free: 24.95 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.865e-05/10.6, allocations: 22.03 kB / 3.282 GB, free: 24.95 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/10.6, allocations: 33.97 kB / 3.282 GB, free: 24.95 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001423/10.6, allocations: 477.6 kB / 3.283 GB, free: 24.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001426/10.6, allocations: 0.6406 MB / 3.283 GB, free: 24.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.545e-05/10.6, allocations: 1.406 kB / 3.283 GB, free: 24.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-05/10.6, allocations: 3.875 kB / 3.283 GB, free: 24.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.816e-05/10.6, allocations: 15.56 kB / 3.283 GB, free: 24.75 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.247/10.85, allocations: 66.09 MB / 3.348 GB, free: 15.39 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007643/10.85, allocations: 316.2 kB / 3.348 GB, free: 15.36 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004133/10.85, allocations: 181.4 kB / 3.348 GB, free: 15.36 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2236/11.07, allocations: 55.92 MB / 3.403 GB, free: 7.297 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001255/11.08, allocations: 322.7 kB / 3.403 GB, free: 7.059 MB / 426.7 MB Notification: Performance of pre-optimization done (n=46): time 6.993e-06/11.08, allocations: 0 / 3.403 GB, free: 7.059 MB / 426.7 MB Notification: Performance of matching and sorting (n=54): time 0.01726/11.09, allocations: 2.023 MB / 3.405 GB, free: 5.738 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001502/11.09, allocations: 215.1 kB / 3.406 GB, free: 5.48 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006867/11.09, allocations: 378.5 kB / 3.406 GB, free: 5.215 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001066/11.09, allocations: 33.7 kB / 3.406 GB, free: 5.176 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002397/11.09, allocations: 284.3 kB / 3.406 GB, free: 4.953 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001863/11.09, allocations: 175.9 kB / 3.406 GB, free: 4.816 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.368e-05/11.09, allocations: 0 / 3.406 GB, free: 4.816 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002119/11.09, allocations: 365.8 kB / 3.407 GB, free: 4.492 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005499/11.09, allocations: 207.6 kB / 3.407 GB, free: 4.379 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000666/11.1, allocations: 394.8 kB / 3.407 GB, free: 4.031 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002026/11.1, allocations: 354.4 kB / 3.408 GB, free: 3.852 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/11.1, allocations: 0 / 3.408 GB, free: 3.852 MB / 426.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.004975/11.1, allocations: 1.073 MB / 3.409 GB, free: 3.215 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/11.1, allocations: 4 kB / 3.409 GB, free: 3.211 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/11.1, allocations: 4.656 kB / 3.409 GB, free: 3.207 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001312/11.1, allocations: 155.6 kB / 3.409 GB, free: 3.125 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/11.11, allocations: 141.2 kB / 3.409 GB, free: 3.023 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001952/11.11, allocations: 0.7801 MB / 3.41 GB, free: 2.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/11.11, allocations: 54.75 kB / 3.41 GB, free: 2.297 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001775/11.11, allocations: 41.36 kB / 3.41 GB, free: 2.27 MB / 426.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.evaporator.V_v:DUMMY_DER(fixed = false ) "volume of vapour phase" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition1,$whenCondition2,pump.medium.phase,q_F_Tab.a,q_F_Tab.b,q_F_Tab.last,$PRE.q_F_Tab.nextEvent,q_F_Tab.nextEvent,Y_Valve_Tab.a,Y_Valve_Tab.b,Y_Valve_Tab.last,$PRE.Y_Valve_Tab.nextEvent,Y_Valve_Tab.nextEvent,SteamValve.state_b.phase,SteamValve.state_a.phase,sink.state.phase,sink.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0003632/11.11, allocations: 205.6 kB / 3.41 GB, free: 2.074 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001115/11.11, allocations: 268 kB / 3.41 GB, free: 1.922 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006303/11.12, allocations: 2.365 MB / 3.413 GB, free: 0.5898 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.086e-05/11.12, allocations: 24.56 kB / 3.413 GB, free: 0.582 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.557e-06/11.12, allocations: 0 / 3.413 GB, free: 0.582 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.223e-05/11.12, allocations: 3.609 kB / 3.413 GB, free: 0.582 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1945/11.31, allocations: 3.161 MB / 3.416 GB, free: 117 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.928e-06/11.31, allocations: 1.312 kB / 3.416 GB, free: 117 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007663/11.31, allocations: 83.73 kB / 3.416 GB, free: 117 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001671/11.31, allocations: 237.6 kB / 3.416 GB, free: 117 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001644/11.31, allocations: 24.22 kB / 3.416 GB, free: 117 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002086/11.32, allocations: 0.9248 MB / 3.417 GB, free: 116.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/11.32, allocations: 0 / 3.417 GB, free: 116.4 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006471/11.32, allocations: 2.532 MB / 3.419 GB, free: 116.3 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009818/11.33, allocations: 4.795 MB / 3.424 GB, free: 115.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003451/11.33, allocations: 158 kB / 3.424 GB, free: 115.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00024/11.33, allocations: 13.45 kB / 3.424 GB, free: 115.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008786/11.33, allocations: 42.98 kB / 3.424 GB, free: 115.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/11.33, allocations: 38.94 kB / 3.424 GB, free: 115.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.111e-05/11.33, allocations: 31.77 kB / 3.424 GB, free: 115.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0004675/11.33, allocations: 278.3 kB / 3.425 GB, free: 115.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00748/11.34, allocations: 1.336 MB / 3.426 GB, free: 115.5 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (evaporator.p,evaporator.V_l,controller.x) * Number of discrete variables: 23 ($cse1.region3boundary,$cse2.region3boundary,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse9.phase,$cse9.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$whenCondition1,$whenCondition2,pump.medium.phase,q_F_Tab.a,q_F_Tab.b,q_F_Tab.last,q_F_Tab.nextEvent,Y_Valve_Tab.a,Y_Valve_Tab.b,Y_Valve_Tab.last,Y_Valve_Tab.nextEvent) * Number of discrete states: 10 (Y_Valve_Tab.last,Y_Valve_Tab.nextEvent,Y_Valve_Tab.b,Y_Valve_Tab.a,$whenCondition2,q_F_Tab.last,q_F_Tab.nextEvent,q_F_Tab.b,q_F_Tab.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01158/11.35, allocations: 1.995 MB / 3.428 GB, free: 115.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002764/11.36, allocations: 1.2 MB / 3.429 GB, free: 115.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/11.36, allocations: 0 / 3.429 GB, free: 115.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00197/11.36, allocations: 1.086 MB / 3.43 GB, free: 115.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0022/11.36, allocations: 206.9 kB / 3.43 GB, free: 115.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004315/11.37, allocations: 1.683 MB / 3.432 GB, free: 114.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008786/11.37, allocations: 1.103 MB / 3.433 GB, free: 114.2 MB / 426.7 MB Notification: Performance of SimCode: time 1.312e-06/11.37, allocations: 0 / 3.433 GB, free: 114.2 MB / 426.7 MB