Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_3_2_1_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",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.789/1.79, allocations: 171.2 MB / 178.1 MB, free: 8.301 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2264/2.016, allocations: 41.11 MB / 219.2 MB, free: 11.2 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/2.122, allocations: 38.76 MB / 258 MB, free: 4.375 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3285/2.451, allocations: 70.88 MB / 328.9 MB, free: 1.164 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002851/2.451, allocations: 70.41 kB / 329 MB, free: 1.129 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.09227/2.543, allocations: 18.93 MB / 347.9 MB, free: 1.41 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.179e-05/2.543, allocations: 8 kB / 347.9 MB, free: 1.402 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000723/2.544, allocations: 126.7 kB / 348 MB, free: 1.277 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00184/2.546, allocations: 0.5844 MB / 348.6 MB, free: 0.75 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003524/2.546, allocations: 126.4 kB / 348.7 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001966/2.547, allocations: 43.12 kB / 348.8 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00174/2.548, allocations: 0.5137 MB / 349.3 MB, free: 248 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002108/2.551, allocations: 0.7989 MB / 350.1 MB, free: 15.51 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.176e-05/2.551, allocations: 0 / 350.1 MB, free: 15.51 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001148/2.551, allocations: 0 / 350.1 MB, free: 15.51 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.163e-05/2.551, allocations: 16 kB / 350.1 MB, free: 15.5 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007455/2.558, allocations: 2.371 MB / 352.5 MB, free: 13.59 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002405/2.561, allocations: 0.6807 MB / 353.2 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009614/2.562, allocations: 301 kB / 353.4 MB, free: 12.88 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001072/2.562, allocations: 19.89 kB / 353.5 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.124e-05/2.562, allocations: 48.09 kB / 353.5 MB, free: 12.81 MB / 298.7 MB Notification: Performance of pre-optimization done (n=72): time 6.121e-06/2.562, allocations: 0 / 353.5 MB, free: 12.81 MB / 298.7 MB Notification: Performance of matching and sorting (n=72): time 0.002598/2.565, allocations: 0.6653 MB / 354.2 MB, free: 12.29 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005244/2.565, allocations: 0.9519 MB / 355.1 MB, free: 11.11 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001296/2.566, allocations: 0.5555 MB / 355.7 MB, free: 10.7 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002219/2.567, allocations: 29.7 kB / 355.7 MB, free: 10.66 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002477/2.567, allocations: 275 kB / 356 MB, free: 10.43 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003084/2.567, allocations: 245.6 kB / 356.2 MB, free: 10.21 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.614e-05/2.567, allocations: 0 / 356.2 MB, free: 10.21 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002237/2.568, allocations: 385.3 kB / 356.6 MB, free: 9.859 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007702/2.568, allocations: 210.9 kB / 356.8 MB, free: 9.742 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001221/2.57, allocations: 0.5129 MB / 357.3 MB, free: 9.234 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001073/2.571, allocations: 269.6 kB / 357.6 MB, free: 9.066 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/2.571, allocations: 0 / 357.6 MB, free: 9.066 MB / 298.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.004293/2.575, allocations: 0.7814 MB / 358.4 MB, free: 8.32 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.701e-05/2.575, allocations: 8 kB / 358.4 MB, free: 8.312 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/2.575, allocations: 0 / 358.4 MB, free: 8.312 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001156/2.576, allocations: 168.2 kB / 358.5 MB, free: 8.133 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001657/2.578, allocations: 167.7 kB / 358.7 MB, free: 7.969 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0103/2.588, allocations: 6.595 MB / 365.3 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002272/2.591, allocations: 91.44 kB / 365.4 MB, free: 0.707 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000173/2.591, allocations: 24 kB / 365.4 MB, free: 0.6836 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: outerPump.flowPort_b.H_flow:VARIABLE(flow=true unit = "W" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: absolutePressure.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: innerPipe.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: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 71 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 4 {1 3,1 1,1 3,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004237/2.591, allocations: 141 kB / 365.5 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003321/2.592, allocations: 90.97 kB / 365.6 MB, free: 460 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003277/2.592, allocations: 83.62 kB / 365.7 MB, free: 372 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.327e-05/2.592, allocations: 8 kB / 365.7 MB, free: 364 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.646e-05/2.592, allocations: 0 / 365.7 MB, free: 364 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001895/2.594, allocations: 0.875 MB / 366.6 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005862/2.6, allocations: 1.535 MB / 368.1 MB, free: 13.78 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.199e-05/2.6, allocations: 0 / 368.1 MB, free: 13.78 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002396/2.602, allocations: 167.8 kB / 368.3 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002448/2.603, allocations: 32.84 kB / 368.3 MB, free: 13.58 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001579/2.603, allocations: 7.984 kB / 368.3 MB, free: 13.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002296/2.605, allocations: 1.392 MB / 369.7 MB, free: 12.05 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/2.605, allocations: 0 / 369.7 MB, free: 12.05 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004166/2.609, allocations: 0.9351 MB / 370.7 MB, free: 11.1 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008236/2.618, allocations: 2.164 MB / 372.8 MB, free: 8.914 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006064/2.618, allocations: 168 kB / 373 MB, free: 8.73 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005835/2.619, allocations: 4 kB / 373 MB, free: 8.727 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001668/2.621, allocations: 39.88 kB / 373 MB, free: 8.688 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002858/2.621, allocations: 40.59 kB / 373.1 MB, free: 8.648 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001141/2.621, allocations: 19.98 kB / 373.1 MB, free: 8.629 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.001518/2.623, allocations: 435.2 kB / 373.5 MB, free: 8.207 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.003234/2.626, allocations: 257.7 kB / 373.8 MB, free: 7.957 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (heatCapacitor.T,pipe1.T,outerPipe.T,innerPipe.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 68 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004549/2.626, allocations: 119.1 kB / 373.9 MB, free: 7.832 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004588/2.631, allocations: 1.181 MB / 375.1 MB, free: 6.586 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.044e-05/2.631, allocations: 7.859 kB / 375.1 MB, free: 6.578 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001071/2.632, allocations: 380.2 kB / 375.4 MB, free: 6.191 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001765/2.634, allocations: 203.1 kB / 375.6 MB, free: 5.996 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005961/2.64, allocations: 1.274 MB / 376.9 MB, free: 4.691 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001507/2.642, allocations: 1.082 MB / 378 MB, free: 3.586 MB / 314.7 MB Notification: Performance of SimCode: time 1.533e-06/2.642, allocations: 0 / 378 MB, free: 3.586 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat does not exist to compare? outputFormat=mat