Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.863/1.863, allocations: 209.3 MB / 221.9 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.87e-05/4.891e-05, allocations: 8 kB / 273.1 MB, free: 0.6328 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1404, allocations: 48.69 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.042/1.182, allocations: 341.4 MB / 0.6477 GB, free: 6.988 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003636/1.183, allocations: 91.94 kB / 0.6478 GB, free: 6.898 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7379/1.921, allocations: 129.3 MB / 0.7741 GB, free: 49.73 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.124e-06/1.921, allocations: 0 / 0.7741 GB, free: 49.73 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.62e-05/1.921, allocations: 23.98 kB / 0.7741 GB, free: 49.7 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002625/1.923, allocations: 0.8843 MB / 0.775 GB, free: 48.77 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/1.923, allocations: 12.03 kB / 0.775 GB, free: 48.76 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002073/1.924, allocations: 90.52 kB / 0.7751 GB, free: 48.66 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005177/1.924, allocations: 83.16 kB / 0.7752 GB, free: 48.58 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001884/1.926, allocations: 0.552 MB / 0.7757 GB, free: 47.99 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001451/1.926, allocations: 108.3 kB / 0.7758 GB, free: 47.87 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001582/1.926, allocations: 48 kB / 0.7758 GB, free: 47.82 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001775/1.928, allocations: 0.7997 MB / 0.7766 GB, free: 46.95 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.318e-05/1.928, allocations: 3.938 kB / 0.7766 GB, free: 46.95 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001156/1.928, allocations: 28 kB / 0.7767 GB, free: 46.92 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.455e-05/1.928, allocations: 36.98 kB / 0.7767 GB, free: 46.88 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001513/1.93, allocations: 0.6088 MB / 0.7773 GB, free: 46.27 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006344/1.936, allocations: 4.013 MB / 0.7812 GB, free: 42.02 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008506/1.937, allocations: 332 kB / 0.7815 GB, free: 41.69 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003663/1.938, allocations: 165.4 kB / 0.7817 GB, free: 41.52 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00302/1.941, allocations: 1.83 MB / 0.7835 GB, free: 39.45 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/1.941, allocations: 38.56 kB / 0.7835 GB, free: 39.4 MB / 426.7 MB Notification: Performance of pre-optimization done (n=23): time 4.498e-06/1.941, allocations: 0 / 0.7835 GB, free: 39.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.004331/1.945, allocations: 1.126 MB / 0.7846 GB, free: 38.22 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.794e-05/1.945, allocations: 136.5 kB / 0.7847 GB, free: 38.05 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000948/1.946, allocations: 0.5461 MB / 0.7853 GB, free: 37.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.062e-05/1.946, allocations: 33.7 kB / 0.7853 GB, free: 37.46 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002845/1.947, allocations: 456.2 kB / 0.7857 GB, free: 37.02 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/1.947, allocations: 118.4 kB / 0.7858 GB, free: 36.9 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.165e-05/1.947, allocations: 16 kB / 0.7859 GB, free: 36.88 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.229e-05/1.947, allocations: 338.8 kB / 0.7862 GB, free: 36.54 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004235/1.947, allocations: 169.5 kB / 0.7863 GB, free: 36.38 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006168/1.948, allocations: 0.5752 MB / 0.7869 GB, free: 35.61 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006115/1.949, allocations: 287.6 kB / 0.7872 GB, free: 35.32 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.348e-06/1.949, allocations: 4 kB / 0.7872 GB, free: 35.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001638/1.95, allocations: 0.7358 MB / 0.7879 GB, free: 34.58 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.162e-05/1.95, allocations: 12 kB / 0.7879 GB, free: 34.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.036e-05/1.95, allocations: 16.09 kB / 0.7879 GB, free: 34.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.671e-05/1.95, allocations: 20 kB / 0.7879 GB, free: 34.53 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001572/1.952, allocations: 211.6 kB / 0.7881 GB, free: 34.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.205e-05/1.952, allocations: 27.88 kB / 0.7882 GB, free: 34.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001072/1.953, allocations: 55.91 kB / 0.7882 GB, free: 34.24 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.405e-05/1.953, allocations: 44 kB / 0.7883 GB, free: 34.2 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 95 * 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 prepare postOptimizeDAE: time 0.0002246/1.954, allocations: 156.5 kB / 0.7884 GB, free: 34.04 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/1.954, allocations: 71.11 kB / 0.7885 GB, free: 33.97 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001135/1.955, allocations: 422.3 kB / 0.7889 GB, free: 33.54 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/1.955, allocations: 8 kB / 0.7889 GB, free: 33.53 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/1.955, allocations: 0 / 0.7889 GB, free: 33.53 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/1.955, allocations: 0 / 0.7889 GB, free: 33.53 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002438/1.957, allocations: 1.213 MB / 0.7901 GB, free: 32.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.794e-06/1.957, allocations: 4.094 kB / 0.7901 GB, free: 32.19 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005122/1.958, allocations: 63.91 kB / 0.7901 GB, free: 32.13 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002931/1.958, allocations: 53.17 kB / 0.7902 GB, free: 32.07 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.554e-05/1.958, allocations: 11.98 kB / 0.7902 GB, free: 32.06 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004324/1.959, allocations: 0.5601 MB / 0.7908 GB, free: 31.48 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/1.959, allocations: 7.938 kB / 0.7908 GB, free: 31.47 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001303/1.96, allocations: 0.817 MB / 0.7916 GB, free: 30.51 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004022/1.96, allocations: 180.2 kB / 0.7917 GB, free: 30.31 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001387/1.961, allocations: 19.98 kB / 0.7918 GB, free: 30.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006771/1.961, allocations: 24 kB / 0.7918 GB, free: 30.27 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.794e-05/1.961, allocations: 39.84 kB / 0.7918 GB, free: 30.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-05/1.961, allocations: 16 kB / 0.7918 GB, free: 30.21 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007388/1.962, allocations: 423.1 kB / 0.7922 GB, free: 29.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.32e-07/1.962, allocations: 7.938 kB / 0.7922 GB, free: 29.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001381/1.964, allocations: 215.9 kB / 0.7924 GB, free: 29.59 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (35): * Single equations (assignments): 34 * 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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002467/1.966, allocations: 2.474 MB / 0.7949 GB, free: 26.99 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001255/1.967, allocations: 454.5 kB / 0.7953 GB, free: 26.55 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/1.968, allocations: 4 kB / 0.7953 GB, free: 26.55 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005733/1.968, allocations: 163.5 kB / 0.7955 GB, free: 26.39 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002521/1.971, allocations: 274.9 kB / 0.7957 GB, free: 26.13 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003243/1.974, allocations: 1.102 MB / 0.7968 GB, free: 24.95 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004735/1.974, allocations: 0.9492 MB / 0.7977 GB, free: 23.97 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005432/1.975, allocations: 239.3 kB / 0.7979 GB, free: 23.73 MB / 426.7 MB Notification: Performance of SimCode: time 1.813e-06/1.975, allocations: 0 / 0.7979 GB, free: 23.73 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.235/5.21, allocations: 15.35 MB / 0.8129 GB, free: 8.406 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat does not exist to compare? outputFormat=mat