Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.DrumBoiler.DrumBoiler,fileNamePrefix="Modelica_3_2_2_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.892/1.892, allocations: 194.9 MB / 202.5 MB, free: 6.934 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2217/2.113, allocations: 46.82 MB / 249.3 MB, free: 5.359 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08942/2.203, allocations: 44.51 MB / 293.8 MB, free: 10.95 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.612/7.815, allocations: 2.669 GB / 2.956 GB, free: 70.23 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002529/7.815, allocations: 79.59 kB / 2.956 GB, free: 70.23 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 2.129/9.944, allocations: 492.7 MB / 3.437 GB, free: 34.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/9.944, allocations: 7.062 kB / 3.437 GB, free: 34.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003467/9.947, allocations: 298.8 kB / 3.438 GB, free: 34.46 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001284/9.949, allocations: 0.4973 MB / 3.438 GB, free: 34.21 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.562e-05/9.949, allocations: 25.28 kB / 3.438 GB, free: 34.21 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/9.949, allocations: 36.09 kB / 3.438 GB, free: 34.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001363/9.95, allocations: 489.9 kB / 3.439 GB, free: 34.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001361/9.952, allocations: 0.6486 MB / 3.439 GB, free: 34.01 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.496e-05/9.952, allocations: 7.031 kB / 3.439 GB, free: 34.01 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.901e-05/9.952, allocations: 6.375 kB / 3.439 GB, free: 34.01 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.957e-05/9.952, allocations: 14.75 kB / 3.439 GB, free: 34.01 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2253/10.18, allocations: 66.28 MB / 3.504 GB, free: 24.95 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007452/10.18, allocations: 321.8 kB / 3.504 GB, free: 24.92 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004159/10.18, allocations: 199.9 kB / 3.505 GB, free: 24.91 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2097/10.39, allocations: 55.92 MB / 3.559 GB, free: 22.46 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007679/10.39, allocations: 336 kB / 3.56 GB, free: 22.33 MB / 474.7 MB Notification: Performance of pre-optimization done (n=50): time 3.697e-06/10.39, allocations: 0 / 3.56 GB, free: 22.33 MB / 474.7 MB Notification: Performance of matching and sorting (n=58): time 0.01115/10.4, allocations: 2.086 MB / 3.562 GB, free: 21.89 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001538/10.4, allocations: 218.2 kB / 3.562 GB, free: 21.64 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007083/10.4, allocations: 385.3 kB / 3.562 GB, free: 21.52 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 8.934e-05/10.4, allocations: 27.77 kB / 3.562 GB, free: 21.49 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002556/10.4, allocations: 289 kB / 3.563 GB, free: 21.29 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001924/10.4, allocations: 183.2 kB / 3.563 GB, free: 21.18 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.339e-05/10.4, allocations: 1.781 kB / 3.563 GB, free: 21.18 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001961/10.4, allocations: 367.7 kB / 3.563 GB, free: 20.87 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006058/10.4, allocations: 216.7 kB / 3.563 GB, free: 20.86 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007393/10.4, allocations: 407.5 kB / 3.564 GB, free: 20.64 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002046/10.41, allocations: 365.2 kB / 3.564 GB, free: 20.63 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/10.41, allocations: 1.375 kB / 3.564 GB, free: 20.63 MB / 474.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.004755/10.41, allocations: 1.088 MB / 3.565 GB, free: 20.54 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007817/10.41, allocations: 1.913 MB / 3.567 GB, free: 18.54 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.933e-05/10.41, allocations: 5.781 kB / 3.567 GB, free: 18.54 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001337/10.41, allocations: 155.9 kB / 3.567 GB, free: 18.52 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001135/10.41, allocations: 138.8 kB / 3.567 GB, free: 18.52 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00204/10.42, allocations: 0.7843 MB / 3.568 GB, free: 18 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0012/10.42, allocations: 57.28 kB / 3.568 GB, free: 17.98 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001382/10.42, allocations: 42.3 kB / 3.568 GB, free: 17.98 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/10.42, allocations: 4.031 kB / 3.568 GB, free: 17.98 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003245/10.42, allocations: 0.7364 MB / 3.569 GB, free: 17.95 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/10.42, allocations: 8.75 kB / 3.569 GB, free: 17.95 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00128/10.42, allocations: 156 kB / 3.569 GB, free: 17.94 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009891/10.42, allocations: 128.4 kB / 3.569 GB, free: 17.94 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001859/10.42, allocations: 0.787 MB / 3.57 GB, free: 17.41 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001051/10.43, allocations: 41.78 kB / 3.57 GB, free: 17.41 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/10.43, allocations: 41.39 kB / 3.57 GB, free: 17.41 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 19 ($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,q_F_Tab.nextEventScaled,Y_Valve_Tab.a,Y_Valve_Tab.b,Y_Valve_Tab.last,$PRE.Y_Valve_Tab.nextEvent,Y_Valve_Tab.nextEvent,Y_Valve_Tab.nextEventScaled,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.0003885/10.43, allocations: 198.2 kB / 3.57 GB, free: 17.23 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001139/10.43, allocations: 273.2 kB / 3.57 GB, free: 17.2 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005723/10.43, allocations: 2.414 MB / 3.573 GB, free: 16.12 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.44e-05/10.43, allocations: 19.5 kB / 3.573 GB, free: 16.11 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/10.43, allocations: 5.125 kB / 3.573 GB, free: 16.11 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.363e-05/10.43, allocations: 7.703 kB / 3.573 GB, free: 16.1 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005768/10.44, allocations: 3.232 MB / 3.576 GB, free: 14.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/10.44, allocations: 0 / 3.576 GB, free: 14.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007136/10.44, allocations: 78.11 kB / 3.576 GB, free: 14.24 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001532/10.44, allocations: 242.2 kB / 3.576 GB, free: 14.12 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001199/10.44, allocations: 21.7 kB / 3.576 GB, free: 14.11 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002127/10.44, allocations: 0.9185 MB / 3.577 GB, free: 13.38 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/10.44, allocations: 3.906 kB / 3.577 GB, free: 13.37 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006446/10.45, allocations: 2.67 MB / 3.58 GB, free: 11.84 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01018/10.46, allocations: 4.977 MB / 3.585 GB, free: 9.098 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000341/10.46, allocations: 162.6 kB / 3.585 GB, free: 8.934 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002042/10.46, allocations: 4 kB / 3.585 GB, free: 8.93 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008163/10.46, allocations: 46.94 kB / 3.585 GB, free: 8.895 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/10.46, allocations: 41.84 kB / 3.585 GB, free: 8.879 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.078e-05/10.46, allocations: 26.92 kB / 3.585 GB, free: 8.859 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0004611/10.46, allocations: 287.4 kB / 3.585 GB, free: 8.668 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009074/10.47, allocations: 1.619 MB / 3.587 GB, free: 7.438 MB / 474.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: 25 ($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,q_F_Tab.nextEventScaled,Y_Valve_Tab.a,Y_Valve_Tab.b,Y_Valve_Tab.last,Y_Valve_Tab.nextEvent,Y_Valve_Tab.nextEventScaled) * Number of discrete states: 12 (Y_Valve_Tab.nextEvent,Y_Valve_Tab.last,Y_Valve_Tab.nextEventScaled,Y_Valve_Tab.b,Y_Valve_Tab.a,$whenCondition2,q_F_Tab.nextEvent,q_F_Tab.last,q_F_Tab.nextEventScaled,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.01108/10.48, allocations: 2.005 MB / 3.589 GB, free: 5.887 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004089/10.49, allocations: 1.704 MB / 3.59 GB, free: 4.848 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/10.49, allocations: 0 / 3.59 GB, free: 4.848 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001949/10.49, allocations: 1.142 MB / 3.591 GB, free: 4.285 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002096/10.49, allocations: 209.7 kB / 3.592 GB, free: 4.168 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003886/10.49, allocations: 1.739 MB / 3.593 GB, free: 2.965 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009858/10.5, allocations: 1.112 MB / 3.594 GB, free: 1.969 MB / 474.7 MB Notification: Performance of SimCode: time 1.864e-06/10.5, allocations: 0 / 3.594 GB, free: 1.969 MB / 474.7 MB