Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_3_2_1_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.769/1.769, allocations: 171.2 MB / 178.2 MB, free: 6.719 MB / 147.1 MB Notification: Performance of FrontEnd - loaded program: time 0.1726/1.941, allocations: 41.09 MB / 219.2 MB, free: 13.55 MB / 195.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2171/2.159, allocations: 38.76 MB / 258 MB, free: 5.211 MB / 211.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1613/2.32, allocations: 70.51 MB / 328.5 MB, free: 14.59 MB / 291.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002769/2.32, allocations: 63.97 kB / 328.6 MB, free: 14.53 MB / 291.1 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.06475/2.385, allocations: 10.22 MB / 338.8 MB, free: 4.199 MB / 291.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.035e-05/2.385, allocations: 8 kB / 338.8 MB, free: 4.191 MB / 291.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000348/2.386, allocations: 67.25 kB / 338.9 MB, free: 4.125 MB / 291.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001551/2.387, allocations: 389.8 kB / 339.2 MB, free: 3.707 MB / 291.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002118/2.387, allocations: 46.7 kB / 339.3 MB, free: 3.656 MB / 291.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001421/2.388, allocations: 23.91 kB / 339.3 MB, free: 3.633 MB / 291.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001405/2.389, allocations: 273.4 kB / 339.6 MB, free: 3.363 MB / 291.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00151/2.391, allocations: 409.3 kB / 340 MB, free: 2.91 MB / 291.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.132e-05/2.391, allocations: 0 / 340 MB, free: 2.91 MB / 291.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.758e-05/2.391, allocations: 4 kB / 340 MB, free: 2.906 MB / 291.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.891e-05/2.391, allocations: 8 kB / 340 MB, free: 2.898 MB / 291.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005709/2.397, allocations: 1.24 MB / 341.2 MB, free: 1.594 MB / 291.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002025/2.399, allocations: 412.2 kB / 341.6 MB, free: 1.164 MB / 291.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000699/2.399, allocations: 144.8 kB / 341.8 MB, free: 1.02 MB / 291.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.279e-05/2.399, allocations: 11.98 kB / 341.8 MB, free: 1.008 MB / 291.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.44e-05/2.4, allocations: 38.56 kB / 341.8 MB, free: 0.9609 MB / 291.1 MB Notification: Performance of pre-optimization done (n=38): time 5.581e-06/2.4, allocations: 4 kB / 341.8 MB, free: 0.957 MB / 291.1 MB Notification: Performance of matching and sorting (n=38): time 0.002124/2.402, allocations: 363.4 kB / 342.2 MB, free: 0.5898 MB / 291.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002987/2.402, allocations: 452.6 kB / 342.6 MB, free: 44 kB / 291.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.143/2.545, allocations: 341.2 kB / 343 MB, free: 104.2 MB / 291.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001545/2.545, allocations: 25.7 kB / 343 MB, free: 104.2 MB / 291.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/2.546, allocations: 180.4 kB / 343.2 MB, free: 104.1 MB / 291.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001879/2.546, allocations: 124.6 kB / 343.3 MB, free: 104.1 MB / 291.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.466e-05/2.546, allocations: 3.719 kB / 343.3 MB, free: 104.1 MB / 291.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/2.546, allocations: 353.3 kB / 343.6 MB, free: 103.8 MB / 291.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004833/2.546, allocations: 104.6 kB / 343.7 MB, free: 103.8 MB / 291.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006383/2.547, allocations: 237.9 kB / 344 MB, free: 103.6 MB / 291.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000526/2.548, allocations: 133 kB / 344.1 MB, free: 103.6 MB / 291.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.7e-06/2.548, allocations: 0 / 344.1 MB, free: 103.6 MB / 291.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001762/2.549, allocations: 391.4 kB / 344.5 MB, free: 103.6 MB / 291.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.933e-05/2.55, allocations: 3.75 kB / 344.5 MB, free: 103.6 MB / 291.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.497e-05/2.55, allocations: 0 / 344.5 MB, free: 103.6 MB / 291.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005165/2.55, allocations: 57 kB / 344.5 MB, free: 103.5 MB / 291.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/2.551, allocations: 102.2 kB / 344.6 MB, free: 103.5 MB / 291.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003801/2.555, allocations: 2.614 MB / 347.3 MB, free: 101.2 MB / 291.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001072/2.556, allocations: 53.33 kB / 347.3 MB, free: 101.1 MB / 291.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.42e-05/2.556, allocations: 16.02 kB / 347.3 MB, free: 101.1 MB / 291.1 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 pump.h:VARIABLE(unit = "J/kg" protected = true ) "Medium's specific enthalpy" 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.000335/2.557, allocations: 132.2 kB / 347.5 MB, free: 101 MB / 291.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002301/2.557, allocations: 46.41 kB / 347.5 MB, free: 101 MB / 291.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002351/2.557, allocations: 48.78 kB / 347.5 MB, free: 101 MB / 291.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/2.557, allocations: 5.656 kB / 347.5 MB, free: 101 MB / 291.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/2.557, allocations: 0 / 347.5 MB, free: 101 MB / 291.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001234/2.559, allocations: 0.6543 MB / 348.2 MB, free: 100.5 MB / 291.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002954/2.562, allocations: 0.9105 MB / 349.1 MB, free: 100.2 MB / 291.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/2.562, allocations: 0 / 349.1 MB, free: 100.2 MB / 291.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001285/2.563, allocations: 100.7 kB / 349.2 MB, free: 100.2 MB / 291.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.488e-05/2.563, allocations: 3.875 kB / 349.2 MB, free: 100.2 MB / 291.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.551e-05/2.563, allocations: 6.688 kB / 349.2 MB, free: 100.2 MB / 291.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.192e-06/2.563, allocations: 0 / 349.2 MB, free: 100.2 MB / 291.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.673e-06/2.563, allocations: 7.797 kB / 349.2 MB, free: 100.2 MB / 291.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00174/2.565, allocations: 0.5578 MB / 349.8 MB, free: 100 MB / 291.1 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003536/2.568, allocations: 1.39 MB / 351.2 MB, free: 99.46 MB / 291.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003025/2.569, allocations: 127.6 kB / 351.3 MB, free: 99.35 MB / 291.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001936/2.569, allocations: 6.234 kB / 351.3 MB, free: 99.35 MB / 291.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009535/2.57, allocations: 34.72 kB / 351.3 MB, free: 99.35 MB / 291.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001564/2.57, allocations: 20.44 kB / 351.4 MB, free: 99.35 MB / 291.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.602e-05/2.57, allocations: 14.81 kB / 351.4 MB, free: 99.35 MB / 291.1 MB Notification: Performance of sort global known variables: time 0.000739/2.571, allocations: 274.1 kB / 351.6 MB, free: 99.26 MB / 291.1 MB Notification: Performance of remove unused functions: time 0.002758/2.574, allocations: 135.5 kB / 351.8 MB, free: 99.26 MB / 291.1 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.0003851/2.574, allocations: 110 kB / 351.9 MB, free: 99.17 MB / 291.1 MB Notification: Performance of simCode: created initialization part: time 0.001885/2.576, allocations: 0.524 MB / 352.4 MB, free: 98.94 MB / 291.1 MB Notification: Performance of simCode: created event and clocks part: time 8.676e-06/2.576, allocations: 0 / 352.4 MB, free: 98.94 MB / 291.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005734/2.577, allocations: 149.1 kB / 352.6 MB, free: 98.94 MB / 291.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001387/2.578, allocations: 101.3 kB / 352.7 MB, free: 98.93 MB / 291.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003354/2.582, allocations: 0.6705 MB / 353.3 MB, free: 98.73 MB / 291.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008937/2.583, allocations: 0.8912 MB / 354.2 MB, free: 98.02 MB / 291.1 MB Notification: Performance of SimCode: time 1.633e-06/2.583, allocations: 0 / 354.2 MB, free: 98.02 MB / 291.1 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat does not exist to compare? outputFormat=mat