Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.768/1.768, allocations: 171.3 MB / 178.8 MB, free: 168 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.848e-05/2.841e-05, allocations: 8 kB / 219.6 MB, free: 7.309 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2636, allocations: 38.76 MB / 258.3 MB, free: 12.07 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.181/8.445, allocations: 2.79 GB / 3.043 GB, free: 67.88 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003215/8.445, allocations: 85.81 kB / 3.043 GB, free: 67.88 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188/12.63, allocations: 0.9381 GB / 3.981 GB, free: 28.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.938e-06/12.63, allocations: 4 kB / 3.981 GB, free: 28.59 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.212e-05/12.63, allocations: 8 kB / 3.981 GB, free: 28.58 MB / 362.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.005008/12.64, allocations: 1.192 MB / 3.982 GB, free: 27.5 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/12.64, allocations: 8.031 kB / 3.982 GB, free: 27.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003766/12.64, allocations: 39.62 kB / 3.982 GB, free: 27.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004308/12.64, allocations: 282.6 kB / 3.982 GB, free: 27.17 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/12.64, allocations: 12 kB / 3.982 GB, free: 27.16 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.398e-05/12.64, allocations: 15.94 kB / 3.982 GB, free: 27.14 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004381/12.64, allocations: 171.6 kB / 3.983 GB, free: 26.98 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005373/12.64, allocations: 253.8 kB / 3.983 GB, free: 26.74 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/12.64, allocations: 2.719 kB / 3.983 GB, free: 26.74 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.482e-05/12.64, allocations: 8 kB / 3.983 GB, free: 26.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.377e-06/12.64, allocations: 4 kB / 3.983 GB, free: 26.73 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001926/12.64, allocations: 1.369 MB / 3.984 GB, free: 25.39 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003622/12.64, allocations: 169 kB / 3.984 GB, free: 25.22 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001639/12.64, allocations: 80.3 kB / 3.984 GB, free: 25.14 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.798e-05/12.64, allocations: 4.188 kB / 3.984 GB, free: 25.14 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/12.64, allocations: 34.75 kB / 3.984 GB, free: 25.09 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 2.855e-06/12.64, allocations: 0 / 3.984 GB, free: 25.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.002434/12.65, allocations: 0.7537 MB / 3.985 GB, free: 24.36 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.565e-05/12.65, allocations: 55.41 kB / 3.985 GB, free: 24.29 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000255/12.65, allocations: 196.1 kB / 3.985 GB, free: 24.1 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.266e-05/12.65, allocations: 25.7 kB / 3.985 GB, free: 24.07 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.487e-05/12.65, allocations: 248.2 kB / 3.986 GB, free: 23.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.599e-05/12.65, allocations: 89.72 kB / 3.986 GB, free: 23.75 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.218e-05/12.65, allocations: 0 / 3.986 GB, free: 23.75 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.682e-05/12.65, allocations: 326.2 kB / 3.986 GB, free: 23.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001782/12.65, allocations: 75.78 kB / 3.986 GB, free: 23.36 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002227/12.65, allocations: 165.8 kB / 3.986 GB, free: 23.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002419/12.65, allocations: 104.5 kB / 3.986 GB, free: 23.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/12.65, allocations: 0 / 3.986 GB, free: 23.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008807/12.65, allocations: 329 kB / 3.987 GB, free: 22.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/12.65, allocations: 8 kB / 3.987 GB, free: 22.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/12.65, allocations: 6.438 kB / 3.987 GB, free: 22.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004245/12.65, allocations: 64.77 kB / 3.987 GB, free: 22.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005211/12.65, allocations: 63.34 kB / 3.987 GB, free: 22.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002118/12.65, allocations: 2.57 MB / 3.989 GB, free: 19.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004519/12.65, allocations: 15.34 kB / 3.989 GB, free: 19.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.387e-05/12.65, allocations: 12 kB / 3.989 GB, free: 19.88 MB / 362.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.0002022/12.65, allocations: 117.6 kB / 3.99 GB, free: 19.76 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007459/12.65, allocations: 259.6 kB / 3.99 GB, free: 19.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.83e-05/12.65, allocations: 23.72 kB / 3.99 GB, free: 19.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.853e-05/12.65, allocations: 33.3 kB / 3.99 GB, free: 19.47 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/12.65, allocations: 7.953 kB / 3.99 GB, free: 19.46 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/12.65, allocations: 3.25 kB / 3.99 GB, free: 19.46 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006507/12.65, allocations: 0.535 MB / 3.99 GB, free: 18.87 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001267/12.65, allocations: 0.6367 MB / 3.991 GB, free: 18.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/12.65, allocations: 0 / 3.991 GB, free: 18.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003784/12.66, allocations: 55.33 kB / 3.991 GB, free: 18.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003391/12.66, allocations: 54.61 kB / 3.991 GB, free: 18.19 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.666e-05/12.66, allocations: 0 / 3.991 GB, free: 18.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001213/12.66, allocations: 1.331 MB / 3.992 GB, free: 16.78 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/12.66, allocations: 4.031 kB / 3.992 GB, free: 16.77 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008761/12.66, allocations: 447.5 kB / 3.993 GB, free: 16.33 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.884e-05/12.66, allocations: 108.4 kB / 3.993 GB, free: 16.21 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.695e-05/12.66, allocations: 0 / 3.993 GB, free: 16.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003628/12.66, allocations: 7.609 kB / 3.993 GB, free: 16.21 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.798e-05/12.66, allocations: 20.06 kB / 3.993 GB, free: 16.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-05/12.66, allocations: 10.86 kB / 3.993 GB, free: 16.19 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001749/12.66, allocations: 148.5 kB / 3.993 GB, free: 16.05 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.31e-07/12.66, allocations: 0 / 3.993 GB, free: 16.05 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008876/12.66, allocations: 111.4 kB / 3.993 GB, free: 15.95 MB / 362.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.00151/12.66, allocations: 1.262 MB / 3.994 GB, free: 14.74 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009566/12.66, allocations: 439.4 kB / 3.995 GB, free: 14.3 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/12.66, allocations: 4 kB / 3.995 GB, free: 14.3 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004757/12.66, allocations: 221.8 kB / 3.995 GB, free: 14.09 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001263/12.66, allocations: 120.7 kB / 3.995 GB, free: 14.01 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001667/12.67, allocations: 0.5552 MB / 3.996 GB, free: 13.47 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/12.67, allocations: 0.7671 MB / 3.997 GB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002112/12.67, allocations: 92.8 kB / 3.997 GB, free: 12.63 MB / 362.7 MB Notification: Performance of SimCode: time 1.002e-06/12.67, allocations: 0 / 3.997 GB, free: 12.63 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.82/15.49, allocations: 8.057 MB / 4.004 GB, free: 8.059 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT_res.mat does not exist to compare? outputFormat=mat