Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97OnePhase_ph",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.015/2.015, allocations: 209.3 MB / 216.2 MB, free: 0.7305 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1163/2.131, allocations: 51.05 MB / 267.3 MB, free: 13.61 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/2.374, allocations: 48.7 MB / 316 MB, free: 14.43 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.749/9.123, allocations: 2.515 GB / 2.824 GB, free: 88.47 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003811/9.123, allocations: 87.58 kB / 2.824 GB, free: 88.46 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 2.605/11.73, allocations: 488.1 MB / 3.301 GB, free: 40.2 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/11.73, allocations: 6.938 kB / 3.301 GB, free: 40.2 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003875/11.73, allocations: 335.2 kB / 3.301 GB, free: 40.16 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002086/11.73, allocations: 0.6049 MB / 3.301 GB, free: 39.9 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001301/11.73, allocations: 92.47 kB / 3.302 GB, free: 39.84 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001444/11.73, allocations: 34.88 kB / 3.302 GB, free: 39.84 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001888/11.74, allocations: 0.6659 MB / 3.302 GB, free: 39.83 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002073/11.74, allocations: 0.8902 MB / 3.303 GB, free: 39.53 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.753e-05/11.74, allocations: 6.781 kB / 3.303 GB, free: 39.53 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001383/11.74, allocations: 3.719 kB / 3.303 GB, free: 39.53 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.408e-05/11.74, allocations: 50.67 kB / 3.303 GB, free: 39.53 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.335/12.07, allocations: 82.99 MB / 3.384 GB, free: 19.62 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007283/12.08, allocations: 229.2 kB / 3.384 GB, free: 19.6 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004191/12.08, allocations: 168.4 kB / 3.385 GB, free: 19.59 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1355/12.21, allocations: 34 MB / 3.418 GB, free: 7.898 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.965e-05/12.21, allocations: 40.3 kB / 3.418 GB, free: 7.859 MB / 490.7 MB Notification: Performance of pre-optimization done (n=33): time 2.756e-06/12.21, allocations: 0 / 3.418 GB, free: 7.859 MB / 490.7 MB Notification: Performance of matching and sorting (n=37): time 0.005738/12.22, allocations: 1.348 MB / 3.419 GB, free: 6.891 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.033e-05/12.22, allocations: 132.5 kB / 3.419 GB, free: 6.73 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009/12.22, allocations: 0.4938 MB / 3.42 GB, free: 6.395 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.662e-05/12.22, allocations: 29.7 kB / 3.42 GB, free: 6.359 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002299/12.22, allocations: 377.6 kB / 3.42 GB, free: 6.062 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001432/12.22, allocations: 138 kB / 3.42 GB, free: 5.961 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.765e-05/12.22, allocations: 0 / 3.42 GB, free: 5.961 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000206/12.22, allocations: 370.6 kB / 3.421 GB, free: 5.629 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005564/12.22, allocations: 222.7 kB / 3.421 GB, free: 5.508 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007292/12.22, allocations: 0.5834 MB / 3.421 GB, free: 4.883 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001162/12.22, allocations: 337.6 kB / 3.422 GB, free: 4.711 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.285e-06/12.22, allocations: 6.297 kB / 3.422 GB, free: 4.707 MB / 490.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.005291/12.23, allocations: 1.023 MB / 3.423 GB, free: 4.086 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/12.23, allocations: 4 kB / 3.423 GB, free: 4.082 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.218e-05/12.23, allocations: 12 kB / 3.423 GB, free: 4.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003312/12.23, allocations: 64.47 kB / 3.423 GB, free: 4.027 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00252/12.23, allocations: 284.9 kB / 3.423 GB, free: 3.812 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2068/12.44, allocations: 1.98 MB / 3.425 GB, free: 125.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001411/12.44, allocations: 50.33 kB / 3.425 GB, free: 125.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001259/12.44, allocations: 46.98 kB / 3.425 GB, free: 125.1 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 10 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase,volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002931/12.44, allocations: 139.3 kB / 3.425 GB, free: 125 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001133/12.44, allocations: 270 kB / 3.425 GB, free: 125 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004626/12.44, allocations: 1.762 MB / 3.427 GB, free: 124.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.208e-05/12.44, allocations: 18.36 kB / 3.427 GB, free: 124.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/12.44, allocations: 7.156 kB / 3.427 GB, free: 124.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/12.44, allocations: 0 / 3.427 GB, free: 124.9 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004859/12.45, allocations: 2.652 MB / 3.43 GB, free: 124.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/12.45, allocations: 3.797 kB / 3.43 GB, free: 124.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001838/12.45, allocations: 170.7 kB / 3.43 GB, free: 124.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000437/12.45, allocations: 82.84 kB / 3.43 GB, free: 124.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.111e-05/12.45, allocations: 9.734 kB / 3.43 GB, free: 124.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00195/12.45, allocations: 2.009 MB / 3.432 GB, free: 122.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.299e-06/12.45, allocations: 3.531 kB / 3.432 GB, free: 122.7 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003927/12.46, allocations: 2.056 MB / 3.434 GB, free: 122.6 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005226/12.46, allocations: 2.979 MB / 3.437 GB, free: 122 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006489/12.46, allocations: 233.2 kB / 3.437 GB, free: 121.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001646/12.46, allocations: 11.53 kB / 3.437 GB, free: 121.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/12.46, allocations: 47.02 kB / 3.437 GB, free: 121.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/12.46, allocations: 26.31 kB / 3.437 GB, free: 121.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.353e-05/12.46, allocations: 21.38 kB / 3.437 GB, free: 121.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0006693/12.47, allocations: 362.8 kB / 3.438 GB, free: 121.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007554/12.47, allocations: 1.237 MB / 3.439 GB, free: 121.7 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 12 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01304/12.49, allocations: 1.728 MB / 3.441 GB, free: 121.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004063/12.49, allocations: 1.129 MB / 3.442 GB, free: 121.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/12.49, allocations: 2.281 kB / 3.442 GB, free: 121.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002906/12.49, allocations: 0.8966 MB / 3.443 GB, free: 121.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002919/12.5, allocations: 256 kB / 3.443 GB, free: 121.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004155/12.5, allocations: 1.609 MB / 3.444 GB, free: 121.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00127/12.5, allocations: 1.15 MB / 3.445 GB, free: 120.6 MB / 490.7 MB Notification: Performance of SimCode: time 2.084e-06/12.5, allocations: 0 / 3.445 GB, free: 120.6 MB / 490.7 MB