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.87/1.87, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.482e-05/3.494e-05, allocations: 0 / 225.1 MB, free: 2.594 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.2625, allocations: 38.77 MB / 263.9 MB, free: 9.746 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.389/8.652, allocations: 2.791 GB / 3.049 GB, free: 50.7 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00032/8.652, allocations: 87 kB / 3.049 GB, free: 50.65 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.725/13.38, allocations: 0.9482 GB / 3.997 GB, free: 52.45 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.864e-06/13.38, allocations: 3.562 kB / 3.997 GB, free: 52.45 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.442e-05/13.38, allocations: 6.312 kB / 3.997 GB, free: 52.45 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.005128/13.38, allocations: 1.189 MB / 3.998 GB, free: 51.79 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/13.38, allocations: 7.875 kB / 3.998 GB, free: 51.79 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.37e-05/13.38, allocations: 68.16 kB / 3.998 GB, free: 51.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003723/13.38, allocations: 46.12 kB / 3.998 GB, free: 51.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004554/13.38, allocations: 278 kB / 3.999 GB, free: 51.51 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.32e-05/13.38, allocations: 20.41 kB / 3.999 GB, free: 51.51 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.279e-05/13.38, allocations: 27.47 kB / 3.999 GB, free: 51.51 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006156/13.38, allocations: 287.3 kB / 3.999 GB, free: 51.42 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/13.38, allocations: 3.188 kB / 3.999 GB, free: 51.42 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.891e-05/13.38, allocations: 12.28 kB / 3.999 GB, free: 51.42 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/13.38, allocations: 4.906 kB / 3.999 GB, free: 51.42 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004534/13.38, allocations: 187.2 kB / 3.999 GB, free: 51.42 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00211/13.39, allocations: 1.445 MB / 4.001 GB, free: 50.39 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004089/13.39, allocations: 169.1 kB / 4.001 GB, free: 50.36 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001914/13.39, allocations: 85.55 kB / 4.001 GB, free: 50.36 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.565e-05/13.39, allocations: 7.609 kB / 4.001 GB, free: 50.36 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/13.39, allocations: 39.23 kB / 4.001 GB, free: 50.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 2.875e-06/13.39, allocations: 3.531 kB / 4.001 GB, free: 50.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.003368/13.39, allocations: 0.8519 MB / 4.002 GB, free: 49.99 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.012e-05/13.39, allocations: 55.12 kB / 4.002 GB, free: 49.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003305/13.39, allocations: 226.5 kB / 4.002 GB, free: 49.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.554e-05/13.39, allocations: 31.92 kB / 4.002 GB, free: 49.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/13.39, allocations: 240.5 kB / 4.002 GB, free: 49.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.237e-05/13.39, allocations: 95.78 kB / 4.002 GB, free: 49.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.466e-05/13.39, allocations: 7.406 kB / 4.002 GB, free: 49.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.545e-05/13.39, allocations: 325.1 kB / 4.003 GB, free: 49.22 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000215/13.39, allocations: 82.5 kB / 4.003 GB, free: 49.22 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002622/13.39, allocations: 174.2 kB / 4.003 GB, free: 49.11 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002827/13.39, allocations: 110.3 kB / 4.003 GB, free: 49.11 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/13.39, allocations: 2.125 kB / 4.003 GB, free: 49.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009859/13.39, allocations: 353.5 kB / 4.003 GB, free: 49.05 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/13.39, allocations: 7.75 kB / 4.003 GB, free: 49.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/13.39, allocations: 3.625 kB / 4.003 GB, free: 49.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003621/13.39, allocations: 64.59 kB / 4.003 GB, free: 49.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005265/13.39, allocations: 66.31 kB / 4.003 GB, free: 49.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002215/13.4, allocations: 2.668 MB / 4.006 GB, free: 46.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005035/13.4, allocations: 19.44 kB / 4.006 GB, free: 46.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.407e-05/13.4, allocations: 14.66 kB / 4.006 GB, free: 46.5 MB / 362.7 MB 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.0001297/13.4, allocations: 131.4 kB / 4.006 GB, free: 46.38 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.541e-05/13.4, allocations: 27.08 kB / 4.006 GB, free: 46.37 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001023/13.4, allocations: 39.47 kB / 4.006 GB, free: 46.34 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/13.4, allocations: 7.594 kB / 4.006 GB, free: 46.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/13.4, allocations: 0 / 4.006 GB, free: 46.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007356/13.4, allocations: 0.5492 MB / 4.007 GB, free: 45.83 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001358/13.4, allocations: 0.6963 MB / 4.007 GB, free: 45.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/13.4, allocations: 6.703 kB / 4.007 GB, free: 45.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003719/13.4, allocations: 40.67 kB / 4.008 GB, free: 45.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000343/13.4, allocations: 56.98 kB / 4.008 GB, free: 45.34 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.726e-05/13.4, allocations: 7.375 kB / 4.008 GB, free: 45.33 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00125/13.4, allocations: 1.389 MB / 4.009 GB, free: 43.96 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/13.4, allocations: 6.312 kB / 4.009 GB, free: 43.96 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000948/13.4, allocations: 476.3 kB / 4.009 GB, free: 43.67 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/13.4, allocations: 98.95 kB / 4.009 GB, free: 43.56 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.634e-05/13.4, allocations: 7.188 kB / 4.01 GB, free: 43.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004236/13.4, allocations: 12.89 kB / 4.01 GB, free: 43.55 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.082e-05/13.4, allocations: 16.59 kB / 4.01 GB, free: 43.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.313e-05/13.4, allocations: 13.97 kB / 4.01 GB, free: 43.55 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002369/13.4, allocations: 188.4 kB / 4.01 GB, free: 43.44 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.11e-07/13.4, allocations: 0 / 4.01 GB, free: 43.44 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008188/13.4, allocations: 121.6 kB / 4.01 GB, free: 43.42 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.001571/13.41, allocations: 1.265 MB / 4.011 GB, free: 42.51 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001036/13.41, allocations: 451.6 kB / 4.012 GB, free: 42.22 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/13.41, allocations: 0 / 4.012 GB, free: 42.22 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005047/13.41, allocations: 233.6 kB / 4.012 GB, free: 42.06 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001484/13.41, allocations: 154.3 kB / 4.012 GB, free: 42.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001657/13.41, allocations: 0.586 MB / 4.012 GB, free: 41.65 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002389/13.41, allocations: 0.767 MB / 4.013 GB, free: 40.95 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002201/13.41, allocations: 88.52 kB / 4.013 GB, free: 40.89 MB / 362.7 MB Notification: Performance of SimCode: time 9.92e-07/13.41, allocations: 0 / 4.013 GB, free: 40.89 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.96/16.37, allocations: 8.438 MB / 4.022 GB, free: 39.52 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