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.947/1.947, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.618e-05/3.621e-05, allocations: 4 kB / 225.1 MB, free: 2.594 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.2653, allocations: 38.77 MB / 263.9 MB, free: 9.762 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.163/1.429, allocations: 357.2 MB / 0.6065 GB, free: 32.23 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004477/1.429, allocations: 83.95 kB / 0.6066 GB, free: 32.18 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5649/1.994, allocations: 80.85 MB / 0.6856 GB, free: 108.2 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.754e-06/1.994, allocations: 0 / 0.6856 GB, free: 108.2 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.664e-05/1.994, allocations: 8 kB / 0.6856 GB, free: 108.2 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.001213/1.995, allocations: 0.5983 MB / 0.6862 GB, free: 107.6 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/1.995, allocations: 8.031 kB / 0.6862 GB, free: 107.6 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.775e-05/1.995, allocations: 58.55 kB / 0.6862 GB, free: 107.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003583/1.996, allocations: 43.61 kB / 0.6863 GB, free: 107.4 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004513/1.996, allocations: 278.3 kB / 0.6865 GB, free: 107.1 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.505e-05/1.996, allocations: 28.5 kB / 0.6865 GB, free: 107.1 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.969e-05/1.996, allocations: 24 kB / 0.6866 GB, free: 107.1 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006184/1.997, allocations: 290.6 kB / 0.6868 GB, free: 106.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/1.997, allocations: 7.875 kB / 0.6869 GB, free: 106.8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.087e-05/1.997, allocations: 12 kB / 0.6869 GB, free: 106.8 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.203e-05/1.997, allocations: 11.98 kB / 0.6869 GB, free: 106.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004519/1.998, allocations: 184.7 kB / 0.6871 GB, free: 106.6 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002197/2, allocations: 1.436 MB / 0.6885 GB, free: 105 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004119/2, allocations: 171.1 kB / 0.6886 GB, free: 104.8 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001849/2, allocations: 89.11 kB / 0.6887 GB, free: 104.8 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.684e-05/2, allocations: 4.188 kB / 0.6887 GB, free: 104.8 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/2.001, allocations: 38.7 kB / 0.6887 GB, free: 104.7 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 2.845e-06/2.001, allocations: 0 / 0.6887 GB, free: 104.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.003407/2.004, allocations: 0.849 MB / 0.6896 GB, free: 103.8 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/2.004, allocations: 59.34 kB / 0.6896 GB, free: 103.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003328/2.004, allocations: 226.8 kB / 0.6898 GB, free: 103.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.766e-05/2.004, allocations: 41.64 kB / 0.6899 GB, free: 103.5 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/2.005, allocations: 234.4 kB / 0.6901 GB, free: 103.2 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.617e-05/2.005, allocations: 93.16 kB / 0.6902 GB, free: 103.1 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.547e-05/2.005, allocations: 8 kB / 0.6902 GB, free: 103.1 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.052e-05/2.005, allocations: 326.8 kB / 0.6905 GB, free: 102.8 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000231/2.005, allocations: 83.78 kB / 0.6906 GB, free: 102.7 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002609/2.005, allocations: 182.9 kB / 0.6908 GB, free: 102.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002786/2.006, allocations: 107.9 kB / 0.6909 GB, free: 102.4 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/2.006, allocations: 0 / 0.6909 GB, free: 102.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009625/2.007, allocations: 347.4 kB / 0.6912 GB, free: 102 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/2.007, allocations: 11.98 kB / 0.6912 GB, free: 102 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/2.007, allocations: 4 kB / 0.6912 GB, free: 102 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003705/2.007, allocations: 57.64 kB / 0.6913 GB, free: 102 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005264/2.008, allocations: 76.19 kB / 0.6914 GB, free: 101.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002339/2.01, allocations: 2.662 MB / 0.694 GB, free: 98.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005345/2.01, allocations: 20.05 kB / 0.694 GB, free: 98.94 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.679e-05/2.011, allocations: 16 kB / 0.694 GB, free: 98.92 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.0001427/2.011, allocations: 124.8 kB / 0.6941 GB, free: 98.79 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.988e-05/2.011, allocations: 31.62 kB / 0.6941 GB, free: 98.76 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001082/2.011, allocations: 37.91 kB / 0.6942 GB, free: 98.72 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/2.011, allocations: 4 kB / 0.6942 GB, free: 98.72 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.874e-06/2.011, allocations: 4 kB / 0.6942 GB, free: 98.71 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007704/2.012, allocations: 0.5513 MB / 0.6947 GB, free: 98.07 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001476/2.013, allocations: 0.7063 MB / 0.6954 GB, free: 97.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/2.013, allocations: 0 / 0.6954 GB, free: 97.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003841/2.014, allocations: 48 kB / 0.6955 GB, free: 97.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003646/2.014, allocations: 48.8 kB / 0.6955 GB, free: 97.21 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.258e-05/2.014, allocations: 8 kB / 0.6955 GB, free: 97.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001323/2.015, allocations: 1.393 MB / 0.6969 GB, free: 95.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/2.015, allocations: 3.938 kB / 0.6969 GB, free: 95.67 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009972/2.016, allocations: 475 kB / 0.6973 GB, free: 95.18 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/2.017, allocations: 100.8 kB / 0.6974 GB, free: 95.06 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.039e-05/2.017, allocations: 4 kB / 0.6974 GB, free: 95.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004498/2.017, allocations: 15.98 kB / 0.6974 GB, free: 95.04 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.877e-05/2.017, allocations: 24.03 kB / 0.6975 GB, free: 95.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.043e-05/2.017, allocations: 8 kB / 0.6975 GB, free: 95.01 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002484/2.018, allocations: 179.1 kB / 0.6976 GB, free: 94.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.91e-07/2.018, allocations: 0 / 0.6976 GB, free: 94.84 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007019/2.018, allocations: 108 kB / 0.6977 GB, free: 94.73 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.001412/2.02, allocations: 1.135 MB / 0.6989 GB, free: 93.57 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001029/2.021, allocations: 444 kB / 0.6993 GB, free: 93.12 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.912e-06/2.021, allocations: 4.75 kB / 0.6993 GB, free: 93.11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005367/2.021, allocations: 225.7 kB / 0.6995 GB, free: 92.88 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001558/2.023, allocations: 152.4 kB / 0.6996 GB, free: 92.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001726/2.025, allocations: 0.5865 MB / 0.7002 GB, free: 92.11 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002856/2.025, allocations: 0.7687 MB / 0.701 GB, free: 91.31 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002254/2.025, allocations: 91.41 kB / 0.7011 GB, free: 91.23 MB / 362.7 MB Notification: Performance of SimCode: time 1.152e-06/2.025, allocations: 0 / 0.7011 GB, free: 91.23 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.018/5.043, allocations: 7.566 MB / 0.7084 GB, free: 83.67 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