Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_Tests_MediaTestModels_Water_ConstantPropertyLiquidWater",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.777/1.777, allocations: 194.9 MB / 202.5 MB, free: 6.926 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2347/2.012, allocations: 46.84 MB / 249.4 MB, free: 5.352 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0945/2.106, allocations: 44.5 MB / 293.9 MB, free: 10.92 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6978/2.804, allocations: 260.2 MB / 0.541 GB, free: 91.73 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002945/2.804, allocations: 81.44 kB / 0.5411 GB, free: 91.68 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.2512/3.056, allocations: 84.45 MB / 0.6236 GB, free: 14.06 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/3.056, allocations: 8 kB / 0.6236 GB, free: 14.05 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003767/3.056, allocations: 43.64 kB / 0.6236 GB, free: 14.01 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004353/3.056, allocations: 282.5 kB / 0.6239 GB, free: 13.7 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/3.056, allocations: 11.91 kB / 0.6239 GB, free: 13.68 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.671e-05/3.056, allocations: 12 kB / 0.6239 GB, free: 13.67 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004295/3.057, allocations: 157 kB / 0.6241 GB, free: 13.52 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005339/3.057, allocations: 275.6 kB / 0.6243 GB, free: 13.22 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/3.058, allocations: 3.938 kB / 0.6243 GB, free: 13.21 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.986e-05/3.058, allocations: 7.969 kB / 0.6243 GB, free: 13.21 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/3.058, allocations: 11.94 kB / 0.6244 GB, free: 13.2 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00221/3.06, allocations: 1.658 MB / 0.626 GB, free: 11.4 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002054/3.06, allocations: 93.64 kB / 0.6261 GB, free: 11.3 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001401/3.06, allocations: 56.92 kB / 0.6261 GB, free: 11.25 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001611/3.06, allocations: 170.2 kB / 0.6263 GB, free: 11.04 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/3.06, allocations: 38.56 kB / 0.6263 GB, free: 11 MB / 394.7 MB Notification: Performance of pre-optimization done (n=15): time 2.435e-06/3.06, allocations: 0 / 0.6263 GB, free: 11 MB / 394.7 MB Notification: Performance of matching and sorting (n=21): time 0.001943/3.062, allocations: 0.5895 MB / 0.6269 GB, free: 10.35 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.349e-05/3.062, allocations: 51.59 kB / 0.6269 GB, free: 10.29 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002983/3.063, allocations: 212.1 kB / 0.6271 GB, free: 10.08 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.874e-05/3.063, allocations: 25.7 kB / 0.6272 GB, free: 10.05 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.548e-05/3.063, allocations: 195.4 kB / 0.6274 GB, free: 9.852 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.743e-05/3.063, allocations: 63.02 kB / 0.6274 GB, free: 9.789 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.584e-05/3.063, allocations: 4 kB / 0.6274 GB, free: 9.785 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.325e-05/3.063, allocations: 334.8 kB / 0.6277 GB, free: 9.449 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/3.063, allocations: 59.98 kB / 0.6278 GB, free: 9.391 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002211/3.063, allocations: 180.8 kB / 0.628 GB, free: 9.16 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002982/3.064, allocations: 96.02 kB / 0.6281 GB, free: 9.066 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/3.064, allocations: 0 / 0.6281 GB, free: 9.066 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007208/3.065, allocations: 286.1 kB / 0.6283 GB, free: 8.777 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/3.065, allocations: 8 kB / 0.6283 GB, free: 8.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/3.065, allocations: 4 kB / 0.6283 GB, free: 8.766 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001385/3.065, allocations: 24.8 kB / 0.6284 GB, free: 8.738 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000568/3.065, allocations: 84.36 kB / 0.6284 GB, free: 8.656 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009928/3.066, allocations: 1.24 MB / 0.6297 GB, free: 7.301 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003563/3.067, allocations: 12.16 kB / 0.6297 GB, free: 7.289 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.672e-05/3.067, allocations: 12 kB / 0.6297 GB, free: 7.277 MB / 394.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * 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 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001639/3.067, allocations: 125.5 kB / 0.6298 GB, free: 7.148 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.831e-05/3.067, allocations: 31.7 kB / 0.6298 GB, free: 7.117 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005771/3.068, allocations: 204.1 kB / 0.63 GB, free: 6.906 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/3.068, allocations: 4 kB / 0.63 GB, free: 6.902 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/3.068, allocations: 0 / 0.63 GB, free: 6.902 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003993/3.068, allocations: 467.7 kB / 0.6305 GB, free: 6.359 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001337/3.069, allocations: 0.7063 MB / 0.6312 GB, free: 5.562 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/3.069, allocations: 4 kB / 0.6312 GB, free: 5.559 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003255/3.07, allocations: 51.86 kB / 0.6312 GB, free: 5.508 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.486e-06/3.07, allocations: 4 kB / 0.6312 GB, free: 5.504 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.936e-05/3.07, allocations: 7.906 kB / 0.6312 GB, free: 5.496 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.011e-06/3.07, allocations: 8.266 kB / 0.6312 GB, free: 5.488 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/3.07, allocations: 11.94 kB / 0.6312 GB, free: 5.477 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005861/3.07, allocations: 481.5 kB / 0.6317 GB, free: 4.91 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007851/3.071, allocations: 0.9094 MB / 0.6326 GB, free: 3.898 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/3.071, allocations: 108.8 kB / 0.6327 GB, free: 3.773 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.219e-05/3.071, allocations: 4 kB / 0.6327 GB, free: 3.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004372/3.072, allocations: 16.05 kB / 0.6327 GB, free: 3.754 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.297e-05/3.072, allocations: 15.83 kB / 0.6327 GB, free: 3.738 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.142e-05/3.072, allocations: 19.98 kB / 0.6328 GB, free: 3.719 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001804/3.072, allocations: 160.5 kB / 0.6329 GB, free: 3.562 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001577/3.074, allocations: 115.9 kB / 0.633 GB, free: 3.449 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000439/3.074, allocations: 239 kB / 0.6332 GB, free: 3.207 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000627/3.075, allocations: 273.9 kB / 0.6335 GB, free: 2.926 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/3.075, allocations: 0 / 0.6335 GB, free: 2.926 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001356/3.075, allocations: 65.48 kB / 0.6336 GB, free: 2.863 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/3.076, allocations: 108.5 kB / 0.6337 GB, free: 2.758 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/3.077, allocations: 417.6 kB / 0.6341 GB, free: 2.297 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003525/3.078, allocations: 0.8024 MB / 0.6349 GB, free: 1.469 MB / 394.7 MB Notification: Performance of SimCode: time 9.92e-07/3.078, allocations: 0 / 0.6349 GB, free: 1.469 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat does not exist to compare? outputFormat=mat