Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="cs",version="2.0",platforms={"dynamic"}) [: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 3.035/3.035, allocations: 194.9 MB / 202.6 MB, free: 6.895 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3696/3.405, allocations: 46.82 MB / 249.4 MB, free: 5.352 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/3.549, allocations: 44.51 MB / 293.9 MB, free: 10.87 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4484/3.997, allocations: 75.84 MB / 369.7 MB, free: 7.102 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000305/3.998, allocations: 69.05 kB / 369.8 MB, free: 7.102 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.06902/4.067, allocations: 10.24 MB / 380 MB, free: 4.938 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/4.067, allocations: 15.69 kB / 380.1 MB, free: 4.934 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003341/4.067, allocations: 62.38 kB / 380.1 MB, free: 4.902 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001189/4.068, allocations: 392.4 kB / 380.5 MB, free: 4.621 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001745/4.068, allocations: 53.69 kB / 380.6 MB, free: 4.586 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/4.069, allocations: 23.34 kB / 380.6 MB, free: 4.582 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001105/4.07, allocations: 261.3 kB / 380.8 MB, free: 4.57 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001518/4.071, allocations: 412.3 kB / 381.2 MB, free: 4.348 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.195e-05/4.071, allocations: 0 / 381.2 MB, free: 4.348 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.362e-05/4.071, allocations: 3.875 kB / 381.2 MB, free: 4.348 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.643e-05/4.072, allocations: 7.75 kB / 381.3 MB, free: 4.348 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004578/4.076, allocations: 1.241 MB / 382.5 MB, free: 3.672 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001747/4.078, allocations: 410.4 kB / 382.9 MB, free: 3.527 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005849/4.079, allocations: 152.3 kB / 383 MB, free: 3.512 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.859e-05/4.079, allocations: 7.438 kB / 383.1 MB, free: 3.512 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.876e-05/4.079, allocations: 44.19 kB / 383.1 MB, free: 3.469 MB / 298.7 MB Notification: Performance of pre-optimization done (n=38): time 4.458e-06/4.079, allocations: 1.094 kB / 383.1 MB, free: 3.469 MB / 298.7 MB Notification: Performance of matching and sorting (n=38): time 0.001664/4.08, allocations: 366.2 kB / 383.5 MB, free: 3.359 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002637/4.081, allocations: 448.3 kB / 383.9 MB, free: 18.83 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008538/4.082, allocations: 341.7 kB / 384.2 MB, free: 18.7 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001731/4.082, allocations: 25.7 kB / 384.2 MB, free: 18.66 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/4.082, allocations: 188.7 kB / 384.4 MB, free: 18.52 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002143/4.082, allocations: 124.5 kB / 384.6 MB, free: 18.43 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.228e-05/4.082, allocations: 0 / 384.6 MB, free: 18.43 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0003141/4.083, allocations: 355.3 kB / 384.9 MB, free: 18.1 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006948/4.083, allocations: 109.2 kB / 385 MB, free: 18.09 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008283/4.084, allocations: 246.9 kB / 385.3 MB, free: 17.94 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005169/4.085, allocations: 123.5 kB / 385.4 MB, free: 17.92 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/4.085, allocations: 3.938 kB / 385.4 MB, free: 17.92 MB / 314.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001993/4.087, allocations: 390.1 kB / 385.8 MB, free: 17.81 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.823e-05/4.087, allocations: 11.81 kB / 385.8 MB, free: 17.81 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/4.087, allocations: 0 / 385.8 MB, free: 17.81 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006772/4.088, allocations: 59.09 kB / 385.8 MB, free: 17.78 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001342/4.089, allocations: 97.22 kB / 385.9 MB, free: 17.76 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005159/4.094, allocations: 2.619 MB / 388.5 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001761/4.096, allocations: 55.08 kB / 388.6 MB, free: 15.24 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001981/4.096, allocations: 15.03 kB / 388.6 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.0005515/4.097, allocations: 124.5 kB / 388.7 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003519/4.097, allocations: 46.72 kB / 388.8 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003539/4.098, allocations: 45.34 kB / 388.8 MB, free: 15.08 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.544e-05/4.098, allocations: 7.875 kB / 388.8 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.816e-06/4.098, allocations: 3.938 kB / 388.8 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00132/4.099, allocations: 0.6604 MB / 389.5 MB, free: 14.51 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004602/4.104, allocations: 0.9129 MB / 390.4 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-05/4.104, allocations: 7.906 kB / 390.4 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0017/4.106, allocations: 108.4 kB / 390.5 MB, free: 13.99 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.226e-05/4.106, allocations: 0 / 390.5 MB, free: 13.99 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000135/4.106, allocations: 0 / 390.5 MB, free: 13.99 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.308e-05/4.106, allocations: 7.719 kB / 390.5 MB, free: 13.99 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/4.106, allocations: 0 / 390.5 MB, free: 13.99 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002344/4.108, allocations: 0.5589 MB / 391.1 MB, free: 13.79 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004306/4.113, allocations: 1.401 MB / 392.5 MB, free: 13.22 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004114/4.113, allocations: 126.7 kB / 392.6 MB, free: 13.1 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002143/4.113, allocations: 3.906 kB / 392.6 MB, free: 13.1 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001161/4.115, allocations: 31.53 kB / 392.6 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002352/4.115, allocations: 23.56 kB / 392.7 MB, free: 13.08 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001031/4.115, allocations: 10.98 kB / 392.7 MB, free: 13.07 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0009638/4.116, allocations: 270.8 kB / 392.9 MB, free: 12.98 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00291/4.119, allocations: 144 kB / 393.1 MB, free: 12.95 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.0004088/4.119, allocations: 110.5 kB / 393.2 MB, free: 12.86 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001746/4.121, allocations: 0.5319 MB / 393.7 MB, free: 12.59 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.253e-06/4.121, allocations: 3.938 kB / 393.7 MB, free: 12.59 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005375/4.122, allocations: 145.8 kB / 393.9 MB, free: 12.57 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001397/4.123, allocations: 99.23 kB / 394 MB, free: 12.55 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003531/4.127, allocations: 0.659 MB / 394.6 MB, free: 12.19 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001281/4.128, allocations: 0.906 MB / 395.5 MB, free: 11.4 MB / 314.7 MB Notification: Performance of SimCode: time 1.943e-06/4.128, allocations: 0 / 395.5 MB, free: 11.4 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat does not exist to compare? outputFormat=mat