Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97OnePhase_ph",fmuType="cs",version="2.0",platforms={"dynamic"}) [: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.726/1.726, allocations: 194.9 MB / 202.6 MB, free: 6.895 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2475/1.974, allocations: 46.83 MB / 249.4 MB, free: 5.352 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09104/2.065, allocations: 44.5 MB / 293.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.363/9.428, allocations: 2.575 GB / 2.862 GB, free: 74.26 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000402/9.428, allocations: 88.81 kB / 2.862 GB, free: 74.21 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.494/11.92, allocations: 427.8 MB / 3.28 GB, free: 39.54 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/11.92, allocations: 6.562 kB / 3.28 GB, free: 39.54 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002382/11.92, allocations: 174.3 kB / 3.28 GB, free: 39.52 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007334/11.93, allocations: 328.3 kB / 3.281 GB, free: 39.31 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.42e-05/11.93, allocations: 10.66 kB / 3.281 GB, free: 39.31 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.924e-05/11.93, allocations: 17.81 kB / 3.281 GB, free: 39.31 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007596/11.93, allocations: 249.6 kB / 3.281 GB, free: 39.31 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008804/11.93, allocations: 358.1 kB / 3.281 GB, free: 39.19 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.713e-05/11.93, allocations: 3.906 kB / 3.281 GB, free: 39.19 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.157e-05/11.93, allocations: 0 / 3.281 GB, free: 39.19 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.432e-05/11.93, allocations: 7.188 kB / 3.281 GB, free: 39.19 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1321/12.06, allocations: 33.27 MB / 3.314 GB, free: 19.26 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004304/12.06, allocations: 145.4 kB / 3.314 GB, free: 19.24 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002704/12.06, allocations: 93.77 kB / 3.314 GB, free: 19.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1302/12.19, allocations: 30.9 MB / 3.344 GB, free: 15.94 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.038e-05/12.19, allocations: 37.44 kB / 3.344 GB, free: 15.9 MB / 426.7 MB Notification: Performance of pre-optimization done (n=25): time 4.108e-06/12.19, allocations: 2.906 kB / 3.344 GB, free: 15.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=29): time 0.004096/12.2, allocations: 0.8833 MB / 3.345 GB, free: 15.57 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.829e-05/12.2, allocations: 54.69 kB / 3.345 GB, free: 15.51 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003526/12.2, allocations: 205 kB / 3.345 GB, free: 31.41 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.256e-05/12.2, allocations: 25.7 kB / 3.345 GB, free: 31.38 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001507/12.2, allocations: 192.3 kB / 3.345 GB, free: 31.23 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.264e-05/12.2, allocations: 99.2 kB / 3.346 GB, free: 31.17 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-05/12.2, allocations: 3.062 kB / 3.346 GB, free: 31.17 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001601/12.2, allocations: 331.8 kB / 3.346 GB, free: 30.86 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002716/12.2, allocations: 88.02 kB / 3.346 GB, free: 30.86 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003412/12.2, allocations: 207.1 kB / 3.346 GB, free: 30.71 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005705/12.2, allocations: 125.5 kB / 3.346 GB, free: 30.7 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/12.2, allocations: 0 / 3.346 GB, free: 30.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001844/12.2, allocations: 464.6 kB / 3.347 GB, free: 30.63 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/12.2, allocations: 3.906 kB / 3.347 GB, free: 30.63 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/12.2, allocations: 3.969 kB / 3.347 GB, free: 30.63 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003867/12.2, allocations: 62.78 kB / 3.347 GB, free: 30.61 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008427/12.2, allocations: 97.62 kB / 3.347 GB, free: 30.61 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002485/12.2, allocations: 2.384 MB / 3.349 GB, free: 28.31 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005324/12.2, allocations: 25.88 kB / 3.349 GB, free: 28.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.57e-05/12.2, allocations: 18.34 kB / 3.349 GB, free: 28.3 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.0001962/12.2, allocations: 125.4 kB / 3.349 GB, free: 28.19 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00071/12.2, allocations: 137 kB / 3.349 GB, free: 28.18 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001792/12.21, allocations: 0.8303 MB / 3.35 GB, free: 28.08 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.658e-05/12.21, allocations: 10.45 kB / 3.35 GB, free: 28.08 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/12.21, allocations: 7 kB / 3.35 GB, free: 28.08 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001399/12.21, allocations: 1.027 MB / 3.351 GB, free: 27.59 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002552/12.21, allocations: 1.395 MB / 3.353 GB, free: 27.21 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/12.21, allocations: 0 / 3.353 GB, free: 27.21 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004678/12.21, allocations: 51.19 kB / 3.353 GB, free: 27.21 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004165/12.21, allocations: 72.45 kB / 3.353 GB, free: 27.2 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.361e-05/12.21, allocations: 11.27 kB / 3.353 GB, free: 27.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005883/12.21, allocations: 0.6184 MB / 3.353 GB, free: 26.68 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/12.21, allocations: 13.39 kB / 3.353 GB, free: 26.67 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002223/12.21, allocations: 1.048 MB / 3.354 GB, free: 26.45 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003099/12.22, allocations: 1.703 MB / 3.356 GB, free: 25.86 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001718/12.22, allocations: 111.2 kB / 3.356 GB, free: 25.75 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.545e-05/12.22, allocations: 0 / 3.356 GB, free: 25.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007769/12.22, allocations: 40.56 kB / 3.356 GB, free: 25.74 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.332e-05/12.22, allocations: 26.61 kB / 3.356 GB, free: 25.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.007e-05/12.22, allocations: 18.95 kB / 3.356 GB, free: 25.73 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0002405/12.22, allocations: 158.8 kB / 3.356 GB, free: 25.66 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006257/12.22, allocations: 0.9722 MB / 3.357 GB, free: 25.53 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.01023/12.24, allocations: 1.475 MB / 3.359 GB, free: 25.21 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00192/12.24, allocations: 0.5759 MB / 3.359 GB, free: 25.09 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.341e-06/12.24, allocations: 3.812 kB / 3.359 GB, free: 25.09 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007544/12.24, allocations: 371.5 kB / 3.36 GB, free: 25.09 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001705/12.24, allocations: 137.6 kB / 3.36 GB, free: 25.07 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002169/12.24, allocations: 0.7629 MB / 3.361 GB, free: 24.8 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006512/12.24, allocations: 0.8586 MB / 3.361 GB, free: 24.09 MB / 442.7 MB Notification: Performance of SimCode: time 1.533e-06/12.24, allocations: 0 / 3.361 GB, free: 24.09 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat does not exist to compare? outputFormat=mat