Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH",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.098/2.098, allocations: 234.9 MB / 241.9 MB, free: 9.797 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1615/2.259, allocations: 57.22 MB / 299.1 MB, free: 472 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/2.548, allocations: 54.84 MB / 354 MB, free: 13.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.805/9.353, allocations: 2.617 GB / 2.963 GB, free: 74.32 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003145/9.353, allocations: 82.89 kB / 2.963 GB, free: 74.28 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.083/11.44, allocations: 435.7 MB / 3.388 GB, free: 2.031 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/11.44, allocations: 12 kB / 3.388 GB, free: 2.02 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006145/11.44, allocations: 378.6 kB / 3.389 GB, free: 1.648 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001963/11.45, allocations: 0.5908 MB / 3.389 GB, free: 1.023 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.421e-05/11.45, allocations: 28 kB / 3.389 GB, free: 0.9961 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00012/11.45, allocations: 32 kB / 3.389 GB, free: 0.9648 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001646/11.45, allocations: 0.5454 MB / 3.39 GB, free: 432 kB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001756/11.45, allocations: 0.6783 MB / 3.39 GB, free: 15.68 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.165e-05/11.45, allocations: 3.938 kB / 3.39 GB, free: 15.68 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001138/11.45, allocations: 4 kB / 3.39 GB, free: 15.68 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.392e-05/11.45, allocations: 21.31 kB / 3.39 GB, free: 15.66 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3781/11.83, allocations: 37.05 MB / 3.427 GB, free: 75.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001104/11.83, allocations: 308.2 kB / 3.427 GB, free: 75.18 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007367/11.83, allocations: 196.9 kB / 3.427 GB, free: 75.17 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08169/11.91, allocations: 20.34 MB / 3.447 GB, free: 62.31 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.285e-05/11.91, allocations: 43.48 kB / 3.447 GB, free: 62.27 MB / 490.7 MB Notification: Performance of pre-optimization done (n=42): time 3.557e-06/11.91, allocations: 0 / 3.447 GB, free: 62.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=58): time 0.04672/11.96, allocations: 3.359 MB / 3.45 GB, free: 61.65 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.894e-05/11.96, allocations: 110.7 kB / 3.45 GB, free: 61.53 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007602/11.96, allocations: 406.7 kB / 3.451 GB, free: 61.41 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001234/11.96, allocations: 25.7 kB / 3.451 GB, free: 61.38 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002969/11.96, allocations: 308.1 kB / 3.451 GB, free: 61.21 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003645/11.96, allocations: 196.7 kB / 3.451 GB, free: 61.11 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.897e-05/11.96, allocations: 2.734 kB / 3.451 GB, free: 61.11 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001294/11.96, allocations: 367.7 kB / 3.452 GB, free: 60.79 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008744/11.96, allocations: 299.7 kB / 3.452 GB, free: 60.79 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009814/11.96, allocations: 0.4955 MB / 3.452 GB, free: 60.55 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002636/11.96, allocations: 463.5 kB / 3.453 GB, free: 60.54 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/11.96, allocations: 0 / 3.453 GB, free: 60.54 MB / 490.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.007/11.97, allocations: 1.404 MB / 3.454 GB, free: 60.45 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006417/11.97, allocations: 2.437 MB / 3.457 GB, free: 57.92 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.533e-05/11.97, allocations: 7.562 kB / 3.457 GB, free: 57.92 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004488/11.98, allocations: 0.5804 MB / 3.457 GB, free: 57.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001222/11.98, allocations: 180.1 kB / 3.457 GB, free: 57.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005224/11.98, allocations: 1.835 MB / 3.459 GB, free: 56.85 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002196/11.99, allocations: 110.1 kB / 3.459 GB, free: 56.85 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001689/11.99, allocations: 48.75 kB / 3.459 GB, free: 56.85 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/11.99, allocations: 3.75 kB / 3.459 GB, free: 56.85 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006427/11.99, allocations: 1.043 MB / 3.46 GB, free: 56.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-05/11.99, allocations: 5.625 kB / 3.46 GB, free: 56.82 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002848/11.99, allocations: 369.1 kB / 3.461 GB, free: 56.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/12, allocations: 177.4 kB / 3.461 GB, free: 56.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002885/12, allocations: 1.558 MB / 3.462 GB, free: 55.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001522/12, allocations: 91.92 kB / 3.462 GB, free: 55.75 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001351/12, allocations: 41.53 kB / 3.462 GB, free: 55.75 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.0004161/12, allocations: 130.6 kB / 3.463 GB, free: 55.64 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001174/12, allocations: 277.8 kB / 3.463 GB, free: 55.61 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006951/12.01, allocations: 3.111 MB / 3.466 GB, free: 55.39 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.866e-05/12.01, allocations: 28.73 kB / 3.466 GB, free: 55.39 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/12.01, allocations: 0 / 3.466 GB, free: 55.39 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.683e-05/12.01, allocations: 10.11 kB / 3.466 GB, free: 55.38 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008464/12.02, allocations: 4.147 MB / 3.47 GB, free: 54.97 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.134e-05/12.02, allocations: 0.5938 kB / 3.47 GB, free: 54.97 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006911/12.02, allocations: 98.81 kB / 3.47 GB, free: 54.97 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004151/12.02, allocations: 1.061 MB / 3.471 GB, free: 54.92 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001753/12.02, allocations: 21.44 kB / 3.471 GB, free: 54.92 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004251/12.03, allocations: 2.257 MB / 3.473 GB, free: 53.84 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.927e-06/12.03, allocations: 2.812 kB / 3.473 GB, free: 53.84 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008353/12.04, allocations: 2.544 MB / 3.476 GB, free: 53.45 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01058/12.05, allocations: 2.996 MB / 3.479 GB, free: 52.71 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007566/12.05, allocations: 286.7 kB / 3.479 GB, free: 52.56 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002156/12.05, allocations: 8.594 kB / 3.479 GB, free: 52.56 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001379/12.05, allocations: 84.94 kB / 3.479 GB, free: 52.55 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001987/12.05, allocations: 57.06 kB / 3.479 GB, free: 52.54 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001176/12.05, allocations: 35.95 kB / 3.479 GB, free: 52.54 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0007088/12.05, allocations: 358.8 kB / 3.479 GB, free: 52.46 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01069/12.06, allocations: 1.82 MB / 3.481 GB, free: 52.45 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.01346/12.07, allocations: 1.984 MB / 3.483 GB, free: 52.24 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006157/12.08, allocations: 1.874 MB / 3.485 GB, free: 52.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.09e-05/12.08, allocations: 0 / 3.485 GB, free: 52.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002292/12.08, allocations: 1.183 MB / 3.486 GB, free: 52.19 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002973/12.09, allocations: 257.4 kB / 3.486 GB, free: 52.18 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07255/12.16, allocations: 15.18 MB / 3.501 GB, free: 51.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001034/12.16, allocations: 1.16 MB / 3.502 GB, free: 50.47 MB / 490.7 MB Notification: Performance of SimCode: time 1.333e-06/12.16, allocations: 0 / 3.502 GB, free: 50.47 MB / 490.7 MB