Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH",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(ModelicaTest): time 2.552/2.552, allocations: 235 MB / 242 MB, free: 9.766 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1721/2.724, allocations: 57.21 MB / 299.2 MB, free: 440 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/3.01, allocations: 54.86 MB / 354.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.124/10.13, allocations: 2.617 GB / 2.963 GB, free: 74.36 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004268/10.14, allocations: 87.08 kB / 2.963 GB, free: 74.32 MB / 474.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 2.422/12.56, allocations: 435.7 MB / 3.388 GB, free: 1.91 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/12.56, allocations: 8 kB / 3.388 GB, free: 1.902 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005438/12.56, allocations: 370.6 kB / 3.389 GB, free: 1.539 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002165/12.56, allocations: 0.5899 MB / 3.389 GB, free: 0.918 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.965e-05/12.56, allocations: 24 kB / 3.389 GB, free: 0.8945 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002041/12.57, allocations: 39.94 kB / 3.389 GB, free: 0.8555 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00221/12.57, allocations: 0.5493 MB / 3.39 GB, free: 312 kB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002413/12.57, allocations: 0.6718 MB / 3.39 GB, free: 15.57 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.452e-05/12.57, allocations: 4 kB / 3.39 GB, free: 15.57 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001411/12.57, allocations: 0 / 3.39 GB, free: 15.57 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.917e-05/12.57, allocations: 21.31 kB / 3.39 GB, free: 15.54 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.406/12.98, allocations: 37.06 MB / 3.427 GB, free: 74.94 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009208/12.98, allocations: 313.3 kB / 3.427 GB, free: 74.91 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005849/12.98, allocations: 203.2 kB / 3.427 GB, free: 74.91 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07904/13.06, allocations: 20.34 MB / 3.447 GB, free: 62.04 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.914e-05/13.06, allocations: 42.34 kB / 3.447 GB, free: 62 MB / 490.7 MB Notification: Performance of pre-optimization done (n=42): time 8.636e-06/13.06, allocations: 0 / 3.447 GB, free: 62 MB / 490.7 MB Notification: Performance of matching and sorting (n=58): time 0.06006/13.12, allocations: 3.354 MB / 3.45 GB, free: 61.39 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.075e-05/13.12, allocations: 115.6 kB / 3.45 GB, free: 61.26 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/13.12, allocations: 410.6 kB / 3.451 GB, free: 61.14 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002328/13.12, allocations: 25.7 kB / 3.451 GB, free: 61.11 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002931/13.12, allocations: 301.9 kB / 3.451 GB, free: 60.95 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003837/13.12, allocations: 193.8 kB / 3.451 GB, free: 60.84 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000142/13.12, allocations: 0 / 3.451 GB, free: 60.84 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000196/13.12, allocations: 367.5 kB / 3.452 GB, free: 60.53 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001491/13.12, allocations: 307 kB / 3.452 GB, free: 60.53 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001738/13.12, allocations: 0.4996 MB / 3.452 GB, free: 60.29 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005072/13.13, allocations: 458.6 kB / 3.453 GB, free: 60.29 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.727e-05/13.13, allocations: 0.9062 kB / 3.453 GB, free: 60.29 MB / 490.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.01188/13.14, allocations: 1.406 MB / 3.454 GB, free: 60.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00078/13.14, allocations: 2.438 MB / 3.457 GB, free: 57.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.207e-05/13.14, allocations: 5.156 kB / 3.457 GB, free: 57.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00771/13.15, allocations: 0.5846 MB / 3.457 GB, free: 57.64 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00216/13.15, allocations: 167.5 kB / 3.457 GB, free: 57.64 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008617/13.16, allocations: 1.837 MB / 3.459 GB, free: 56.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003451/13.16, allocations: 114.1 kB / 3.459 GB, free: 56.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000421/13.16, allocations: 49.47 kB / 3.459 GB, free: 56.59 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/13.16, allocations: 7.438 kB / 3.459 GB, free: 56.59 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01135/13.17, allocations: 1.036 MB / 3.46 GB, free: 56.56 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-05/13.18, allocations: 7.344 kB / 3.46 GB, free: 56.56 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005179/13.18, allocations: 372 kB / 3.461 GB, free: 56.54 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002203/13.18, allocations: 180.7 kB / 3.461 GB, free: 56.54 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004582/13.19, allocations: 1.555 MB / 3.462 GB, free: 55.49 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001808/13.19, allocations: 95.59 kB / 3.462 GB, free: 55.49 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001653/13.19, allocations: 41.19 kB / 3.463 GB, free: 55.49 MB / 490.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pump.medium.p:DUMMY_DER(fixed = false ) "Absolute pressure of medium" type: Real $DER.pump.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 6 (Sink.medium.phase,pump.heatTransfer.states[1].phase,Source.medium.phase,Valve.state_b.phase,Valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 66 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 10,2 12} Notification: Performance of prepare postOptimizeDAE: time 0.0004974/13.19, allocations: 127.6 kB / 3.463 GB, free: 55.38 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001436/13.19, allocations: 279.6 kB / 3.463 GB, free: 55.35 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008522/13.2, allocations: 3.107 MB / 3.466 GB, free: 55.13 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.62e-05/13.2, allocations: 27.77 kB / 3.466 GB, free: 55.13 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/13.2, allocations: 0 / 3.466 GB, free: 55.13 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.262e-05/13.2, allocations: 7.375 kB / 3.466 GB, free: 55.12 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009397/13.21, allocations: 4.151 MB / 3.47 GB, free: 54.71 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.088e-05/13.21, allocations: 0 / 3.47 GB, free: 54.71 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008079/13.21, allocations: 91.47 kB / 3.47 GB, free: 54.71 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004713/13.21, allocations: 1.061 MB / 3.471 GB, free: 54.67 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001554/13.22, allocations: 18.75 kB / 3.471 GB, free: 54.67 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004511/13.22, allocations: 2.258 MB / 3.473 GB, free: 53.59 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.654e-06/13.22, allocations: 0 / 3.473 GB, free: 53.59 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006898/13.23, allocations: 2.543 MB / 3.476 GB, free: 53.2 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007934/13.23, allocations: 2.998 MB / 3.479 GB, free: 52.46 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008928/13.24, allocations: 293.1 kB / 3.479 GB, free: 52.31 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002829/13.24, allocations: 3.438 kB / 3.479 GB, free: 52.31 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001602/13.24, allocations: 86.95 kB / 3.479 GB, free: 52.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002432/13.24, allocations: 58.08 kB / 3.479 GB, free: 52.29 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001311/13.24, allocations: 33.08 kB / 3.479 GB, free: 52.29 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0007786/13.24, allocations: 361 kB / 3.48 GB, free: 52.21 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01793/13.26, allocations: 1.822 MB / 3.481 GB, free: 52.2 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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 {2 9,2 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.01469/13.27, allocations: 1.981 MB / 3.483 GB, free: 51.99 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00723/13.28, allocations: 1.878 MB / 3.485 GB, free: 51.95 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.165e-05/13.28, allocations: 3 kB / 3.485 GB, free: 51.95 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002805/13.28, allocations: 1.181 MB / 3.486 GB, free: 51.94 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003392/13.29, allocations: 254.3 kB / 3.487 GB, free: 51.93 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07842/13.36, allocations: 15.17 MB / 3.501 GB, free: 50.95 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001173/13.36, allocations: 1.164 MB / 3.502 GB, free: 50.22 MB / 490.7 MB Notification: Performance of SimCode: time 1.342e-06/13.36, allocations: 0 / 3.502 GB, free: 50.22 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_res.mat does not exist to compare? outputFormat=mat