Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="Modelica_3_2_1_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.91/1.91, allocations: 171.2 MB / 178.1 MB, free: 6.707 MB / 147.1 MB Notification: Performance of FrontEnd - loaded program: time 0.1103/2.02, allocations: 41.11 MB / 219.3 MB, free: 13.52 MB / 195.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/2.246, allocations: 38.76 MB / 258 MB, free: 5.199 MB / 211.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7709/3.017, allocations: 254.9 MB / 0.5009 GB, free: 96.23 MB / 355.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000438/3.017, allocations: 82.14 kB / 0.5009 GB, free: 96.23 MB / 355.1 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.3233/3.34, allocations: 84.41 MB / 0.5834 GB, free: 26.4 MB / 355.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.335e-05/3.34, allocations: 8 kB / 0.5834 GB, free: 26.39 MB / 355.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007318/3.341, allocations: 43.61 kB / 0.5834 GB, free: 26.35 MB / 355.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005732/3.342, allocations: 286.8 kB / 0.5837 GB, free: 26.03 MB / 355.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/3.342, allocations: 8 kB / 0.5837 GB, free: 26.02 MB / 355.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.955e-05/3.342, allocations: 19.98 kB / 0.5837 GB, free: 26 MB / 355.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004588/3.342, allocations: 153 kB / 0.5839 GB, free: 25.86 MB / 355.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005652/3.343, allocations: 281.2 kB / 0.5841 GB, free: 25.55 MB / 355.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/3.343, allocations: 0 / 0.5841 GB, free: 25.55 MB / 355.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.171e-05/3.343, allocations: 4 kB / 0.5841 GB, free: 25.54 MB / 355.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/3.343, allocations: 4 kB / 0.5841 GB, free: 25.54 MB / 355.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002343/3.345, allocations: 1.665 MB / 0.5858 GB, free: 23.74 MB / 355.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00021/3.346, allocations: 85.78 kB / 0.5858 GB, free: 23.65 MB / 355.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001925/3.346, allocations: 60.89 kB / 0.5859 GB, free: 23.59 MB / 355.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002391/3.346, allocations: 170.1 kB / 0.5861 GB, free: 23.38 MB / 355.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/3.346, allocations: 38.56 kB / 0.5861 GB, free: 23.34 MB / 355.1 MB Notification: Performance of pre-optimization done (n=15): time 5.38e-06/3.346, allocations: 0 / 0.5861 GB, free: 23.34 MB / 355.1 MB Notification: Performance of matching and sorting (n=21): time 0.002268/3.349, allocations: 0.5854 MB / 0.5867 GB, free: 22.69 MB / 355.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.583e-05/3.349, allocations: 55.59 kB / 0.5867 GB, free: 22.62 MB / 355.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002887/3.349, allocations: 208.3 kB / 0.5869 GB, free: 22.42 MB / 355.1 MB Notification: Performance of collectPreVariables (initialization): time 3.049e-05/3.349, allocations: 25.7 kB / 0.587 GB, free: 22.39 MB / 355.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.466e-05/3.349, allocations: 191.4 kB / 0.5871 GB, free: 22.19 MB / 355.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.263e-05/3.349, allocations: 70.91 kB / 0.5872 GB, free: 22.12 MB / 355.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.538e-05/3.349, allocations: 4 kB / 0.5872 GB, free: 22.12 MB / 355.1 MB Notification: Performance of setup shared object (initialization): time 7.695e-05/3.349, allocations: 338.8 kB / 0.5875 GB, free: 21.78 MB / 355.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/3.349, allocations: 59.72 kB / 0.5876 GB, free: 21.72 MB / 355.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002144/3.35, allocations: 175.6 kB / 0.5878 GB, free: 21.49 MB / 355.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003016/3.35, allocations: 92.78 kB / 0.5878 GB, free: 21.4 MB / 355.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/3.35, allocations: 4 kB / 0.5878 GB, free: 21.4 MB / 355.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007396/3.351, allocations: 286 kB / 0.5881 GB, free: 21.11 MB / 355.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/3.351, allocations: 11.12 kB / 0.5881 GB, free: 21.1 MB / 355.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/3.351, allocations: 7.984 kB / 0.5881 GB, free: 21.09 MB / 355.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001547/3.351, allocations: 32.75 kB / 0.5882 GB, free: 21.06 MB / 355.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000589/3.352, allocations: 88.3 kB / 0.5883 GB, free: 20.97 MB / 355.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001087/3.353, allocations: 1.232 MB / 0.5895 GB, free: 19.62 MB / 355.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003624/3.353, allocations: 20.05 kB / 0.5895 GB, free: 19.61 MB / 355.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.948e-05/3.353, allocations: 16 kB / 0.5895 GB, free: 19.59 MB / 355.1 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.000173/3.353, allocations: 120.8 kB / 0.5896 GB, free: 19.46 MB / 355.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.76e-05/3.353, allocations: 23.72 kB / 0.5896 GB, free: 19.44 MB / 355.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005663/3.354, allocations: 188.5 kB / 0.5898 GB, free: 19.25 MB / 355.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/3.354, allocations: 4 kB / 0.5898 GB, free: 19.25 MB / 355.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/3.354, allocations: 3.938 kB / 0.5898 GB, free: 19.24 MB / 355.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004073/3.354, allocations: 479.6 kB / 0.5903 GB, free: 18.69 MB / 355.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001384/3.356, allocations: 0.7025 MB / 0.591 GB, free: 17.89 MB / 355.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/3.356, allocations: 4 kB / 0.591 GB, free: 17.89 MB / 355.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003541/3.356, allocations: 51.91 kB / 0.591 GB, free: 17.84 MB / 355.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/3.356, allocations: 4 kB / 0.591 GB, free: 17.84 MB / 355.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.883e-05/3.356, allocations: 0 / 0.591 GB, free: 17.84 MB / 355.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/3.356, allocations: 4.281 kB / 0.591 GB, free: 17.83 MB / 355.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/3.356, allocations: 8 kB / 0.591 GB, free: 17.82 MB / 355.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005982/3.357, allocations: 494 kB / 0.5915 GB, free: 17.25 MB / 355.1 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008057/3.358, allocations: 0.909 MB / 0.5924 GB, free: 16.23 MB / 355.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.479e-05/3.358, allocations: 104.8 kB / 0.5925 GB, free: 16.11 MB / 355.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.313e-05/3.358, allocations: 4 kB / 0.5925 GB, free: 16.11 MB / 355.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004428/3.358, allocations: 19.97 kB / 0.5925 GB, free: 16.09 MB / 355.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.305e-05/3.358, allocations: 15.97 kB / 0.5925 GB, free: 16.07 MB / 355.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.056e-05/3.358, allocations: 12 kB / 0.5925 GB, free: 16.06 MB / 355.1 MB Notification: Performance of sort global known variables: time 0.0001878/3.359, allocations: 160.5 kB / 0.5927 GB, free: 15.9 MB / 355.1 MB Notification: Performance of remove unused functions: time 0.001611/3.36, allocations: 119.8 kB / 0.5928 GB, free: 15.79 MB / 355.1 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.0005619/3.361, allocations: 243.8 kB / 0.593 GB, free: 15.54 MB / 355.1 MB Notification: Performance of simCode: created initialization part: time 0.0006468/3.361, allocations: 270 kB / 0.5933 GB, free: 15.27 MB / 355.1 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/3.361, allocations: 0 / 0.5933 GB, free: 15.27 MB / 355.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000161/3.362, allocations: 69.36 kB / 0.5934 GB, free: 15.2 MB / 355.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001841/3.363, allocations: 104.3 kB / 0.5935 GB, free: 15.1 MB / 355.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001902/3.365, allocations: 421.6 kB / 0.5939 GB, free: 14.63 MB / 355.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006564/3.366, allocations: 0.7985 MB / 0.5946 GB, free: 13.81 MB / 355.1 MB Notification: Performance of SimCode: time 1.603e-06/3.366, allocations: 0 / 0.5946 GB, free: 13.81 MB / 355.1 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat does not exist to compare? outputFormat=mat