Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph,fileNamePrefix="Modelica_3_2_2_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.842/1.842, allocations: 194.9 MB / 202.5 MB, free: 6.934 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.223/2.065, allocations: 46.84 MB / 249.4 MB, free: 5.363 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08814/2.153, allocations: 44.51 MB / 293.9 MB, free: 10.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.555/7.708, allocations: 2.575 GB / 2.862 GB, free: 84.91 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003386/7.709, allocations: 84.28 kB / 2.862 GB, free: 84.89 MB / 394.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.087/9.796, allocations: 427.9 MB / 3.28 GB, free: 40.04 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/9.796, allocations: 7.719 kB / 3.28 GB, free: 40.04 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0023/9.798, allocations: 171.8 kB / 3.28 GB, free: 40.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006152/9.799, allocations: 325.7 kB / 3.281 GB, free: 39.81 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/9.799, allocations: 9.906 kB / 3.281 GB, free: 39.81 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.317e-05/9.799, allocations: 19.38 kB / 3.281 GB, free: 39.81 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006714/9.8, allocations: 246.8 kB / 3.281 GB, free: 39.81 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007525/9.8, allocations: 357 kB / 3.281 GB, free: 39.69 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/9.8, allocations: 3.672 kB / 3.281 GB, free: 39.69 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.001e-05/9.8, allocations: 3.562 kB / 3.281 GB, free: 39.69 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/9.8, allocations: 7.25 kB / 3.281 GB, free: 39.69 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1115/9.912, allocations: 33.26 MB / 3.314 GB, free: 19.88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003527/9.912, allocations: 140.2 kB / 3.314 GB, free: 19.86 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002464/9.913, allocations: 99.11 kB / 3.314 GB, free: 19.85 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1134/10.03, allocations: 30.9 MB / 3.344 GB, free: 16.61 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.299e-05/10.03, allocations: 37.88 kB / 3.344 GB, free: 16.57 MB / 426.7 MB Notification: Performance of pre-optimization done (n=25): time 3.316e-06/10.03, allocations: 0 / 3.344 GB, free: 16.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=29): time 0.003883/10.03, allocations: 0.878 MB / 3.345 GB, free: 16.24 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.954e-05/10.03, allocations: 55 kB / 3.345 GB, free: 16.18 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003045/10.03, allocations: 214.1 kB / 3.345 GB, free: 16.07 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.602e-05/10.03, allocations: 25.7 kB / 3.345 GB, free: 16.04 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/10.03, allocations: 187.1 kB / 3.345 GB, free: 15.9 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.65e-05/10.03, allocations: 94.58 kB / 3.345 GB, free: 15.84 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.246e-05/10.03, allocations: 0 / 3.345 GB, free: 15.84 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001609/10.03, allocations: 337 kB / 3.346 GB, free: 15.52 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002403/10.03, allocations: 85.78 kB / 3.346 GB, free: 15.52 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003047/10.03, allocations: 205.7 kB / 3.346 GB, free: 15.38 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005182/10.03, allocations: 129.9 kB / 3.346 GB, free: 15.37 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/10.03, allocations: 3.781 kB / 3.346 GB, free: 15.37 MB / 426.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0017/10.03, allocations: 461.6 kB / 3.347 GB, free: 15.3 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/10.03, allocations: 4.281 kB / 3.347 GB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/10.03, allocations: 7.344 kB / 3.347 GB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003425/10.03, allocations: 58.14 kB / 3.347 GB, free: 15.28 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000732/10.03, allocations: 94.58 kB / 3.347 GB, free: 15.28 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002356/10.04, allocations: 2.399 MB / 3.349 GB, free: 28.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005114/10.04, allocations: 25.22 kB / 3.349 GB, free: 28.97 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.038e-05/10.04, allocations: 17.72 kB / 3.349 GB, free: 28.97 MB / 442.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.0001895/10.04, allocations: 123.2 kB / 3.349 GB, free: 28.86 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006053/10.04, allocations: 137.6 kB / 3.349 GB, free: 28.84 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001565/10.04, allocations: 0.8284 MB / 3.35 GB, free: 28.75 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.707e-05/10.04, allocations: 9.375 kB / 3.35 GB, free: 28.75 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/10.04, allocations: 5.719 kB / 3.35 GB, free: 28.75 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001246/10.04, allocations: 1.026 MB / 3.351 GB, free: 28.25 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002315/10.04, allocations: 1.399 MB / 3.353 GB, free: 27.88 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/10.04, allocations: 4.062 kB / 3.353 GB, free: 27.88 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004057/10.04, allocations: 52.17 kB / 3.353 GB, free: 27.88 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003787/10.04, allocations: 66 kB / 3.353 GB, free: 27.87 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.95e-05/10.04, allocations: 7.5 kB / 3.353 GB, free: 27.87 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005692/10.05, allocations: 0.6201 MB / 3.353 GB, free: 27.34 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/10.05, allocations: 3.906 kB / 3.353 GB, free: 27.34 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001991/10.05, allocations: 1.057 MB / 3.354 GB, free: 27.12 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002803/10.05, allocations: 1.704 MB / 3.356 GB, free: 26.52 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000182/10.05, allocations: 115.5 kB / 3.356 GB, free: 26.41 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.415e-05/10.05, allocations: 0 / 3.356 GB, free: 26.41 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006648/10.05, allocations: 41.25 kB / 3.356 GB, free: 26.4 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.326e-05/10.05, allocations: 14.48 kB / 3.356 GB, free: 26.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.331e-05/10.05, allocations: 20.36 kB / 3.356 GB, free: 26.4 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0002159/10.05, allocations: 152.7 kB / 3.356 GB, free: 26.33 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00593/10.06, allocations: 0.9753 MB / 3.357 GB, free: 26.2 MB / 442.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.009174/10.07, allocations: 1.486 MB / 3.359 GB, free: 25.87 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001706/10.07, allocations: 0.572 MB / 3.359 GB, free: 25.76 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/10.07, allocations: 4 kB / 3.359 GB, free: 25.76 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006624/10.07, allocations: 370.4 kB / 3.36 GB, free: 25.76 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001505/10.07, allocations: 136.2 kB / 3.36 GB, free: 25.74 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001874/10.07, allocations: 0.762 MB / 3.361 GB, free: 25.48 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006444/10.07, allocations: 0.867 MB / 3.361 GB, free: 24.77 MB / 442.7 MB Notification: Performance of SimCode: time 1.593e-06/10.07, allocations: 0 / 3.361 GB, free: 24.77 MB / 442.7 MB