Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Media_Examples_Tests_MediaTestModels_Water_ConstantPropertyLiquidWater",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.828/1.828, allocations: 194.9 MB / 202.6 MB, free: 6.898 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2638/2.092, allocations: 46.84 MB / 249.4 MB, free: 5.32 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/2.192, allocations: 44.51 MB / 293.9 MB, free: 10.87 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7036/2.896, allocations: 260.2 MB / 0.5411 GB, free: 89.79 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003075/2.896, allocations: 81.75 kB / 0.5412 GB, free: 89.75 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.3091/3.205, allocations: 84.45 MB / 0.6236 GB, free: 11.81 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/3.205, allocations: 8 kB / 0.6237 GB, free: 11.8 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004507/3.206, allocations: 39.7 kB / 0.6237 GB, free: 11.76 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005065/3.206, allocations: 286.5 kB / 0.624 GB, free: 11.44 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/3.206, allocations: 11.91 kB / 0.624 GB, free: 11.43 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.185e-05/3.206, allocations: 15.94 kB / 0.624 GB, free: 11.41 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004894/3.207, allocations: 157 kB / 0.6241 GB, free: 11.26 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005897/3.207, allocations: 267.6 kB / 0.6244 GB, free: 10.97 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/3.208, allocations: 3.938 kB / 0.6244 GB, free: 10.96 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.357e-05/3.208, allocations: 3.984 kB / 0.6244 GB, free: 10.96 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/3.208, allocations: 8 kB / 0.6244 GB, free: 10.95 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002545/3.21, allocations: 1.665 MB / 0.626 GB, free: 9.152 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000227/3.21, allocations: 93.7 kB / 0.6261 GB, free: 9.055 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001547/3.211, allocations: 57.7 kB / 0.6262 GB, free: 8.996 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001721/3.211, allocations: 170.2 kB / 0.6263 GB, free: 8.793 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/3.211, allocations: 34.56 kB / 0.6264 GB, free: 8.75 MB / 394.7 MB Notification: Performance of pre-optimization done (n=15): time 3.647e-06/3.211, allocations: 4 kB / 0.6264 GB, free: 8.746 MB / 394.7 MB Notification: Performance of matching and sorting (n=21): time 0.002069/3.213, allocations: 0.588 MB / 0.627 GB, free: 8.102 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.147e-05/3.213, allocations: 51.59 kB / 0.627 GB, free: 8.039 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000304/3.213, allocations: 212.2 kB / 0.6272 GB, free: 7.828 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.089e-05/3.213, allocations: 29.64 kB / 0.6272 GB, free: 7.793 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.905e-05/3.213, allocations: 195.4 kB / 0.6274 GB, free: 7.598 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.114e-05/3.213, allocations: 63.02 kB / 0.6275 GB, free: 7.535 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.78e-05/3.214, allocations: 4 kB / 0.6275 GB, free: 7.531 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.399e-05/3.214, allocations: 330.8 kB / 0.6278 GB, free: 7.199 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001723/3.214, allocations: 60 kB / 0.6279 GB, free: 7.141 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002338/3.214, allocations: 184.8 kB / 0.628 GB, free: 6.906 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003192/3.214, allocations: 99.39 kB / 0.6281 GB, free: 6.812 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/3.214, allocations: 0 / 0.6281 GB, free: 6.812 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007771/3.215, allocations: 285.8 kB / 0.6284 GB, free: 6.523 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/3.215, allocations: 4 kB / 0.6284 GB, free: 6.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/3.215, allocations: 4 kB / 0.6284 GB, free: 6.516 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001403/3.215, allocations: 28.8 kB / 0.6284 GB, free: 6.484 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006238/3.216, allocations: 80.39 kB / 0.6285 GB, free: 6.406 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001039/3.217, allocations: 1.244 MB / 0.6297 GB, free: 5.047 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003825/3.217, allocations: 12.16 kB / 0.6297 GB, free: 5.035 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.163e-05/3.217, allocations: 16 kB / 0.6298 GB, free: 5.02 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.0001573/3.218, allocations: 112.9 kB / 0.6299 GB, free: 4.902 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.583e-05/3.218, allocations: 31.66 kB / 0.6299 GB, free: 4.871 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005957/3.218, allocations: 204.2 kB / 0.6301 GB, free: 4.66 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-06/3.218, allocations: 4 kB / 0.6301 GB, free: 4.656 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/3.218, allocations: 0 / 0.6301 GB, free: 4.656 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004391/3.219, allocations: 474.9 kB / 0.6305 GB, free: 4.109 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001459/3.22, allocations: 0.7102 MB / 0.6312 GB, free: 3.309 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/3.22, allocations: 4 kB / 0.6312 GB, free: 3.305 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003621/3.221, allocations: 39.92 kB / 0.6313 GB, free: 3.266 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.734e-06/3.221, allocations: 4 kB / 0.6313 GB, free: 3.262 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.238e-05/3.221, allocations: 11.91 kB / 0.6313 GB, free: 3.25 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.553e-06/3.221, allocations: 12.25 kB / 0.6313 GB, free: 3.238 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/3.221, allocations: 11.94 kB / 0.6313 GB, free: 3.227 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006564/3.221, allocations: 481.5 kB / 0.6318 GB, free: 2.66 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008697/3.222, allocations: 0.9087 MB / 0.6327 GB, free: 1.652 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.254e-05/3.222, allocations: 104.8 kB / 0.6328 GB, free: 1.531 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.742e-05/3.223, allocations: 0 / 0.6328 GB, free: 1.531 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004727/3.223, allocations: 16.05 kB / 0.6328 GB, free: 1.516 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.724e-05/3.223, allocations: 23.83 kB / 0.6328 GB, free: 1.492 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-05/3.223, allocations: 15.98 kB / 0.6328 GB, free: 1.477 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0002125/3.223, allocations: 160.5 kB / 0.633 GB, free: 1.32 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001776/3.225, allocations: 119.9 kB / 0.6331 GB, free: 1.203 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.000416/3.226, allocations: 243.1 kB / 0.6333 GB, free: 0.957 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005759/3.226, allocations: 269.9 kB / 0.6336 GB, free: 0.6836 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/3.226, allocations: 0 / 0.6336 GB, free: 0.6836 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001466/3.226, allocations: 65.25 kB / 0.6336 GB, free: 0.6211 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/3.228, allocations: 100.5 kB / 0.6337 GB, free: 0.5234 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/3.229, allocations: 417.6 kB / 0.6341 GB, free: 64 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1441/3.373, allocations: 0.8064 MB / 0.6349 GB, free: 150.5 MB / 394.7 MB Notification: Performance of SimCode: time 1.693e-06/3.373, allocations: 0 / 0.6349 GB, free: 150.5 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat does not exist to compare? outputFormat=mat