Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",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 1.831/1.831, allocations: 209.3 MB / 216.3 MB, free: 8.426 MB / 174.1 MB Notification: Performance of FrontEnd - loaded program: time 0.1838/2.015, allocations: 51.03 MB / 267.3 MB, free: 5.691 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/2.306, allocations: 48.69 MB / 316 MB, free: 15.61 MB / 270.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.294/3.6, allocations: 0.4969 GB / 0.8055 GB, free: 106.7 MB / 430.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002878/3.6, allocations: 88.36 kB / 0.8056 GB, free: 106.7 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 1.079/4.679, allocations: 233.8 MB / 1.034 GB, free: 57.08 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/4.679, allocations: 12 kB / 1.034 GB, free: 57.07 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001371/4.68, allocations: 135 kB / 1.034 GB, free: 56.94 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001647/4.682, allocations: 0.5548 MB / 1.035 GB, free: 56.35 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001126/4.682, allocations: 88.39 kB / 1.035 GB, free: 56.25 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/4.682, allocations: 31.98 kB / 1.035 GB, free: 56.22 MB / 430.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002211/4.684, allocations: 0.5333 MB / 1.035 GB, free: 55.68 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002345/4.687, allocations: 0.7343 MB / 1.036 GB, free: 54.87 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.111e-05/4.687, allocations: 7.938 kB / 1.036 GB, free: 54.86 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001681/4.687, allocations: 0 / 1.036 GB, free: 54.86 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.016e-05/4.687, allocations: 48.97 kB / 1.036 GB, free: 54.82 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01015/4.697, allocations: 4.008 MB / 1.04 GB, free: 50.61 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001725/4.699, allocations: 206.3 kB / 1.04 GB, free: 50.4 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005782/4.7, allocations: 133.3 kB / 1.04 GB, free: 50.27 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001046/4.7, allocations: 24.62 kB / 1.04 GB, free: 50.25 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/4.7, allocations: 38.8 kB / 1.04 GB, free: 50.2 MB / 430.1 MB Notification: Performance of pre-optimization done (n=27): time 3.687e-06/4.7, allocations: 0 / 1.04 GB, free: 50.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=32): time 0.01014/4.71, allocations: 1.419 MB / 1.042 GB, free: 48.7 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.352e-05/4.71, allocations: 132.5 kB / 1.042 GB, free: 48.54 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009114/4.711, allocations: 474.1 kB / 1.042 GB, free: 48.07 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001346/4.711, allocations: 25.7 kB / 1.042 GB, free: 48.04 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000307/4.711, allocations: 342.7 kB / 1.043 GB, free: 47.7 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001535/4.712, allocations: 118.3 kB / 1.043 GB, free: 47.58 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.753e-05/4.712, allocations: 0 / 1.043 GB, free: 47.58 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/4.712, allocations: 374.8 kB / 1.043 GB, free: 47.21 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005145/4.712, allocations: 189.4 kB / 1.043 GB, free: 47.02 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006542/4.713, allocations: 0.5051 MB / 1.044 GB, free: 46.36 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001193/4.714, allocations: 355.6 kB / 1.044 GB, free: 46.01 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.648e-06/4.714, allocations: 4 kB / 1.044 GB, free: 46.01 MB / 430.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002574/4.717, allocations: 0.8369 MB / 1.045 GB, free: 45.16 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/4.717, allocations: 8 kB / 1.045 GB, free: 45.15 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.94e-05/4.717, allocations: 8 kB / 1.045 GB, free: 45.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002052/4.719, allocations: 276 kB / 1.045 GB, free: 44.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009572/4.72, allocations: 131.8 kB / 1.045 GB, free: 44.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002149/4.722, allocations: 0.9401 MB / 1.046 GB, free: 43.78 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001276/4.724, allocations: 40.09 kB / 1.046 GB, free: 43.74 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001468/4.724, allocations: 67.98 kB / 1.046 GB, free: 43.68 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 71 * 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 {2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0002406/4.724, allocations: 136.7 kB / 1.046 GB, free: 43.54 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001676/4.724, allocations: 59.25 kB / 1.046 GB, free: 43.48 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002304/4.726, allocations: 0.5551 MB / 1.047 GB, free: 42.91 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.365e-06/4.727, allocations: 3.938 kB / 1.047 GB, free: 42.91 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/4.727, allocations: 4 kB / 1.047 GB, free: 42.91 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/4.727, allocations: 0 / 1.047 GB, free: 42.91 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002434/4.729, allocations: 0.9764 MB / 1.048 GB, free: 41.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/4.729, allocations: 0 / 1.048 GB, free: 41.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001954/4.731, allocations: 187.7 kB / 1.048 GB, free: 41.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001382/4.731, allocations: 24.84 kB / 1.048 GB, free: 41.68 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.944e-05/4.731, allocations: 19.95 kB / 1.048 GB, free: 41.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00214/4.733, allocations: 2.572 MB / 1.051 GB, free: 38.86 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/4.733, allocations: 0 / 1.051 GB, free: 38.86 MB / 430.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001722/4.735, allocations: 0.6802 MB / 1.051 GB, free: 38.16 MB / 430.1 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003546/4.739, allocations: 1.296 MB / 1.053 GB, free: 36.83 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008675/4.74, allocations: 168.3 kB / 1.053 GB, free: 36.64 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005133/4.74, allocations: 4 kB / 1.053 GB, free: 36.64 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001624/4.742, allocations: 31.97 kB / 1.053 GB, free: 36.61 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002112/4.742, allocations: 27.88 kB / 1.053 GB, free: 36.58 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001647/4.742, allocations: 35.98 kB / 1.053 GB, free: 36.55 MB / 430.1 MB Notification: Performance of sort global known variables: time 0.001167/4.744, allocations: 350.9 kB / 1.053 GB, free: 36.21 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005237/4.749, allocations: 427.8 kB / 1.054 GB, free: 35.79 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002973/4.752, allocations: 1.183 MB / 1.055 GB, free: 34.73 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001664/4.754, allocations: 490.9 kB / 1.055 GB, free: 34.25 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.543e-06/4.754, allocations: 0 / 1.055 GB, free: 34.25 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002028/4.756, allocations: 395.3 kB / 1.056 GB, free: 33.85 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002367/4.758, allocations: 231.2 kB / 1.056 GB, free: 33.62 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0109/4.769, allocations: 2.351 MB / 1.058 GB, free: 31.29 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001372/4.77, allocations: 1.07 MB / 1.059 GB, free: 30.2 MB / 430.1 MB Notification: Performance of SimCode: time 1.082e-06/4.771, allocations: 0 / 1.059 GB, free: 30.2 MB / 430.1 MB