Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.071/2.071, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.546e-05/2.556e-05, allocations: 4 kB / 249.7 MB, free: 15.18 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3675/0.3676, allocations: 44.49 MB / 294.2 MB, free: 14.19 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.488/8.856, allocations: 2.901 GB / 3.188 GB, free: 76.99 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003162/8.856, allocations: 83.77 kB / 3.188 GB, free: 76.94 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.461/13.32, allocations: 0.9694 GB / 4.157 GB, free: 53.21 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.914e-06/13.32, allocations: 0 / 4.157 GB, free: 53.21 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.02e-05/13.32, allocations: 8 kB / 4.157 GB, free: 53.2 MB / 410.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.005269/13.32, allocations: 1.197 MB / 4.159 GB, free: 52.04 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/13.32, allocations: 8.031 kB / 4.159 GB, free: 52.03 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004211/13.32, allocations: 49.92 kB / 4.159 GB, free: 51.99 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004861/13.32, allocations: 273.7 kB / 4.159 GB, free: 51.71 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/13.32, allocations: 8 kB / 4.159 GB, free: 51.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.65e-05/13.32, allocations: 19.47 kB / 4.159 GB, free: 51.68 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004688/13.32, allocations: 169.9 kB / 4.159 GB, free: 51.53 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005207/13.32, allocations: 258.5 kB / 4.159 GB, free: 51.28 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/13.32, allocations: 0 / 4.159 GB, free: 51.28 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.794e-05/13.32, allocations: 11.89 kB / 4.159 GB, free: 51.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/13.32, allocations: 4 kB / 4.159 GB, free: 51.26 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002165/13.33, allocations: 1.376 MB / 4.161 GB, free: 49.92 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003798/13.33, allocations: 159 kB / 4.161 GB, free: 49.76 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000168/13.33, allocations: 86.78 kB / 4.161 GB, free: 49.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.943e-05/13.33, allocations: 4.188 kB / 4.161 GB, free: 49.67 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/13.33, allocations: 30.75 kB / 4.161 GB, free: 49.63 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 2.985e-06/13.33, allocations: 0 / 4.161 GB, free: 49.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.002533/13.33, allocations: 0.7462 MB / 4.162 GB, free: 48.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.612e-05/13.33, allocations: 55.41 kB / 4.162 GB, free: 48.83 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002755/13.33, allocations: 189.2 kB / 4.162 GB, free: 48.65 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.23e-05/13.33, allocations: 25.7 kB / 4.162 GB, free: 48.62 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/13.33, allocations: 253.5 kB / 4.162 GB, free: 48.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.208e-05/13.33, allocations: 82.33 kB / 4.162 GB, free: 48.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.293e-05/13.33, allocations: 0 / 4.162 GB, free: 48.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.619e-05/13.33, allocations: 326.5 kB / 4.163 GB, free: 47.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001835/13.33, allocations: 75.66 kB / 4.163 GB, free: 47.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002314/13.33, allocations: 170.5 kB / 4.163 GB, free: 47.71 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002487/13.33, allocations: 101.2 kB / 4.163 GB, free: 47.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/13.33, allocations: 0 / 4.163 GB, free: 47.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009133/13.33, allocations: 337.6 kB / 4.163 GB, free: 47.31 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/13.33, allocations: 8 kB / 4.163 GB, free: 47.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/13.33, allocations: 4 kB / 4.163 GB, free: 47.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003767/13.33, allocations: 56.3 kB / 4.163 GB, free: 47.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005177/13.33, allocations: 67.58 kB / 4.163 GB, free: 47.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00224/13.34, allocations: 2.575 MB / 4.166 GB, free: 44.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004806/13.34, allocations: 15.48 kB / 4.166 GB, free: 44.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.59e-05/13.34, allocations: 19.95 kB / 4.166 GB, free: 44.42 MB / 410.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: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002013/13.34, allocations: 116.9 kB / 4.166 GB, free: 44.3 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007429/13.34, allocations: 276.2 kB / 4.166 GB, free: 44.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.856e-05/13.34, allocations: 19.81 kB / 4.166 GB, free: 44.04 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.787e-05/13.34, allocations: 25.97 kB / 4.166 GB, free: 44.01 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/13.34, allocations: 4 kB / 4.166 GB, free: 44.01 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/13.34, allocations: 0 / 4.166 GB, free: 44.01 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007035/13.34, allocations: 0.5444 MB / 4.167 GB, free: 43.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001328/13.34, allocations: 0.6391 MB / 4.168 GB, free: 42.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/13.34, allocations: 0 / 4.168 GB, free: 42.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000376/13.34, allocations: 49.94 kB / 4.168 GB, free: 42.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003388/13.34, allocations: 55.28 kB / 4.168 GB, free: 42.73 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.601e-05/13.34, allocations: 4 kB / 4.168 GB, free: 42.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001307/13.34, allocations: 1.323 MB / 4.169 GB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/13.34, allocations: 8.031 kB / 4.169 GB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/13.34, allocations: 453.4 kB / 4.169 GB, free: 40.87 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001327/13.34, allocations: 100.9 kB / 4.169 GB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.986e-05/13.34, allocations: 3.797 kB / 4.169 GB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003795/13.34, allocations: 8.062 kB / 4.169 GB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.304e-05/13.34, allocations: 15.45 kB / 4.169 GB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-05/13.34, allocations: 15.61 kB / 4.169 GB, free: 40.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001866/13.34, allocations: 153.2 kB / 4.17 GB, free: 40.59 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.71e-07/13.34, allocations: 0 / 4.17 GB, free: 40.59 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008833/13.34, allocations: 104 kB / 4.17 GB, free: 40.48 MB / 410.7 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 (24): * Single equations (assignments): 23 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00154/13.35, allocations: 1.27 MB / 4.171 GB, free: 39.27 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009494/13.35, allocations: 442.2 kB / 4.171 GB, free: 38.83 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/13.35, allocations: 8.062 kB / 4.171 GB, free: 38.82 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004676/13.35, allocations: 212.3 kB / 4.172 GB, free: 38.61 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001245/13.35, allocations: 126.9 kB / 4.172 GB, free: 38.53 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001672/13.35, allocations: 0.5619 MB / 4.172 GB, free: 37.99 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002413/13.35, allocations: 0.7667 MB / 4.173 GB, free: 37.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002174/13.35, allocations: 90.98 kB / 4.173 GB, free: 37.15 MB / 410.7 MB Notification: Performance of SimCode: time 1.132e-06/13.35, allocations: 0 / 4.173 GB, free: 37.15 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.728/16.08, allocations: 8.043 MB / 4.181 GB, free: 32.62 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT_res.mat does not exist to compare? outputFormat=mat