Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Water_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.765/1.765, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.524e-05/3.548e-05, allocations: 4 kB / 225.1 MB, free: 2.598 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.2685, allocations: 38.77 MB / 263.9 MB, free: 9.742 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8864/1.155, allocations: 255.6 MB / 0.5073 GB, free: 104.1 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003085/1.155, allocations: 81.89 kB / 0.5073 GB, free: 104.1 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2584/1.414, allocations: 83.96 MB / 0.5893 GB, free: 50.83 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.976e-06/1.414, allocations: 3.984 kB / 0.5893 GB, free: 50.82 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.13e-05/1.414, allocations: 4 kB / 0.5894 GB, free: 50.82 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.0008052/1.415, allocations: 0.5183 MB / 0.5899 GB, free: 50.26 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/1.415, allocations: 16.03 kB / 0.5899 GB, free: 50.24 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.012e-05/1.415, allocations: 62.53 kB / 0.5899 GB, free: 50.17 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003543/1.415, allocations: 43.62 kB / 0.59 GB, free: 50.13 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004253/1.415, allocations: 282.5 kB / 0.5902 GB, free: 49.81 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/1.416, allocations: 20.56 kB / 0.5903 GB, free: 49.79 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.67e-05/1.416, allocations: 24 kB / 0.5903 GB, free: 49.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006507/1.416, allocations: 308.3 kB / 0.5906 GB, free: 49.43 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/1.416, allocations: 7.938 kB / 0.5906 GB, free: 49.43 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.352e-05/1.416, allocations: 12 kB / 0.5906 GB, free: 49.41 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/1.416, allocations: 4 kB / 0.5906 GB, free: 49.41 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004193/1.417, allocations: 172.8 kB / 0.5908 GB, free: 49.24 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002302/1.419, allocations: 1.724 MB / 0.5925 GB, free: 47.37 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002982/1.419, allocations: 130.5 kB / 0.5926 GB, free: 47.23 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001406/1.42, allocations: 72.8 kB / 0.5926 GB, free: 47.16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001702/1.42, allocations: 170.2 kB / 0.5928 GB, free: 46.95 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/1.42, allocations: 34.56 kB / 0.5928 GB, free: 46.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 2.735e-06/1.42, allocations: 0 / 0.5928 GB, free: 46.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=21): time 0.00226/1.422, allocations: 0.671 MB / 0.5935 GB, free: 46.19 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.918e-05/1.422, allocations: 59.59 kB / 0.5936 GB, free: 46.12 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003404/1.423, allocations: 243.1 kB / 0.5938 GB, free: 45.87 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.306e-05/1.423, allocations: 29.7 kB / 0.5938 GB, free: 45.84 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/1.423, allocations: 254.1 kB / 0.5941 GB, free: 45.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.857e-05/1.423, allocations: 78.84 kB / 0.5941 GB, free: 45.51 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.991e-05/1.423, allocations: 8 kB / 0.5941 GB, free: 45.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.761e-05/1.423, allocations: 330.8 kB / 0.5945 GB, free: 45.17 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001626/1.423, allocations: 59.78 kB / 0.5945 GB, free: 45.11 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002216/1.423, allocations: 191.3 kB / 0.5947 GB, free: 44.87 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002345/1.424, allocations: 100 kB / 0.5948 GB, free: 44.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.237e-06/1.424, allocations: 7.938 kB / 0.5948 GB, free: 44.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006895/1.424, allocations: 298.2 kB / 0.5951 GB, free: 44.46 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/1.424, allocations: 8 kB / 0.5951 GB, free: 44.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/1.424, allocations: 4 kB / 0.5951 GB, free: 44.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001261/1.424, allocations: 24.84 kB / 0.5951 GB, free: 44.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005394/1.425, allocations: 79.91 kB / 0.5952 GB, free: 44.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000997/1.426, allocations: 1.292 MB / 0.5965 GB, free: 42.92 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003863/1.426, allocations: 16 kB / 0.5965 GB, free: 42.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.855e-05/1.426, allocations: 16.16 kB / 0.5965 GB, free: 42.89 MB / 362.7 MB 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.0001328/1.427, allocations: 140.7 kB / 0.5966 GB, free: 42.75 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.47e-05/1.427, allocations: 23.72 kB / 0.5966 GB, free: 42.72 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00048/1.427, allocations: 191.8 kB / 0.5968 GB, free: 42.53 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/1.427, allocations: 7.984 kB / 0.5968 GB, free: 42.52 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/1.427, allocations: 0 / 0.5968 GB, free: 42.52 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003753/1.428, allocations: 479.7 kB / 0.5973 GB, free: 41.97 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001389/1.429, allocations: 0.7568 MB / 0.598 GB, free: 41.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.82e-06/1.429, allocations: 11.97 kB / 0.598 GB, free: 41.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000314/1.429, allocations: 47.97 kB / 0.5981 GB, free: 41.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.207e-06/1.429, allocations: 11.89 kB / 0.5981 GB, free: 41.04 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.019e-05/1.429, allocations: 4 kB / 0.5981 GB, free: 41.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.66e-06/1.429, allocations: 4 kB / 0.5981 GB, free: 41.03 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/1.429, allocations: 7.938 kB / 0.5981 GB, free: 41.02 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000584/1.43, allocations: 0.4938 MB / 0.5986 GB, free: 40.43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/1.43, allocations: 104.8 kB / 0.5987 GB, free: 40.31 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.117e-05/1.43, allocations: 4 kB / 0.5987 GB, free: 40.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004173/1.431, allocations: 24.05 kB / 0.5987 GB, free: 40.29 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.755e-05/1.431, allocations: 19.94 kB / 0.5987 GB, free: 40.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.704e-05/1.431, allocations: 11.98 kB / 0.5988 GB, free: 40.25 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002526/1.431, allocations: 199.1 kB / 0.5989 GB, free: 40.06 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.71e-07/1.431, allocations: 0 / 0.5989 GB, free: 40.06 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007116/1.432, allocations: 115.9 kB / 0.5991 GB, free: 39.95 MB / 362.7 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.001228/1.433, allocations: 1.775 MB / 0.6008 GB, free: 38.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006283/1.434, allocations: 290.1 kB / 0.6011 GB, free: 37.79 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/1.434, allocations: 320 / 0.6011 GB, free: 37.79 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001419/1.434, allocations: 75.92 kB / 0.6011 GB, free: 37.72 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001443/1.435, allocations: 159.7 kB / 0.6013 GB, free: 37.56 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001409/1.437, allocations: 0.53 MB / 0.6018 GB, free: 36.96 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002341/1.437, allocations: 0.768 MB / 0.6026 GB, free: 36.17 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001907/1.437, allocations: 95.41 kB / 0.6026 GB, free: 36.08 MB / 362.7 MB Notification: Performance of SimCode: time 9.32e-07/1.437, allocations: 0 / 0.6026 GB, free: 36.08 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.706/4.143, allocations: 7.171 MB / 0.6096 GB, free: 28.92 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.Water.ConstantPropertyLiquidWater_res.mat does not exist to compare? outputFormat=mat