Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",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 2.959/2.959, allocations: 194.9 MB / 202.6 MB, free: 6.902 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.338/3.297, allocations: 46.82 MB / 249.4 MB, free: 5.336 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/3.447, allocations: 44.52 MB / 293.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5238/3.971, allocations: 76.86 MB / 370.8 MB, free: 7.059 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000447/3.971, allocations: 65.81 kB / 370.8 MB, free: 7.059 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.09837/4.07, allocations: 17.09 MB / 387.9 MB, free: 2.059 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/4.07, allocations: 11.38 kB / 387.9 MB, free: 2.059 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005389/4.07, allocations: 113.2 kB / 388 MB, free: 2.004 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002152/4.073, allocations: 0.5389 MB / 388.6 MB, free: 1.668 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005657/4.073, allocations: 130.1 kB / 388.7 MB, free: 1.566 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003268/4.074, allocations: 42.09 kB / 388.8 MB, free: 1.566 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002615/4.076, allocations: 490.5 kB / 389.2 MB, free: 1.535 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003599/4.08, allocations: 0.711 MB / 389.9 MB, free: 1.148 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.316e-05/4.08, allocations: 7.781 kB / 389.9 MB, free: 1.145 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002722/4.08, allocations: 0 / 389.9 MB, free: 1.145 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.723e-05/4.08, allocations: 15.5 kB / 390 MB, free: 1.145 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01184/4.092, allocations: 2.075 MB / 392 MB, free: 148 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002557/4.095, allocations: 0.8329 MB / 392.9 MB, free: 15.79 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001232/4.096, allocations: 334.7 kB / 393.2 MB, free: 15.77 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001152/4.096, allocations: 18.91 kB / 393.2 MB, free: 15.77 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.02e-05/4.096, allocations: 54.84 kB / 393.3 MB, free: 15.72 MB / 314.7 MB Notification: Performance of pre-optimization done (n=78): time 4.449e-06/4.096, allocations: 0 / 393.3 MB, free: 15.72 MB / 314.7 MB Notification: Performance of matching and sorting (n=78): time 0.005072/4.101, allocations: 0.8665 MB / 394.1 MB, free: 15.48 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005174/4.102, allocations: 0.8225 MB / 395 MB, free: 14.48 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001431/4.103, allocations: 483.4 kB / 395.4 MB, free: 14.34 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002795/4.104, allocations: 29.61 kB / 395.5 MB, free: 14.3 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002723/4.104, allocations: 228.9 kB / 395.7 MB, free: 14.14 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004812/4.105, allocations: 264.6 kB / 395.9 MB, free: 13.94 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.622e-05/4.105, allocations: 1.312 kB / 395.9 MB, free: 13.94 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0004045/4.105, allocations: 382.8 kB / 396.3 MB, free: 13.6 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001167/4.106, allocations: 215.3 kB / 396.5 MB, free: 13.59 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001486/4.108, allocations: 470.6 kB / 397 MB, free: 13.32 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001488/4.109, allocations: 264.5 kB / 397.2 MB, free: 13.27 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-05/4.109, allocations: 0 / 397.2 MB, free: 13.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.008794/4.118, allocations: 0.9231 MB / 398.2 MB, free: 13.03 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.044e-05/4.118, allocations: 5.938 kB / 398.2 MB, free: 13.03 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.304e-05/4.118, allocations: 0 / 398.2 MB, free: 13.03 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002159/4.121, allocations: 207.2 kB / 398.4 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002786/4.123, allocations: 161.3 kB / 398.5 MB, free: 12.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01977/4.143, allocations: 5.945 MB / 404.5 MB, free: 7.742 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002816/4.146, allocations: 100.6 kB / 404.6 MB, free: 7.695 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003946/4.147, allocations: 27.45 kB / 404.6 MB, free: 7.691 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: pipe1.flowPort_b.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipe1.flowPort_a.h:VARIABLE(flow=false unit = "J/kg" ) type: Real ambient1.flowPort.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 (73): * Single equations (assignments): 66 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {3 3,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0007482/4.147, allocations: 127.7 kB / 404.7 MB, free: 7.574 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000575/4.148, allocations: 86.75 kB / 404.8 MB, free: 7.531 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005504/4.149, allocations: 79.97 kB / 404.9 MB, free: 7.508 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.714e-05/4.149, allocations: 7.688 kB / 404.9 MB, free: 7.508 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-05/4.149, allocations: 5.625 kB / 404.9 MB, free: 7.504 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007367/4.156, allocations: 1.159 MB / 406.1 MB, free: 6.816 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01262/4.169, allocations: 1.794 MB / 407.9 MB, free: 6.105 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.85e-05/4.169, allocations: 1.094 kB / 407.9 MB, free: 6.105 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00322/4.172, allocations: 160.3 kB / 408 MB, free: 6.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001505/4.174, allocations: 171.1 kB / 408.2 MB, free: 6.008 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002718/4.174, allocations: 5.688 kB / 408.2 MB, free: 6.008 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01787/4.192, allocations: 4.62 MB / 412.8 MB, free: 2.059 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.847e-06/4.192, allocations: 0 / 412.8 MB, free: 2.059 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009392/4.201, allocations: 1.278 MB / 414.1 MB, free: 1.723 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01575/4.217, allocations: 2.637 MB / 416.7 MB, free: 1 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000689/4.218, allocations: 170.4 kB / 416.9 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006075/4.219, allocations: 2.844 kB / 416.9 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002513/4.221, allocations: 55.17 kB / 416.9 MB, free: 0.8281 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005119/4.222, allocations: 48.02 kB / 417 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001925/4.222, allocations: 17.19 kB / 417 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.001613/4.224, allocations: 374.3 kB / 417.4 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.004936/4.229, allocations: 270.7 kB / 417.6 MB, free: 292 kB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 63 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007915/4.23, allocations: 123.3 kB / 417.8 MB, free: 160 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.005779/4.236, allocations: 1.074 MB / 418.8 MB, free: 15.23 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.997e-05/4.236, allocations: 4 kB / 418.8 MB, free: 15.23 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004345/4.24, allocations: 0.6867 MB / 419.5 MB, free: 14.56 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003308/4.243, allocations: 178.7 kB / 419.7 MB, free: 14.39 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01019/4.254, allocations: 1.291 MB / 421 MB, free: 13.07 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002554/4.256, allocations: 1.051 MB / 422 MB, free: 12 MB / 330.7 MB Notification: Performance of SimCode: time 2.776e-06/4.256, allocations: 0 / 422 MB, free: 12 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat does not exist to compare? outputFormat=mat