Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_3_2_1_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",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.896/1.896, allocations: 171.2 MB / 178.1 MB, free: 8.285 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2159/2.112, allocations: 41.1 MB / 219.2 MB, free: 11.18 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09294/2.205, allocations: 38.76 MB / 258 MB, free: 4.359 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2909/2.496, allocations: 70.9 MB / 328.9 MB, free: 1.191 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002293/2.496, allocations: 65.91 kB / 329 MB, free: 1.16 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 141 * Number of variables: 141 Notification: Performance of Generate backend data structure: time 0.08566/2.582, allocations: 16.21 MB / 345.2 MB, free: 3.656 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.265e-05/2.582, allocations: 8 kB / 345.2 MB, free: 3.648 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006287/2.583, allocations: 102.9 kB / 345.3 MB, free: 3.547 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00236/2.585, allocations: 0.5121 MB / 345.8 MB, free: 3.078 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005289/2.586, allocations: 126.4 kB / 345.9 MB, free: 2.93 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000321/2.586, allocations: 37.81 kB / 346 MB, free: 2.895 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002626/2.589, allocations: 468.2 kB / 346.4 MB, free: 2.605 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002756/2.592, allocations: 0.7 MB / 347.1 MB, free: 1.965 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.68e-05/2.592, allocations: 3.25 kB / 347.1 MB, free: 1.965 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001563/2.592, allocations: 4 kB / 347.1 MB, free: 1.961 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.524e-05/2.592, allocations: 12 kB / 347.1 MB, free: 1.949 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009142/2.601, allocations: 1.937 MB / 349.1 MB, free: 452 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003838/2.605, allocations: 0.8428 MB / 349.9 MB, free: 15.73 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001501/2.607, allocations: 317.5 kB / 350.2 MB, free: 15.54 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001249/2.607, allocations: 24.56 kB / 350.2 MB, free: 15.52 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.318e-05/2.607, allocations: 45.09 kB / 350.3 MB, free: 15.47 MB / 298.7 MB Notification: Performance of pre-optimization done (n=74): time 6.191e-06/2.607, allocations: 0 / 350.3 MB, free: 15.47 MB / 298.7 MB Notification: Performance of matching and sorting (n=74): time 0.005878/2.613, allocations: 0.8244 MB / 351.1 MB, free: 14.81 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005974/2.613, allocations: 0.823 MB / 351.9 MB, free: 13.79 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00154/2.615, allocations: 454.5 kB / 352.4 MB, free: 13.45 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002863/2.615, allocations: 29.7 kB / 352.4 MB, free: 13.42 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002897/2.616, allocations: 222.5 kB / 352.6 MB, free: 13.22 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005015/2.616, allocations: 253.3 kB / 352.9 MB, free: 13 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.15e-05/2.616, allocations: 0 / 352.9 MB, free: 13 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002835/2.617, allocations: 375.6 kB / 353.2 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001044/2.618, allocations: 201.5 kB / 353.4 MB, free: 12.55 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00154/2.619, allocations: 466 kB / 353.9 MB, free: 12.11 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00129/2.621, allocations: 248.5 kB / 354.1 MB, free: 11.96 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.004e-05/2.621, allocations: 0 / 354.1 MB, free: 11.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.006284/2.627, allocations: 0.8963 MB / 355 MB, free: 11.25 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.006e-05/2.627, allocations: 4 kB / 355 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.785e-05/2.627, allocations: 0 / 355 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002137/2.629, allocations: 213.1 kB / 355.2 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001718/2.631, allocations: 127 kB / 355.4 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0133/2.644, allocations: 5.952 MB / 361.3 MB, free: 4.926 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001547/2.646, allocations: 87.53 kB / 361.4 MB, free: 4.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001317/2.646, allocations: 27.98 kB / 361.4 MB, free: 4.812 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 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 (70): * Single equations (assignments): 63 * 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 {1 5,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003878/2.647, allocations: 128.9 kB / 361.6 MB, free: 4.68 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004276/2.647, allocations: 83.09 kB / 361.6 MB, free: 4.598 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005138/2.648, allocations: 75.02 kB / 361.7 MB, free: 4.516 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.566e-05/2.648, allocations: 4 kB / 361.7 MB, free: 4.512 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-05/2.648, allocations: 8 kB / 361.7 MB, free: 4.504 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006234/2.654, allocations: 1.123 MB / 362.8 MB, free: 3.266 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01078/2.665, allocations: 1.715 MB / 364.6 MB, free: 1.488 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.785e-05/2.665, allocations: 4 kB / 364.6 MB, free: 1.484 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002296/2.667, allocations: 135.8 kB / 364.7 MB, free: 1.352 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0013/2.668, allocations: 166.5 kB / 364.9 MB, free: 1.18 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002112/2.669, allocations: 7.984 kB / 364.9 MB, free: 1.172 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01418/2.683, allocations: 4.622 MB / 369.5 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.357e-06/2.683, allocations: 0 / 369.5 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007359/2.69, allocations: 1.228 MB / 370.7 MB, free: 10.93 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01157/2.702, allocations: 2.519 MB / 373.2 MB, free: 8.367 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005421/2.703, allocations: 160 kB / 373.4 MB, free: 8.191 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003976/2.703, allocations: 7.938 kB / 373.4 MB, free: 8.184 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001485/2.705, allocations: 39.88 kB / 373.4 MB, free: 8.145 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003328/2.705, allocations: 44.59 kB / 373.5 MB, free: 8.102 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001241/2.705, allocations: 16 kB / 373.5 MB, free: 8.086 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.001915/2.707, allocations: 354.9 kB / 373.8 MB, free: 7.742 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002536/2.71, allocations: 251.5 kB / 374.1 MB, free: 7.496 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (62): * Single equations (assignments): 59 * 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.0004704/2.71, allocations: 115.1 kB / 374.2 MB, free: 7.371 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004956/2.715, allocations: 1.051 MB / 375.3 MB, free: 6.266 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.249e-05/2.715, allocations: 0 / 375.3 MB, free: 6.266 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003629/2.719, allocations: 0.6523 MB / 375.9 MB, free: 5.582 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002481/2.721, allocations: 158.1 kB / 376.1 MB, free: 5.43 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006227/2.728, allocations: 1.258 MB / 377.3 MB, free: 4.137 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001082/2.729, allocations: 1.031 MB / 378.4 MB, free: 3.078 MB / 314.7 MB Notification: Performance of SimCode: time 1.343e-06/2.729, allocations: 0 / 378.4 MB, free: 3.078 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat does not exist to compare? outputFormat=mat