Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.DrumBoiler.DrumBoiler,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Fluid_Examples_DrumBoiler_DrumBoiler",fmuType="cs",version="2.0",platforms={"dynamic"}) [: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.708/1.708, allocations: 194.9 MB / 202.6 MB, free: 6.879 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2099/1.918, allocations: 46.83 MB / 249.4 MB, free: 5.328 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09675/2.015, allocations: 44.51 MB / 293.9 MB, free: 10.87 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.885/7.9, allocations: 2.669 GB / 2.956 GB, free: 70.45 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000281/7.901, allocations: 83.19 kB / 2.956 GB, free: 70.45 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.197/10.1, allocations: 492.7 MB / 3.438 GB, free: 39.1 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/10.1, allocations: 10.62 kB / 3.438 GB, free: 39.1 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003919/10.1, allocations: 298.8 kB / 3.438 GB, free: 39.06 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001646/10.1, allocations: 0.5018 MB / 3.438 GB, free: 38.8 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.903e-05/10.1, allocations: 25.34 kB / 3.438 GB, free: 38.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001779/10.1, allocations: 34.12 kB / 3.438 GB, free: 38.8 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001693/10.11, allocations: 483.5 kB / 3.439 GB, free: 38.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001712/10.11, allocations: 0.657 MB / 3.439 GB, free: 38.6 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.925e-05/10.11, allocations: 0.6562 kB / 3.439 GB, free: 38.6 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/10.11, allocations: 3.781 kB / 3.439 GB, free: 38.6 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.107e-05/10.11, allocations: 21.91 kB / 3.44 GB, free: 38.6 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2416/10.35, allocations: 66.28 MB / 3.504 GB, free: 28.87 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008046/10.35, allocations: 334.1 kB / 3.505 GB, free: 28.83 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004491/10.35, allocations: 195.3 kB / 3.505 GB, free: 28.82 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3884/10.74, allocations: 55.91 MB / 3.559 GB, free: 116.5 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007495/10.74, allocations: 335.4 kB / 3.56 GB, free: 116.3 MB / 458.7 MB Notification: Performance of pre-optimization done (n=50): time 4.118e-06/10.74, allocations: 2.75 kB / 3.56 GB, free: 116.3 MB / 458.7 MB Notification: Performance of matching and sorting (n=58): time 0.01128/10.75, allocations: 2.085 MB / 3.562 GB, free: 116 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.726e-05/10.75, allocations: 221.6 kB / 3.562 GB, free: 115.8 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006318/10.75, allocations: 383.2 kB / 3.562 GB, free: 115.7 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.05e-05/10.75, allocations: 29.55 kB / 3.562 GB, free: 115.6 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002117/10.75, allocations: 285.8 kB / 3.563 GB, free: 115.5 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001738/10.75, allocations: 186.3 kB / 3.563 GB, free: 115.4 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.745e-05/10.75, allocations: 3.938 kB / 3.563 GB, free: 115.4 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001058/10.75, allocations: 368.1 kB / 3.563 GB, free: 115.1 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00059/10.75, allocations: 214.7 kB / 3.563 GB, free: 115.1 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007301/10.75, allocations: 401.4 kB / 3.564 GB, free: 114.9 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002031/10.76, allocations: 356.1 kB / 3.564 GB, free: 114.9 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/10.76, allocations: 3.5 kB / 3.564 GB, free: 114.9 MB / 458.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.004705/10.76, allocations: 1.096 MB / 3.565 GB, free: 114.8 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003636/10.76, allocations: 1.913 MB / 3.567 GB, free: 112.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/10.76, allocations: 6.938 kB / 3.567 GB, free: 112.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00141/10.76, allocations: 150.8 kB / 3.567 GB, free: 112.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/10.76, allocations: 137.7 kB / 3.567 GB, free: 112.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001881/10.77, allocations: 0.787 MB / 3.568 GB, free: 112.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001145/10.77, allocations: 57.98 kB / 3.568 GB, free: 112.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001179/10.77, allocations: 41 kB / 3.568 GB, free: 112.3 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.688e-06/10.77, allocations: 3.438 kB / 3.568 GB, free: 112.3 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003185/10.77, allocations: 0.7384 MB / 3.569 GB, free: 112.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/10.77, allocations: 3.625 kB / 3.569 GB, free: 112.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00129/10.77, allocations: 153.9 kB / 3.569 GB, free: 112.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009934/10.77, allocations: 130.6 kB / 3.569 GB, free: 112.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001792/10.77, allocations: 0.7892 MB / 3.57 GB, free: 111.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009903/10.78, allocations: 44.97 kB / 3.57 GB, free: 111.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/10.78, allocations: 49.73 kB / 3.57 GB, free: 111.7 MB / 458.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.0002951/10.78, allocations: 193.4 kB / 3.57 GB, free: 111.5 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001195/10.78, allocations: 264.3 kB / 3.57 GB, free: 111.5 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006081/10.78, allocations: 2.411 MB / 3.573 GB, free: 111.4 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.761e-05/10.78, allocations: 28.48 kB / 3.573 GB, free: 111.3 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/10.78, allocations: 1.875 kB / 3.573 GB, free: 111.3 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.267e-05/10.78, allocations: 3.047 kB / 3.573 GB, free: 111.3 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005942/10.79, allocations: 3.227 MB / 3.576 GB, free: 110.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.438e-06/10.79, allocations: 0 / 3.576 GB, free: 110.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007871/10.79, allocations: 83.56 kB / 3.576 GB, free: 110.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001629/10.79, allocations: 243.3 kB / 3.576 GB, free: 110.9 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.986e-05/10.79, allocations: 14.56 kB / 3.576 GB, free: 110.9 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002112/10.79, allocations: 0.9314 MB / 3.577 GB, free: 110.4 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/10.79, allocations: 0 / 3.577 GB, free: 110.4 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006853/10.8, allocations: 2.664 MB / 3.58 GB, free: 110.1 MB / 458.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01081/10.81, allocations: 4.98 MB / 3.585 GB, free: 109.5 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002975/10.81, allocations: 158 kB / 3.585 GB, free: 109.4 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002235/10.81, allocations: 16.98 kB / 3.585 GB, free: 109.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008898/10.81, allocations: 42.72 kB / 3.585 GB, free: 109.4 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/10.81, allocations: 42.05 kB / 3.585 GB, free: 109.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.642e-05/10.81, allocations: 30.22 kB / 3.585 GB, free: 109.4 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.0004842/10.81, allocations: 286.5 kB / 3.585 GB, free: 109.3 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.009413/10.82, allocations: 1.612 MB / 3.587 GB, free: 109.3 MB / 458.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.01119/10.83, allocations: 2.014 MB / 3.589 GB, free: 109.1 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004391/10.84, allocations: 1.705 MB / 3.59 GB, free: 108.9 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/10.84, allocations: 0.5469 kB / 3.59 GB, free: 108.9 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002088/10.84, allocations: 1.136 MB / 3.592 GB, free: 108.9 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00226/10.84, allocations: 215.2 kB / 3.592 GB, free: 108.9 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004144/10.85, allocations: 1.735 MB / 3.593 GB, free: 108.5 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009181/10.85, allocations: 1.121 MB / 3.595 GB, free: 107.8 MB / 458.7 MB Notification: Performance of SimCode: time 1.162e-06/10.85, allocations: 0 / 3.595 GB, free: 107.8 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler_res.mat does not exist to compare? outputFormat=mat