Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_Tests_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(Modelica): time 1.84/1.84, allocations: 171.2 MB / 178.1 MB, free: 8.328 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2201/2.06, allocations: 41.13 MB / 219.3 MB, free: 11.18 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/2.166, allocations: 38.76 MB / 258 MB, free: 4.344 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.603/8.769, allocations: 2.466 GB / 2.718 GB, free: 57.44 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003672/8.77, allocations: 85.61 kB / 2.718 GB, free: 57.44 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 1.924/10.69, allocations: 417.2 MB / 3.125 GB, free: 9.633 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/10.69, allocations: 12 kB / 3.125 GB, free: 9.621 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002139/10.7, allocations: 170.8 kB / 3.125 GB, free: 9.461 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006445/10.7, allocations: 317.6 kB / 3.126 GB, free: 9.113 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/10.7, allocations: 12 kB / 3.126 GB, free: 9.102 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6e-05/10.7, allocations: 16 kB / 3.126 GB, free: 9.086 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006543/10.7, allocations: 245.2 kB / 3.126 GB, free: 8.848 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007511/10.7, allocations: 369.7 kB / 3.126 GB, free: 8.453 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.379e-05/10.7, allocations: 3.906 kB / 3.126 GB, free: 8.449 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.071e-05/10.7, allocations: 0 / 3.126 GB, free: 8.449 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/10.7, allocations: 8 kB / 3.126 GB, free: 8.441 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3153/11.01, allocations: 33.25 MB / 3.159 GB, free: 51.73 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006154/11.01, allocations: 150.3 kB / 3.159 GB, free: 51.72 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003327/11.01, allocations: 95.44 kB / 3.159 GB, free: 51.71 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1236/11.14, allocations: 30.91 MB / 3.189 GB, free: 33.28 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.794e-05/11.14, allocations: 41.12 kB / 3.189 GB, free: 33.24 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 3.456e-06/11.14, allocations: 0 / 3.189 GB, free: 33.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.003772/11.14, allocations: 0.8698 MB / 3.19 GB, free: 32.95 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.215e-05/11.14, allocations: 57.22 kB / 3.19 GB, free: 32.89 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003054/11.14, allocations: 206.8 kB / 3.19 GB, free: 32.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.946e-05/11.14, allocations: 25.7 kB / 3.19 GB, free: 32.76 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/11.14, allocations: 187.5 kB / 3.191 GB, free: 32.63 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.598e-05/11.14, allocations: 94.17 kB / 3.191 GB, free: 32.58 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.314e-05/11.14, allocations: 3.938 kB / 3.191 GB, free: 32.58 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.578e-05/11.14, allocations: 344.2 kB / 3.191 GB, free: 32.26 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002468/11.14, allocations: 90.05 kB / 3.191 GB, free: 32.26 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003222/11.14, allocations: 201.5 kB / 3.191 GB, free: 32.12 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005076/11.14, allocations: 124.5 kB / 3.191 GB, free: 32.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/11.14, allocations: 0 / 3.191 GB, free: 32.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001632/11.15, allocations: 462 kB / 3.192 GB, free: 32.05 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/11.15, allocations: 3.281 kB / 3.192 GB, free: 32.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/11.15, allocations: 4.938 kB / 3.192 GB, free: 32.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003405/11.15, allocations: 61.38 kB / 3.192 GB, free: 32.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007302/11.15, allocations: 88.83 kB / 3.192 GB, free: 32.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00176/11.15, allocations: 2.395 MB / 3.194 GB, free: 29.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004473/11.15, allocations: 26.75 kB / 3.194 GB, free: 29.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.002e-05/11.15, allocations: 20.31 kB / 3.194 GB, free: 29.73 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 42 * 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: 2 * 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: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000146/11.15, allocations: 120 kB / 3.195 GB, free: 29.63 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000605/11.15, allocations: 134.7 kB / 3.195 GB, free: 29.61 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001766/11.15, allocations: 0.8382 MB / 3.195 GB, free: 29.51 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.445e-05/11.15, allocations: 10.42 kB / 3.195 GB, free: 29.51 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/11.15, allocations: 3.531 kB / 3.195 GB, free: 29.51 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001193/11.15, allocations: 1.02 MB / 3.196 GB, free: 29.02 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002247/11.16, allocations: 1.416 MB / 3.198 GB, free: 28.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/11.16, allocations: 0 / 3.198 GB, free: 28.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004012/11.16, allocations: 58.78 kB / 3.198 GB, free: 28.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003645/11.16, allocations: 70.23 kB / 3.198 GB, free: 28.62 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.925e-05/11.16, allocations: 3.375 kB / 3.198 GB, free: 28.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004443/11.16, allocations: 0.6221 MB / 3.199 GB, free: 28.1 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-05/11.16, allocations: 3.938 kB / 3.199 GB, free: 28.1 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001989/11.16, allocations: 1.05 MB / 3.2 GB, free: 27.88 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002654/11.16, allocations: 1.708 MB / 3.201 GB, free: 27.27 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/11.16, allocations: 115.7 kB / 3.201 GB, free: 27.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.122e-05/11.16, allocations: 0 / 3.201 GB, free: 27.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00063/11.16, allocations: 39.28 kB / 3.201 GB, free: 27.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.463e-05/11.16, allocations: 19.92 kB / 3.201 GB, free: 27.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.214e-05/11.16, allocations: 19.62 kB / 3.201 GB, free: 27.16 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001886/11.16, allocations: 156.5 kB / 3.202 GB, free: 27.08 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.005722/11.17, allocations: 0.9757 MB / 3.203 GB, free: 27.07 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * 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.006969/11.18, allocations: 1.46 MB / 3.204 GB, free: 26.89 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001748/11.18, allocations: 0.5822 MB / 3.205 GB, free: 42.77 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/11.18, allocations: 3.281 kB / 3.205 GB, free: 42.77 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006219/11.18, allocations: 367.4 kB / 3.205 GB, free: 42.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001435/11.18, allocations: 126.2 kB / 3.205 GB, free: 42.76 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001832/11.18, allocations: 0.7669 MB / 3.206 GB, free: 42.51 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006153/11.18, allocations: 0.856 MB / 3.207 GB, free: 41.8 MB / 378.7 MB Notification: Performance of SimCode: time 1.122e-06/11.18, allocations: 0 / 3.207 GB, free: 41.8 MB / 378.7 MB