Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCV",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.372/2.372, allocations: 235.1 MB / 242 MB, free: 9.742 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2183/2.59, allocations: 57.2 MB / 299.2 MB, free: 428 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3645/2.955, allocations: 54.86 MB / 354.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.896/9.851, allocations: 2.612 GB / 2.958 GB, free: 138.3 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003601/9.851, allocations: 93.36 kB / 2.958 GB, free: 138.3 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.432/12.28, allocations: 435.9 MB / 3.384 GB, free: 62.55 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.179e-05/12.28, allocations: 13.19 kB / 3.384 GB, free: 62.55 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007058/12.29, allocations: 353 kB / 3.384 GB, free: 62.51 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002577/12.29, allocations: 0.5925 MB / 3.385 GB, free: 62.24 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000153/12.29, allocations: 24.38 kB / 3.385 GB, free: 62.24 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004539/12.29, allocations: 34.75 kB / 3.385 GB, free: 62.24 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0032/12.3, allocations: 0.5605 MB / 3.385 GB, free: 62.24 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002196/12.3, allocations: 0.6764 MB / 3.386 GB, free: 62.04 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.884e-05/12.3, allocations: 3.094 kB / 3.386 GB, free: 62.04 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001331/12.3, allocations: 5.719 kB / 3.386 GB, free: 62.04 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-05/12.3, allocations: 25.16 kB / 3.386 GB, free: 62.04 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1916/12.49, allocations: 36.94 MB / 3.422 GB, free: 42.68 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00161/12.49, allocations: 403.4 kB / 3.422 GB, free: 42.65 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005564/12.49, allocations: 209.4 kB / 3.423 GB, free: 42.64 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08321/12.58, allocations: 20.1 MB / 3.442 GB, free: 29.19 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.691e-05/12.58, allocations: 40.5 kB / 3.442 GB, free: 29.14 MB / 490.7 MB Notification: Performance of pre-optimization done (n=43): time 7.725e-06/12.58, allocations: 0 / 3.442 GB, free: 29.14 MB / 490.7 MB Notification: Performance of matching and sorting (n=63): time 0.06086/12.64, allocations: 3.688 MB / 3.446 GB, free: 28.34 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.883e-05/12.64, allocations: 110.1 kB / 3.446 GB, free: 28.21 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001646/12.64, allocations: 425.8 kB / 3.446 GB, free: 28.09 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003217/12.64, allocations: 26.2 kB / 3.446 GB, free: 28.05 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004025/12.64, allocations: 305.9 kB / 3.447 GB, free: 27.85 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005669/12.64, allocations: 211.9 kB / 3.447 GB, free: 27.71 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002802/12.64, allocations: 0.625 kB / 3.447 GB, free: 27.71 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000362/12.64, allocations: 370.9 kB / 3.447 GB, free: 27.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001757/12.64, allocations: 351.6 kB / 3.448 GB, free: 27.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001436/12.65, allocations: 0.5553 MB / 3.448 GB, free: 27.04 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004087/12.65, allocations: 0.5319 MB / 3.449 GB, free: 26.77 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.06e-05/12.65, allocations: 0 / 3.449 GB, free: 26.77 MB / 490.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.008801/12.66, allocations: 1.598 MB / 3.45 GB, free: 25.87 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006102/12.66, allocations: 2.429 MB / 3.453 GB, free: 23.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.651e-05/12.66, allocations: 11.94 kB / 3.453 GB, free: 23.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007518/12.67, allocations: 0.8288 MB / 3.453 GB, free: 22.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001467/12.67, allocations: 179.4 kB / 3.454 GB, free: 22.67 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006661/12.67, allocations: 2.059 MB / 3.456 GB, free: 20.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002829/12.68, allocations: 130.3 kB / 3.456 GB, free: 20.63 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002005/12.68, allocations: 53.56 kB / 3.456 GB, free: 20.59 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/12.68, allocations: 4 kB / 3.456 GB, free: 20.59 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006203/12.68, allocations: 1.055 MB / 3.457 GB, free: 19.71 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.435e-05/12.68, allocations: 4 kB / 3.457 GB, free: 19.71 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003572/12.69, allocations: 377.8 kB / 3.457 GB, free: 19.42 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001909/12.69, allocations: 205.4 kB / 3.457 GB, free: 19.26 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003766/12.69, allocations: 1.561 MB / 3.459 GB, free: 17.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001999/12.7, allocations: 111.2 kB / 3.459 GB, free: 17.64 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001836/12.7, allocations: 42.75 kB / 3.459 GB, free: 17.61 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 (69): * Single equations (assignments): 67 * 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 14,2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0005665/12.7, allocations: 126.9 kB / 3.459 GB, free: 17.49 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001444/12.7, allocations: 280.5 kB / 3.459 GB, free: 17.29 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009959/12.71, allocations: 3.188 MB / 3.463 GB, free: 14.42 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.156e-05/12.71, allocations: 31.44 kB / 3.463 GB, free: 14.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/12.71, allocations: 0 / 3.463 GB, free: 14.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-05/12.71, allocations: 3.844 kB / 3.463 GB, free: 14.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01123/12.72, allocations: 4.394 MB / 3.467 GB, free: 10.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.305e-05/12.72, allocations: 4 kB / 3.467 GB, free: 10.57 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007636/12.72, allocations: 93.59 kB / 3.467 GB, free: 10.49 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006863/12.73, allocations: 1.258 MB / 3.468 GB, free: 9.469 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001991/12.73, allocations: 23.22 kB / 3.468 GB, free: 9.453 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005592/12.73, allocations: 2.446 MB / 3.471 GB, free: 7.125 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.198e-06/12.73, allocations: 3.906 kB / 3.471 GB, free: 7.121 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007593/12.74, allocations: 2.711 MB / 3.473 GB, free: 4.629 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008068/12.75, allocations: 3.17 MB / 3.476 GB, free: 1.68 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009568/12.75, allocations: 296.9 kB / 3.477 GB, free: 1.418 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003331/12.75, allocations: 0 / 3.477 GB, free: 1.418 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00179/12.75, allocations: 106.3 kB / 3.477 GB, free: 1.336 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002191/12.75, allocations: 60.12 kB / 3.477 GB, free: 1.305 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001387/12.75, allocations: 39.73 kB / 3.477 GB, free: 1.273 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.000808/12.75, allocations: 372.3 kB / 3.477 GB, free: 0.9375 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01266/12.77, allocations: 1.82 MB / 3.479 GB, free: 15.15 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.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 (40): * Single equations (assignments): 33 * 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 13,2 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.01464/12.78, allocations: 1.988 MB / 3.481 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007361/12.79, allocations: 2.007 MB / 3.483 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/12.79, allocations: 8.062 kB / 3.483 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002947/12.79, allocations: 1.241 MB / 3.484 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003221/12.79, allocations: 262.8 kB / 3.484 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3196/13.11, allocations: 15.21 MB / 3.499 GB, free: 108.6 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001133/13.11, allocations: 1.17 MB / 3.5 GB, free: 107.9 MB / 0.4948 GB Notification: Performance of SimCode: time 1.313e-06/13.11, allocations: 0 / 3.5 GB, free: 107.9 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV_res.mat does not exist to compare? outputFormat=mat