Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,fileNamePrefix="Modelica_3_2_1_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",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.907/1.907, allocations: 171.2 MB / 178.1 MB, free: 8.281 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1998/2.107, allocations: 41.1 MB / 219.2 MB, free: 11.2 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/2.214, allocations: 38.77 MB / 258 MB, free: 4.363 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3089/2.523, allocations: 71.84 MB / 329.8 MB, free: 240 kB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002973/2.523, allocations: 74.64 kB / 329.9 MB, free: 200 kB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.09422/2.617, allocations: 17.03 MB / 347 MB, free: 1.977 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.259e-05/2.617, allocations: 8 kB / 347 MB, free: 1.969 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006161/2.618, allocations: 110.9 kB / 347.1 MB, free: 1.859 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001652/2.62, allocations: 0.5287 MB / 347.6 MB, free: 1.383 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003334/2.62, allocations: 138.3 kB / 347.7 MB, free: 1.227 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002/2.62, allocations: 36 kB / 347.8 MB, free: 1.191 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001708/2.622, allocations: 499 kB / 348.3 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001775/2.624, allocations: 0.7178 MB / 349 MB, free: 244 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.226e-05/2.624, allocations: 3.984 kB / 349 MB, free: 240 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/2.624, allocations: 4 kB / 349 MB, free: 236 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.135e-05/2.624, allocations: 12 kB / 349 MB, free: 224 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006854/2.631, allocations: 2.066 MB / 351.1 MB, free: 14.63 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002049/2.633, allocations: 0.8378 MB / 351.9 MB, free: 13.93 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001057/2.634, allocations: 331.6 kB / 352.2 MB, free: 13.73 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.735e-05/2.634, allocations: 21.77 kB / 352.2 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.126e-05/2.634, allocations: 50.78 kB / 352.3 MB, free: 13.66 MB / 298.7 MB Notification: Performance of pre-optimization done (n=78): time 4.559e-06/2.634, allocations: 0 / 352.3 MB, free: 13.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=78): time 0.004254/2.639, allocations: 0.8641 MB / 353.2 MB, free: 12.97 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005031/2.639, allocations: 0.8269 MB / 354 MB, free: 11.95 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001118/2.64, allocations: 480.8 kB / 354.5 MB, free: 11.6 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000241/2.64, allocations: 25.7 kB / 354.5 MB, free: 11.57 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002312/2.641, allocations: 231.1 kB / 354.7 MB, free: 11.37 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003351/2.641, allocations: 261 kB / 355 MB, free: 11.14 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.69e-05/2.641, allocations: 0 / 355 MB, free: 11.14 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002415/2.641, allocations: 385.3 kB / 355.3 MB, free: 10.79 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007312/2.642, allocations: 211.2 kB / 355.5 MB, free: 10.67 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00101/2.643, allocations: 473 kB / 356 MB, free: 10.24 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007776/2.644, allocations: 256.8 kB / 356.3 MB, free: 10.08 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/2.644, allocations: 0 / 356.3 MB, free: 10.08 MB / 298.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.004265/2.648, allocations: 0.9256 MB / 357.2 MB, free: 9.348 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/2.648, allocations: 4 kB / 357.2 MB, free: 9.344 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/2.648, allocations: 0 / 357.2 MB, free: 9.344 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001119/2.649, allocations: 211.7 kB / 357.4 MB, free: 9.176 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001552/2.651, allocations: 158.9 kB / 357.5 MB, free: 9.023 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01058/2.662, allocations: 5.94 MB / 363.5 MB, free: 2.789 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001489/2.663, allocations: 111.4 kB / 363.6 MB, free: 2.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/2.663, allocations: 24.06 kB / 363.6 MB, free: 2.656 MB / 298.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient2.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipe1.flowPort_b.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipe1.flowPort_a.h:VARIABLE(flow=false unit = "J/kg" ) type: Real ambient1.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real pump.h:VARIABLE(unit = "J/kg" protected = true ) "Medium's specific enthalpy" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {3 3,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003789/2.664, allocations: 136.9 kB / 363.7 MB, free: 2.516 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002439/2.664, allocations: 79.06 kB / 363.8 MB, free: 2.438 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003977/2.664, allocations: 83.55 kB / 363.9 MB, free: 2.348 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.02e-05/2.664, allocations: 8 kB / 363.9 MB, free: 2.34 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.378e-05/2.664, allocations: 3.906 kB / 363.9 MB, free: 2.336 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004015/2.669, allocations: 1.154 MB / 365.1 MB, free: 1.066 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009524/2.678, allocations: 1.781 MB / 366.9 MB, free: 15.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.802e-05/2.678, allocations: 3.938 kB / 366.9 MB, free: 15.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002505/2.681, allocations: 163.8 kB / 367 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001325/2.682, allocations: 162.6 kB / 367.2 MB, free: 14.9 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001702/2.682, allocations: 3.984 kB / 367.2 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009486/2.692, allocations: 4.622 MB / 371.8 MB, free: 9.926 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/2.692, allocations: 0 / 371.8 MB, free: 9.926 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004999/2.697, allocations: 1.269 MB / 373.1 MB, free: 8.637 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008199/2.705, allocations: 2.639 MB / 375.7 MB, free: 5.965 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004839/2.706, allocations: 175.9 kB / 375.9 MB, free: 5.773 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00031/2.706, allocations: 4 kB / 375.9 MB, free: 5.77 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001222/2.707, allocations: 51.86 kB / 375.9 MB, free: 5.719 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002126/2.707, allocations: 48.58 kB / 376 MB, free: 5.672 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.667e-05/2.708, allocations: 16 kB / 376 MB, free: 5.656 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.001039/2.709, allocations: 374.9 kB / 376.4 MB, free: 5.293 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002677/2.711, allocations: 251.6 kB / 376.6 MB, free: 5.047 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 63 * 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 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005103/2.712, allocations: 127 kB / 376.7 MB, free: 4.91 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003445/2.715, allocations: 1.066 MB / 377.8 MB, free: 3.789 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.131e-05/2.715, allocations: 8.062 kB / 377.8 MB, free: 3.781 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003195/2.719, allocations: 0.6871 MB / 378.5 MB, free: 3.059 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002405/2.721, allocations: 174.9 kB / 378.7 MB, free: 2.887 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007669/2.729, allocations: 1.324 MB / 380 MB, free: 1.539 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00189/2.731, allocations: 1.055 MB / 381 MB, free: 468 kB / 314.7 MB Notification: Performance of SimCode: time 1.934e-06/2.731, allocations: 0 / 381 MB, free: 468 kB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat does not exist to compare? outputFormat=mat