Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCheckValve",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.167/2.167, allocations: 234.9 MB / 241.9 MB, free: 9.793 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1952/2.362, allocations: 57.21 MB / 299.1 MB, free: 476 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2833/2.645, allocations: 54.85 MB / 354 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.556/9.201, allocations: 2.612 GB / 2.958 GB, free: 79.89 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003576/9.202, allocations: 83.64 kB / 2.958 GB, free: 79.85 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.032/11.23, allocations: 435.4 MB / 3.383 GB, free: 7.484 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/11.23, allocations: 8 kB / 3.383 GB, free: 7.477 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00424/11.24, allocations: 350.7 kB / 3.383 GB, free: 7.133 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001917/11.24, allocations: 0.5832 MB / 3.384 GB, free: 6.52 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.76e-05/11.24, allocations: 24 kB / 3.384 GB, free: 6.496 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/11.24, allocations: 36 kB / 3.384 GB, free: 6.461 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001618/11.24, allocations: 0.5375 MB / 3.384 GB, free: 5.922 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001625/11.24, allocations: 0.6541 MB / 3.385 GB, free: 5.211 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.024e-05/11.24, allocations: 7.844 kB / 3.385 GB, free: 5.203 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001352/11.24, allocations: 4 kB / 3.385 GB, free: 5.199 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.133e-05/11.24, allocations: 21.31 kB / 3.385 GB, free: 5.176 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01949/11.26, allocations: 7.291 MB / 3.392 GB, free: 13.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009093/11.26, allocations: 314.4 kB / 3.392 GB, free: 12.88 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000557/11.27, allocations: 201.6 kB / 3.393 GB, free: 12.68 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5313/11.8, allocations: 78.21 MB / 3.469 GB, free: 52.55 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/11.8, allocations: 42.44 kB / 3.469 GB, free: 52.51 MB / 490.7 MB Notification: Performance of pre-optimization done (n=46): time 3.687e-06/11.8, allocations: 0 / 3.469 GB, free: 52.51 MB / 490.7 MB Notification: Performance of matching and sorting (n=50): time 0.009511/11.81, allocations: 1.795 MB / 3.471 GB, free: 52.21 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/11.81, allocations: 110.5 kB / 3.471 GB, free: 52.09 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007195/11.81, allocations: 396.9 kB / 3.471 GB, free: 51.97 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.231e-05/11.81, allocations: 25.7 kB / 3.471 GB, free: 51.94 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00018/11.81, allocations: 283.3 kB / 3.472 GB, free: 51.77 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002147/11.81, allocations: 170.5 kB / 3.472 GB, free: 51.69 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-05/11.81, allocations: 0 / 3.472 GB, free: 51.69 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001166/11.81, allocations: 367 kB / 3.472 GB, free: 51.38 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005485/11.81, allocations: 204.4 kB / 3.472 GB, free: 51.37 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000672/11.81, allocations: 400.7 kB / 3.473 GB, free: 51.14 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002022/11.81, allocations: 344.5 kB / 3.473 GB, free: 51.13 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/11.81, allocations: 0 / 3.473 GB, free: 51.13 MB / 490.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.005432/11.82, allocations: 1.161 MB / 3.474 GB, free: 51.04 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005496/11.82, allocations: 2.343 MB / 3.476 GB, free: 48.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.101e-05/11.82, allocations: 5.781 kB / 3.476 GB, free: 48.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002246/11.82, allocations: 326.2 kB / 3.477 GB, free: 48.55 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001044/11.82, allocations: 151.6 kB / 3.477 GB, free: 48.55 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002512/11.82, allocations: 1.029 MB / 3.478 GB, free: 48.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001453/11.82, allocations: 88.14 kB / 3.478 GB, free: 48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/11.82, allocations: 36.39 kB / 3.478 GB, free: 48 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/11.82, allocations: 3.75 kB / 3.478 GB, free: 48 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003812/11.83, allocations: 0.775 MB / 3.479 GB, free: 47.97 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.91e-05/11.83, allocations: 10.28 kB / 3.479 GB, free: 47.97 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001901/11.83, allocations: 264.1 kB / 3.479 GB, free: 47.96 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001106/11.83, allocations: 153.7 kB / 3.479 GB, free: 47.96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001897/11.83, allocations: 0.8968 MB / 3.48 GB, free: 47.43 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001526/11.84, allocations: 76.53 kB / 3.48 GB, free: 47.41 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001298/11.84, allocations: 38 kB / 3.48 GB, free: 47.41 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 6 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].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 (60): * Single equations (assignments): 59 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 19} Notification: Performance of prepare postOptimizeDAE: time 0.0003253/11.84, allocations: 122.8 kB / 3.48 GB, free: 47.31 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00127/11.84, allocations: 276.8 kB / 3.481 GB, free: 47.28 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005424/11.84, allocations: 2.252 MB / 3.483 GB, free: 47.06 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-05/11.84, allocations: 24.34 kB / 3.483 GB, free: 47.06 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/11.84, allocations: 0 / 3.483 GB, free: 47.06 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/11.84, allocations: 5.391 kB / 3.483 GB, free: 47.06 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006164/11.85, allocations: 3.02 MB / 3.486 GB, free: 46.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.179e-05/11.85, allocations: 6.031 kB / 3.486 GB, free: 46.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001038/11.85, allocations: 127.7 kB / 3.486 GB, free: 46.67 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004706/11.85, allocations: 93.09 kB / 3.486 GB, free: 46.65 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.585e-05/11.85, allocations: 10.56 kB / 3.486 GB, free: 46.65 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001166/11.85, allocations: 1.173 MB / 3.487 GB, free: 45.61 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.185e-06/11.85, allocations: 3.031 kB / 3.487 GB, free: 45.61 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005553/11.86, allocations: 2.321 MB / 3.489 GB, free: 45.27 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006514/11.86, allocations: 3.252 MB / 3.493 GB, free: 44.55 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007133/11.86, allocations: 270 kB / 3.493 GB, free: 44.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001947/11.86, allocations: 6.562 kB / 3.493 GB, free: 44.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001013/11.87, allocations: 59.36 kB / 3.493 GB, free: 44.39 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001874/11.87, allocations: 56.52 kB / 3.493 GB, free: 44.39 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.342e-05/11.87, allocations: 22.62 kB / 3.493 GB, free: 44.39 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0006908/11.87, allocations: 378 kB / 3.493 GB, free: 44.29 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01032/11.88, allocations: 1.657 MB / 3.495 GB, free: 44.29 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (pump.medium.p,pump.medium.h) * Number of discrete variables: 15 ($cse2.phase,$cse2.region,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,pump.heatTransfer.states[1].phase,Sink.medium.phase,Source.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01209/11.89, allocations: 1.884 MB / 3.497 GB, free: 44.08 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003905/11.89, allocations: 1.406 MB / 3.498 GB, free: 44.05 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/11.89, allocations: 2.844 kB / 3.498 GB, free: 44.05 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001976/11.9, allocations: 0.8954 MB / 3.499 GB, free: 44.05 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004013/11.9, allocations: 250 kB / 3.499 GB, free: 44.03 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06878/11.97, allocations: 16.12 MB / 3.515 GB, free: 42.97 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001026/11.97, allocations: 1.142 MB / 3.516 GB, free: 42.24 MB / 490.7 MB Notification: Performance of SimCode: time 2.064e-06/11.97, allocations: 0 / 3.516 GB, free: 42.24 MB / 490.7 MB