Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefault",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(ModelicaTest): time 2.274/2.274, allocations: 234.9 MB / 241.9 MB, free: 9.797 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1943/2.469, allocations: 57.22 MB / 299.1 MB, free: 472 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/2.756, allocations: 54.84 MB / 354 MB, free: 13.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.503/9.26, allocations: 2.612 GB / 2.957 GB, free: 80.06 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003475/9.26, allocations: 91.12 kB / 2.958 GB, free: 80.01 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 2.193/11.45, allocations: 434.7 MB / 3.382 GB, free: 8.387 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/11.45, allocations: 11.94 kB / 3.382 GB, free: 8.375 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004159/11.46, allocations: 354.7 kB / 3.382 GB, free: 8.027 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002343/11.46, allocations: 0.5792 MB / 3.383 GB, free: 7.418 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000122/11.46, allocations: 24 kB / 3.383 GB, free: 7.395 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001964/11.46, allocations: 35.98 kB / 3.383 GB, free: 7.359 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001708/11.46, allocations: 0.5336 MB / 3.384 GB, free: 6.824 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00153/11.46, allocations: 0.6517 MB / 3.384 GB, free: 6.109 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.033e-05/11.46, allocations: 7.938 kB / 3.384 GB, free: 6.102 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001105/11.46, allocations: 0 / 3.384 GB, free: 6.102 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.417e-05/11.46, allocations: 21 kB / 3.384 GB, free: 6.082 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.414/11.88, allocations: 36.95 MB / 3.42 GB, free: 82.4 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007179/11.88, allocations: 294.5 kB / 3.421 GB, free: 82.38 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004534/11.88, allocations: 191.6 kB / 3.421 GB, free: 82.37 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07418/11.95, allocations: 20.09 MB / 3.44 GB, free: 69.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.584e-05/11.95, allocations: 38.77 kB / 3.44 GB, free: 69.66 MB / 490.7 MB Notification: Performance of pre-optimization done (n=39): time 5.42e-06/11.95, allocations: 0 / 3.44 GB, free: 69.66 MB / 490.7 MB Notification: Performance of matching and sorting (n=55): time 0.04579/12, allocations: 3.322 MB / 3.444 GB, free: 69.04 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.799e-05/12, allocations: 113.1 kB / 3.444 GB, free: 68.91 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008689/12, allocations: 407.9 kB / 3.444 GB, free: 68.79 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000186/12, allocations: 28.86 kB / 3.444 GB, free: 68.76 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002155/12, allocations: 302.7 kB / 3.444 GB, free: 68.59 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002324/12, allocations: 186.9 kB / 3.445 GB, free: 68.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.659e-05/12, allocations: 0.75 kB / 3.445 GB, free: 68.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001291/12, allocations: 365.6 kB / 3.445 GB, free: 68.19 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008232/12, allocations: 288.6 kB / 3.445 GB, free: 68.19 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009649/12, allocations: 0.493 MB / 3.446 GB, free: 67.94 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002617/12.01, allocations: 450.4 kB / 3.446 GB, free: 67.94 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.148e-05/12.01, allocations: 3.312 kB / 3.446 GB, free: 67.94 MB / 490.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.006327/12.01, allocations: 1.372 MB / 3.448 GB, free: 67.85 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007899/12.01, allocations: 2.435 MB / 3.45 GB, free: 65.32 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.702e-05/12.01, allocations: 7.625 kB / 3.45 GB, free: 65.32 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005115/12.02, allocations: 0.5847 MB / 3.451 GB, free: 65.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001221/12.02, allocations: 164.1 kB / 3.451 GB, free: 65.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004939/12.02, allocations: 1.844 MB / 3.452 GB, free: 64.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001977/12.03, allocations: 108.7 kB / 3.453 GB, free: 64.25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001808/12.03, allocations: 47.8 kB / 3.453 GB, free: 64.25 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/12.03, allocations: 3.531 kB / 3.453 GB, free: 64.25 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006178/12.03, allocations: 1.009 MB / 3.454 GB, free: 64.21 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.916e-05/12.03, allocations: 8.25 kB / 3.454 GB, free: 64.21 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003036/12.04, allocations: 373.6 kB / 3.454 GB, free: 64.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/12.04, allocations: 164.5 kB / 3.454 GB, free: 64.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003196/12.04, allocations: 1.565 MB / 3.456 GB, free: 63.15 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001538/12.04, allocations: 91.86 kB / 3.456 GB, free: 63.15 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001321/12.04, allocations: 39.77 kB / 3.456 GB, free: 63.15 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 (65): * 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: 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.0004589/12.04, allocations: 133.5 kB / 3.456 GB, free: 63.04 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001233/12.04, allocations: 273.7 kB / 3.456 GB, free: 63.01 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00685/12.05, allocations: 3.025 MB / 3.459 GB, free: 62.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.099e-05/12.05, allocations: 30.77 kB / 3.459 GB, free: 62.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/12.05, allocations: 0 / 3.459 GB, free: 62.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.7e-05/12.05, allocations: 3.75 kB / 3.459 GB, free: 62.8 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008367/12.06, allocations: 4.082 MB / 3.463 GB, free: 62.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.073e-05/12.06, allocations: 3.906 kB / 3.463 GB, free: 62.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006781/12.06, allocations: 89.41 kB / 3.463 GB, free: 62.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004114/12.06, allocations: 1.041 MB / 3.464 GB, free: 62.35 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000151/12.06, allocations: 20.52 kB / 3.464 GB, free: 62.35 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004071/12.07, allocations: 2.256 MB / 3.466 GB, free: 61.28 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.448e-06/12.07, allocations: 7.125 kB / 3.466 GB, free: 61.28 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005852/12.07, allocations: 2.498 MB / 3.469 GB, free: 60.92 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006544/12.08, allocations: 2.957 MB / 3.472 GB, free: 60.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008166/12.08, allocations: 282.9 kB / 3.472 GB, free: 60.06 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002649/12.08, allocations: 7.5 kB / 3.472 GB, free: 60.05 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001405/12.08, allocations: 78.84 kB / 3.472 GB, free: 60.05 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001855/12.08, allocations: 57.95 kB / 3.472 GB, free: 60.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001329/12.08, allocations: 34.8 kB / 3.472 GB, free: 60.05 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0006774/12.08, allocations: 352.4 kB / 3.473 GB, free: 59.97 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01077/12.1, allocations: 1.809 MB / 3.474 GB, free: 59.96 MB / 490.7 MB 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,$cse11.phase,$cse11.region,$cse12.phase,$cse12.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 9,2 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.01296/12.11, allocations: 1.989 MB / 3.476 GB, free: 59.85 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005812/12.11, allocations: 1.838 MB / 3.478 GB, free: 59.82 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.287e-06/12.11, allocations: 3.406 kB / 3.478 GB, free: 59.82 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002305/12.12, allocations: 1.168 MB / 3.479 GB, free: 59.81 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002874/12.12, allocations: 247.8 kB / 3.479 GB, free: 59.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07039/12.19, allocations: 15.15 MB / 3.494 GB, free: 58.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009544/12.19, allocations: 1.147 MB / 3.495 GB, free: 58.18 MB / 490.7 MB Notification: Performance of SimCode: time 1.323e-06/12.19, allocations: 0 / 3.495 GB, free: 58.18 MB / 490.7 MB