Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_3_2_2_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.811/1.811, allocations: 194.9 MB / 202.5 MB, free: 6.93 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2298/2.041, allocations: 46.82 MB / 249.3 MB, free: 5.387 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09553/2.136, allocations: 44.51 MB / 293.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2991/2.436, allocations: 75.9 MB / 369.7 MB, free: 7.145 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003146/2.436, allocations: 72.8 kB / 369.8 MB, free: 7.145 MB / 298.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.08815/2.524, allocations: 19 MB / 388.8 MB, free: 1.738 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/2.524, allocations: 7.469 kB / 388.8 MB, free: 1.738 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004211/2.525, allocations: 124.8 kB / 388.9 MB, free: 1.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001499/2.526, allocations: 0.5777 MB / 389.5 MB, free: 1.324 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002725/2.526, allocations: 140.2 kB / 389.7 MB, free: 1.219 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001381/2.527, allocations: 38.66 kB / 389.7 MB, free: 1.219 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001672/2.528, allocations: 0.517 MB / 390.2 MB, free: 1.176 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00164/2.53, allocations: 0.7828 MB / 391 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.095e-05/2.53, allocations: 3.75 kB / 391 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/2.53, allocations: 0 / 391 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.835e-05/2.53, allocations: 15.25 kB / 391 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006764/2.537, allocations: 2.386 MB / 393.4 MB, free: 15.48 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002266/2.539, allocations: 0.6889 MB / 394.1 MB, free: 15.31 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009716/2.54, allocations: 298.1 kB / 394.4 MB, free: 15.29 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.684e-05/2.54, allocations: 16.88 kB / 394.4 MB, free: 15.29 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.594e-05/2.54, allocations: 54.64 kB / 394.4 MB, free: 15.24 MB / 314.7 MB Notification: Performance of pre-optimization done (n=72): time 3.858e-06/2.541, allocations: 0 / 394.4 MB, free: 15.24 MB / 314.7 MB Notification: Performance of matching and sorting (n=72): time 0.002445/2.543, allocations: 0.6503 MB / 395.1 MB, free: 15.06 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004499/2.543, allocations: 0.9571 MB / 396.1 MB, free: 13.9 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00133/2.545, allocations: 0.556 MB / 396.6 MB, free: 13.73 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002353/2.545, allocations: 32.2 kB / 396.6 MB, free: 13.7 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002526/2.545, allocations: 283.3 kB / 396.9 MB, free: 13.49 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003811/2.546, allocations: 238.1 kB / 397.2 MB, free: 13.32 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.836e-05/2.546, allocations: 5.281 kB / 397.2 MB, free: 13.31 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002156/2.546, allocations: 390 kB / 397.5 MB, free: 12.97 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006794/2.547, allocations: 205.4 kB / 397.7 MB, free: 12.97 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001135/2.548, allocations: 0.5166 MB / 398.3 MB, free: 12.61 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008187/2.549, allocations: 269 kB / 398.5 MB, free: 12.57 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/2.549, allocations: 1.344 kB / 398.5 MB, free: 12.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00276/2.552, allocations: 0.7748 MB / 399.3 MB, free: 12.37 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.888e-05/2.552, allocations: 8.688 kB / 399.3 MB, free: 12.37 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.667e-05/2.552, allocations: 1.031 kB / 399.3 MB, free: 12.37 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001087/2.553, allocations: 168.8 kB / 399.5 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00158/2.554, allocations: 169.2 kB / 399.6 MB, free: 12.25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008564/2.563, allocations: 6.606 MB / 406.2 MB, free: 5.941 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001479/2.564, allocations: 94.03 kB / 406.3 MB, free: 5.891 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/2.565, allocations: 25.75 kB / 406.4 MB, free: 5.891 MB / 314.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.0003657/2.565, allocations: 142.4 kB / 406.5 MB, free: 5.762 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00026/2.565, allocations: 90.77 kB / 406.6 MB, free: 5.719 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003166/2.566, allocations: 86.34 kB / 406.7 MB, free: 5.691 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/2.566, allocations: 6.5 kB / 406.7 MB, free: 5.691 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.761e-05/2.566, allocations: 1.188 kB / 406.7 MB, free: 5.691 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001813/2.567, allocations: 0.8771 MB / 407.6 MB, free: 5.09 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00415/2.572, allocations: 1.552 MB / 409.1 MB, free: 4.395 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.956e-05/2.572, allocations: 0 / 409.1 MB, free: 4.395 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001651/2.573, allocations: 167.8 kB / 409.3 MB, free: 4.355 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001845/2.574, allocations: 30.25 kB / 409.3 MB, free: 4.344 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.926e-05/2.574, allocations: 9.406 kB / 409.3 MB, free: 4.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001568/2.575, allocations: 1.371 MB / 410.7 MB, free: 3.031 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.055e-06/2.575, allocations: 4.031 kB / 410.7 MB, free: 3.027 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002766/2.578, allocations: 0.9475 MB / 411.6 MB, free: 2.773 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005132/2.583, allocations: 2.157 MB / 413.8 MB, free: 2.129 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004576/2.584, allocations: 176.6 kB / 414 MB, free: 1.973 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000277/2.584, allocations: 8.906 kB / 414 MB, free: 1.969 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/2.585, allocations: 39 kB / 414 MB, free: 1.953 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001423/2.585, allocations: 39.92 kB / 414 MB, free: 1.934 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.747e-05/2.585, allocations: 19.03 kB / 414.1 MB, free: 1.934 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.000993/2.586, allocations: 434.4 kB / 414.5 MB, free: 1.812 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002679/2.589, allocations: 275.5 kB / 414.8 MB, free: 1.785 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.0004096/2.59, allocations: 124.4 kB / 414.9 MB, free: 1.676 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00376/2.593, allocations: 1.181 MB / 416.1 MB, free: 1.008 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.335e-06/2.593, allocations: 2.281 kB / 416.1 MB, free: 1.008 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001008/2.594, allocations: 377.8 kB / 416.4 MB, free: 0.8789 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001979/2.596, allocations: 199.2 kB / 416.6 MB, free: 0.832 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005113/2.602, allocations: 1.243 MB / 417.9 MB, free: 15.94 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001276/2.603, allocations: 1.086 MB / 419 MB, free: 14.83 MB / 330.7 MB Notification: Performance of SimCode: time 1.303e-06/2.603, allocations: 0 / 419 MB, free: 14.83 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat does not exist to compare? outputFormat=mat