Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.794/1.794, allocations: 171.2 MB / 178.8 MB, free: 164 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.735e-05/2.745e-05, allocations: 4 kB / 219.6 MB, free: 7.312 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2818/0.2819, allocations: 38.77 MB / 258.3 MB, free: 12.07 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.002/1.284, allocations: 356.5 MB / 0.6005 GB, free: 41.21 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003018/1.284, allocations: 83.83 kB / 0.6005 GB, free: 41.16 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5105/1.795, allocations: 80.57 MB / 0.6792 GB, free: 120.4 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.744e-06/1.795, allocations: 0 / 0.6792 GB, free: 120.4 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.321e-05/1.795, allocations: 4 kB / 0.6792 GB, free: 120.4 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.001168/1.796, allocations: 0.5965 MB / 0.6798 GB, free: 119.7 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/1.796, allocations: 8.031 kB / 0.6798 GB, free: 119.7 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003467/1.797, allocations: 43.61 kB / 0.6799 GB, free: 119.7 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004287/1.797, allocations: 273.8 kB / 0.6801 GB, free: 119.4 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/1.797, allocations: 15.94 kB / 0.6801 GB, free: 119.4 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.676e-05/1.797, allocations: 15.95 kB / 0.6802 GB, free: 119.3 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004299/1.798, allocations: 169.1 kB / 0.6803 GB, free: 119.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005169/1.798, allocations: 258.6 kB / 0.6806 GB, free: 118.9 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/1.798, allocations: 4 kB / 0.6806 GB, free: 118.9 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.478e-05/1.798, allocations: 4 kB / 0.6806 GB, free: 118.9 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/1.798, allocations: 8 kB / 0.6806 GB, free: 118.9 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002002/1.8, allocations: 1.374 MB / 0.6819 GB, free: 117.4 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003707/1.801, allocations: 163.1 kB / 0.6821 GB, free: 117.2 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001672/1.801, allocations: 81.17 kB / 0.6822 GB, free: 117.2 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.776e-05/1.801, allocations: 4.188 kB / 0.6822 GB, free: 117.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/1.801, allocations: 38.75 kB / 0.6822 GB, free: 117.1 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 4.669e-06/1.801, allocations: 3.891 kB / 0.6822 GB, free: 117.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.002425/1.803, allocations: 0.7436 MB / 0.6829 GB, free: 116.3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.854e-05/1.804, allocations: 63.34 kB / 0.683 GB, free: 116.2 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002884/1.804, allocations: 195 kB / 0.6832 GB, free: 116 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.001e-05/1.804, allocations: 25.7 kB / 0.6832 GB, free: 116 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/1.804, allocations: 250.2 kB / 0.6834 GB, free: 115.8 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.897e-05/1.804, allocations: 90.66 kB / 0.6835 GB, free: 115.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.243e-05/1.804, allocations: 0 / 0.6835 GB, free: 115.7 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.679e-05/1.804, allocations: 326.8 kB / 0.6838 GB, free: 115.3 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001791/1.804, allocations: 75.78 kB / 0.6839 GB, free: 115.3 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002309/1.805, allocations: 167.1 kB / 0.6841 GB, free: 115.1 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002606/1.805, allocations: 106.9 kB / 0.6842 GB, free: 115 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/1.805, allocations: 0 / 0.6842 GB, free: 115 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009036/1.806, allocations: 326 kB / 0.6845 GB, free: 114.6 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/1.806, allocations: 11.95 kB / 0.6845 GB, free: 114.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/1.806, allocations: 4 kB / 0.6845 GB, free: 114.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003696/1.806, allocations: 62.05 kB / 0.6845 GB, free: 114.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005105/1.807, allocations: 67.91 kB / 0.6846 GB, free: 114.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002242/1.809, allocations: 2.563 MB / 0.6871 GB, free: 111.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004768/1.81, allocations: 23.98 kB / 0.6871 GB, free: 111.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.079e-05/1.81, allocations: 8 kB / 0.6871 GB, free: 111.7 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.0002079/1.81, allocations: 109.7 kB / 0.6873 GB, free: 111.6 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006868/1.811, allocations: 262.9 kB / 0.6875 GB, free: 111.3 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.68e-05/1.811, allocations: 23.72 kB / 0.6875 GB, free: 111.3 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.421e-05/1.811, allocations: 29.95 kB / 0.6876 GB, free: 111.2 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/1.811, allocations: 4 kB / 0.6876 GB, free: 111.2 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/1.811, allocations: 4 kB / 0.6876 GB, free: 111.2 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006353/1.811, allocations: 0.5434 MB / 0.6881 GB, free: 110.6 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001255/1.813, allocations: 0.6399 MB / 0.6887 GB, free: 109.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/1.813, allocations: 7.922 kB / 0.6887 GB, free: 109.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003699/1.813, allocations: 43.98 kB / 0.6888 GB, free: 109.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000337/1.813, allocations: 56.77 kB / 0.6888 GB, free: 109.8 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.761e-05/1.813, allocations: 7.984 kB / 0.6888 GB, free: 109.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001177/1.815, allocations: 1.326 MB / 0.6901 GB, free: 108.4 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/1.815, allocations: 0 / 0.6901 GB, free: 108.4 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008432/1.816, allocations: 443.1 kB / 0.6905 GB, free: 107.9 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/1.816, allocations: 105 kB / 0.6906 GB, free: 107.8 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.169e-05/1.816, allocations: 7.922 kB / 0.6907 GB, free: 107.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000365/1.816, allocations: 11.94 kB / 0.6907 GB, free: 107.8 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.774e-05/1.816, allocations: 19.92 kB / 0.6907 GB, free: 107.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.943e-05/1.816, allocations: 8 kB / 0.6907 GB, free: 107.7 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001806/1.816, allocations: 149.9 kB / 0.6908 GB, free: 107.6 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.11e-07/1.816, allocations: 0 / 0.6908 GB, free: 107.6 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007361/1.817, allocations: 104 kB / 0.6909 GB, free: 107.5 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.001208/1.818, allocations: 1.096 MB / 0.692 GB, free: 106.4 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009219/1.819, allocations: 443.8 kB / 0.6924 GB, free: 105.9 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/1.819, allocations: 4 kB / 0.6924 GB, free: 105.9 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005055/1.82, allocations: 218.1 kB / 0.6926 GB, free: 105.7 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001214/1.821, allocations: 112.8 kB / 0.6927 GB, free: 105.6 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001581/1.823, allocations: 0.557 MB / 0.6933 GB, free: 105 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002589/1.823, allocations: 0.7677 MB / 0.694 GB, free: 104.2 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002093/1.823, allocations: 87.41 kB / 0.6941 GB, free: 104.1 MB / 362.7 MB Notification: Performance of SimCode: time 1.724e-06/1.823, allocations: 0 / 0.6941 GB, free: 104.1 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.766/4.589, allocations: 7.208 MB / 0.7012 GB, free: 96.88 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.LinearColdWater_res.mat does not exist to compare? outputFormat=mat