Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_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(Modelica): time 1.748/1.748, allocations: 171.2 MB / 178.1 MB, free: 8.289 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2293/1.977, allocations: 41.12 MB / 219.3 MB, free: 11.18 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09322/2.07, allocations: 38.76 MB / 258 MB, free: 4.352 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.995/8.066, allocations: 2.466 GB / 2.718 GB, free: 62.5 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003679/8.066, allocations: 84.48 kB / 2.718 GB, free: 62.46 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 2.259/10.33, allocations: 417.2 MB / 3.125 GB, free: 30.34 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/10.33, allocations: 15.72 kB / 3.125 GB, free: 30.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002135/10.33, allocations: 170.1 kB / 3.125 GB, free: 30.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006051/10.33, allocations: 311.5 kB / 3.126 GB, free: 30.05 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.72e-05/10.33, allocations: 18.84 kB / 3.126 GB, free: 30.04 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.457e-05/10.33, allocations: 18.94 kB / 3.126 GB, free: 30.04 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007977/10.33, allocations: 307.7 kB / 3.126 GB, free: 29.94 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007781/10.33, allocations: 364.9 kB / 3.126 GB, free: 29.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.234e-05/10.33, allocations: 0 / 3.126 GB, free: 29.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.046e-05/10.33, allocations: 0 / 3.126 GB, free: 29.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.53e-05/10.33, allocations: 19.88 kB / 3.126 GB, free: 29.73 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004209/10.33, allocations: 2.567 MB / 3.129 GB, free: 27.53 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004227/10.33, allocations: 173.1 kB / 3.129 GB, free: 27.45 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002839/10.34, allocations: 124 kB / 3.129 GB, free: 27.4 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001111/10.34, allocations: 0.5523 MB / 3.13 GB, free: 26.91 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/10.34, allocations: 40.69 kB / 3.13 GB, free: 26.86 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 2.465e-06/10.34, allocations: 0 / 3.13 GB, free: 26.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.004067/10.34, allocations: 0.9526 MB / 3.131 GB, free: 26.33 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/10.34, allocations: 55.19 kB / 3.131 GB, free: 26.27 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002845/10.34, allocations: 198.8 kB / 3.131 GB, free: 26.14 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.197e-05/10.34, allocations: 25.7 kB / 3.131 GB, free: 26.11 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.89e-05/10.34, allocations: 179.1 kB / 3.131 GB, free: 25.96 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.739e-05/10.34, allocations: 105.6 kB / 3.131 GB, free: 25.88 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.797e-05/10.34, allocations: 0 / 3.131 GB, free: 25.88 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.791e-05/10.34, allocations: 345.3 kB / 3.132 GB, free: 25.55 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002873/10.34, allocations: 103.4 kB / 3.132 GB, free: 25.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003423/10.34, allocations: 196.6 kB / 3.132 GB, free: 25.35 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000581/10.34, allocations: 131.8 kB / 3.132 GB, free: 25.29 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/10.34, allocations: 3.969 kB / 3.132 GB, free: 25.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.002385/10.34, allocations: 0.5572 MB / 3.133 GB, free: 25.08 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/10.34, allocations: 6.375 kB / 3.133 GB, free: 25.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/10.34, allocations: 3.344 kB / 3.133 GB, free: 25.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000434/10.35, allocations: 84.83 kB / 3.133 GB, free: 25.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007297/10.35, allocations: 94.8 kB / 3.133 GB, free: 25.03 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002075/10.35, allocations: 2.355 MB / 3.135 GB, free: 22.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000874/10.35, allocations: 67.75 kB / 3.135 GB, free: 22.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.446e-05/10.35, allocations: 18.41 kB / 3.135 GB, free: 22.7 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 3 (volume.medium.phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 41 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001607/10.35, allocations: 120.8 kB / 3.135 GB, free: 22.58 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006246/10.35, allocations: 139.9 kB / 3.135 GB, free: 22.55 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00197/10.35, allocations: 0.9678 MB / 3.136 GB, free: 22.11 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.922e-05/10.35, allocations: 15.61 kB / 3.136 GB, free: 22.11 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/10.35, allocations: 0 / 3.136 GB, free: 22.11 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001312/10.35, allocations: 1.085 MB / 3.137 GB, free: 21.36 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002606/10.36, allocations: 1.559 MB / 3.139 GB, free: 20.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.388e-06/10.36, allocations: 11 kB / 3.139 GB, free: 20.49 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006276/10.36, allocations: 78.94 kB / 3.139 GB, free: 20.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003684/10.36, allocations: 63.2 kB / 3.139 GB, free: 20.46 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.8e-05/10.36, allocations: 11.61 kB / 3.139 GB, free: 20.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000449/10.36, allocations: 0.6203 MB / 3.14 GB, free: 19.89 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/10.36, allocations: 3.906 kB / 3.14 GB, free: 19.89 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00223/10.36, allocations: 1.134 MB / 3.141 GB, free: 19.28 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003047/10.36, allocations: 1.793 MB / 3.143 GB, free: 18.12 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002277/10.36, allocations: 146.1 kB / 3.143 GB, free: 18 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.833e-05/10.36, allocations: 0 / 3.143 GB, free: 18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007049/10.36, allocations: 40.09 kB / 3.143 GB, free: 17.99 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/10.36, allocations: 33.12 kB / 3.143 GB, free: 17.99 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.574e-05/10.36, allocations: 14.06 kB / 3.143 GB, free: 17.98 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0003247/10.36, allocations: 213.8 kB / 3.143 GB, free: 17.86 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.005984/10.37, allocations: 0.9715 MB / 3.144 GB, free: 17.6 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 6 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,volume.medium.phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.009374/10.38, allocations: 1.477 MB / 3.145 GB, free: 17.3 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002446/10.38, allocations: 0.6054 MB / 3.146 GB, free: 17 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.061e-05/10.38, allocations: 0 / 3.146 GB, free: 17 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001635/10.38, allocations: 443.4 kB / 3.146 GB, free: 16.8 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002645/10.39, allocations: 138 kB / 3.146 GB, free: 16.77 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003608/10.39, allocations: 0.8106 MB / 3.147 GB, free: 16.4 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008598/10.39, allocations: 0.8797 MB / 3.148 GB, free: 15.69 MB / 362.7 MB Notification: Performance of SimCode: time 2.875e-06/10.39, allocations: 2.531 kB / 3.148 GB, free: 15.69 MB / 362.7 MB