Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_3_2_2_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",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.724/1.724, allocations: 194.9 MB / 202.5 MB, free: 6.918 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3379/2.061, allocations: 46.83 MB / 249.3 MB, free: 5.305 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/2.186, allocations: 44.5 MB / 293.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3238/2.51, allocations: 75.84 MB / 369.7 MB, free: 7.086 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002463/2.51, allocations: 73.22 kB / 369.8 MB, free: 7.086 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.04294/2.553, allocations: 10.24 MB / 380 MB, free: 4.938 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.722e-05/2.553, allocations: 11.09 kB / 380 MB, free: 4.938 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003068/2.553, allocations: 62.59 kB / 380.1 MB, free: 4.906 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001307/2.555, allocations: 393.1 kB / 380.4 MB, free: 4.625 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002138/2.555, allocations: 49.66 kB / 380.5 MB, free: 4.59 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001313/2.555, allocations: 27.31 kB / 380.5 MB, free: 4.586 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001443/2.557, allocations: 260.9 kB / 380.8 MB, free: 4.574 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001188/2.558, allocations: 409.4 kB / 381.2 MB, free: 4.352 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.473e-05/2.558, allocations: 5.078 kB / 381.2 MB, free: 4.348 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/2.558, allocations: 0 / 381.2 MB, free: 4.348 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.987e-05/2.558, allocations: 7.906 kB / 381.2 MB, free: 4.348 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004381/2.562, allocations: 1.243 MB / 382.4 MB, free: 3.676 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001164/2.564, allocations: 412.7 kB / 382.8 MB, free: 3.531 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003606/2.564, allocations: 145.2 kB / 383 MB, free: 3.52 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.908e-05/2.564, allocations: 7.844 kB / 383 MB, free: 3.52 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/2.564, allocations: 44.75 kB / 383 MB, free: 3.477 MB / 298.7 MB Notification: Performance of pre-optimization done (n=38): time 3.296e-06/2.564, allocations: 0 / 383 MB, free: 3.477 MB / 298.7 MB Notification: Performance of matching and sorting (n=38): time 0.001184/2.565, allocations: 367.1 kB / 383.4 MB, free: 3.367 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002083/2.566, allocations: 444.5 kB / 383.8 MB, free: 18.84 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006298/2.566, allocations: 343.8 kB / 384.2 MB, free: 18.7 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.347e-05/2.566, allocations: 29.55 kB / 384.2 MB, free: 18.67 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/2.566, allocations: 179.4 kB / 384.4 MB, free: 18.53 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/2.567, allocations: 127 kB / 384.5 MB, free: 18.43 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.01e-05/2.567, allocations: 0 / 384.5 MB, free: 18.43 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002109/2.567, allocations: 363 kB / 384.8 MB, free: 18.1 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000322/2.567, allocations: 105.3 kB / 384.9 MB, free: 18.1 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004255/2.568, allocations: 240.3 kB / 385.2 MB, free: 17.95 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003571/2.568, allocations: 124.2 kB / 385.3 MB, free: 17.93 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/2.568, allocations: 0 / 385.3 MB, free: 17.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001179/2.569, allocations: 408.4 kB / 385.7 MB, free: 17.82 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/2.569, allocations: 3.875 kB / 385.7 MB, free: 17.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.347e-05/2.569, allocations: 0 / 385.7 MB, free: 17.82 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003644/2.57, allocations: 58.38 kB / 385.8 MB, free: 17.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008496/2.57, allocations: 102 kB / 385.9 MB, free: 17.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00301/2.574, allocations: 2.618 MB / 388.5 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007941/2.574, allocations: 55.05 kB / 388.5 MB, free: 15.24 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-05/2.574, allocations: 15.44 kB / 388.5 MB, free: 15.24 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: ambient1.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real pipe.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 (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002388/2.575, allocations: 123.9 kB / 388.7 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/2.575, allocations: 50.81 kB / 388.7 MB, free: 15.1 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001673/2.575, allocations: 45.62 kB / 388.8 MB, free: 15.08 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/2.575, allocations: 3.906 kB / 388.8 MB, free: 15.08 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/2.575, allocations: 0 / 388.8 MB, free: 15.08 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009144/2.576, allocations: 0.6638 MB / 389.4 MB, free: 14.52 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001924/2.578, allocations: 0.9121 MB / 390.3 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/2.578, allocations: 4 kB / 390.3 MB, free: 14.03 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009213/2.579, allocations: 104.3 kB / 390.4 MB, free: 14.01 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.003e-05/2.579, allocations: 7.828 kB / 390.5 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.619e-05/2.579, allocations: 8 kB / 390.5 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.623e-06/2.579, allocations: 7.844 kB / 390.5 MB, free: 13.99 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/2.579, allocations: 0 / 390.5 MB, free: 13.99 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001167/2.58, allocations: 0.5583 MB / 391 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002397/2.583, allocations: 1.393 MB / 392.4 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001879/2.583, allocations: 135 kB / 392.5 MB, free: 13.11 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/2.583, allocations: 0 / 392.5 MB, free: 13.11 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006318/2.584, allocations: 27.28 kB / 392.6 MB, free: 13.1 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/2.584, allocations: 27.16 kB / 392.6 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.544e-05/2.584, allocations: 14.48 kB / 392.6 MB, free: 13.08 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0004634/2.584, allocations: 264.8 kB / 392.9 MB, free: 12.99 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001574/2.586, allocations: 140.1 kB / 393 MB, free: 12.96 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002599/2.586, allocations: 106.3 kB / 393.1 MB, free: 12.88 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001258/2.587, allocations: 0.5289 MB / 393.6 MB, free: 12.6 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/2.587, allocations: 5.438 kB / 393.6 MB, free: 12.6 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003876/2.588, allocations: 151 kB / 393.8 MB, free: 12.58 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009315/2.589, allocations: 111.9 kB / 393.9 MB, free: 12.55 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002306/2.591, allocations: 0.6544 MB / 394.6 MB, free: 12.2 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006882/2.592, allocations: 0.9008 MB / 395.5 MB, free: 11.41 MB / 314.7 MB Notification: Performance of SimCode: time 9.92e-07/2.592, allocations: 0 / 395.5 MB, free: 11.41 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat does not exist to compare? outputFormat=mat