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.928/1.928, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.543e-05/3.538e-05, allocations: 4 kB / 273.2 MB, free: 0.6289 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1074, allocations: 48.7 MB / 321.9 MB, free: 15.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.071/1.178, allocations: 341.4 MB / 0.6477 GB, free: 7.137 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003145/1.179, allocations: 87.95 kB / 0.6478 GB, free: 7.051 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.674/1.853, allocations: 129.3 MB / 0.7741 GB, free: 49.97 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.813e-06/1.853, allocations: 0 / 0.7741 GB, free: 49.97 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.905e-05/1.853, allocations: 16 kB / 0.7741 GB, free: 49.96 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.00243/1.855, allocations: 0.8921 MB / 0.775 GB, free: 49.02 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/1.856, allocations: 8.031 kB / 0.775 GB, free: 49.01 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001681/1.856, allocations: 98.5 kB / 0.7751 GB, free: 48.91 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005077/1.856, allocations: 87.14 kB / 0.7752 GB, free: 48.82 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001512/1.858, allocations: 0.5522 MB / 0.7757 GB, free: 48.23 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000117/1.858, allocations: 104.3 kB / 0.7758 GB, free: 48.11 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001492/1.858, allocations: 48 kB / 0.7759 GB, free: 48.07 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001679/1.86, allocations: 0.79 MB / 0.7766 GB, free: 47.2 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.372e-05/1.86, allocations: 7.938 kB / 0.7767 GB, free: 47.19 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/1.86, allocations: 27.98 kB / 0.7767 GB, free: 47.16 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.763e-05/1.86, allocations: 40.97 kB / 0.7767 GB, free: 47.12 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00143/1.861, allocations: 0.5913 MB / 0.7773 GB, free: 46.53 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005985/1.867, allocations: 4.017 MB / 0.7812 GB, free: 42.28 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007915/1.868, allocations: 319.2 kB / 0.7815 GB, free: 41.96 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003507/1.869, allocations: 165.4 kB / 0.7817 GB, free: 41.79 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002783/1.871, allocations: 1.835 MB / 0.7835 GB, free: 39.71 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/1.872, allocations: 38.56 kB / 0.7835 GB, free: 39.66 MB / 426.7 MB Notification: Performance of pre-optimization done (n=23): time 3.036e-06/1.872, allocations: 0 / 0.7835 GB, free: 39.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.004069/1.876, allocations: 1.11 MB / 0.7846 GB, free: 38.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.366e-05/1.876, allocations: 140.5 kB / 0.7847 GB, free: 38.33 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008948/1.877, allocations: 0.546 MB / 0.7853 GB, free: 37.78 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.591e-05/1.877, allocations: 41.64 kB / 0.7853 GB, free: 37.73 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002512/1.877, allocations: 448.3 kB / 0.7857 GB, free: 37.29 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/1.877, allocations: 126.3 kB / 0.7858 GB, free: 37.17 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-05/1.877, allocations: 12 kB / 0.7859 GB, free: 37.16 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.543e-05/1.877, allocations: 346.8 kB / 0.7862 GB, free: 36.81 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003989/1.878, allocations: 165.5 kB / 0.7863 GB, free: 36.64 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006021/1.878, allocations: 0.5621 MB / 0.7869 GB, free: 35.89 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000584/1.879, allocations: 291.6 kB / 0.7872 GB, free: 35.61 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/1.879, allocations: 4 kB / 0.7872 GB, free: 35.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001542/1.88, allocations: 0.6969 MB / 0.7879 GB, free: 34.9 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.888e-05/1.881, allocations: 12 kB / 0.7879 GB, free: 34.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.954e-05/1.881, allocations: 16.16 kB / 0.7879 GB, free: 34.87 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.632e-05/1.881, allocations: 20 kB / 0.7879 GB, free: 34.85 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00149/1.882, allocations: 215.6 kB / 0.7881 GB, free: 34.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.056e-05/1.882, allocations: 27.86 kB / 0.7881 GB, free: 34.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001019/1.883, allocations: 51.92 kB / 0.7882 GB, free: 34.56 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.278e-05/1.883, allocations: 47.98 kB / 0.7882 GB, free: 34.52 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.000205/1.884, allocations: 156.5 kB / 0.7884 GB, free: 34.36 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001355/1.884, allocations: 71.11 kB / 0.7884 GB, free: 34.29 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001062/1.885, allocations: 418.4 kB / 0.7888 GB, free: 33.86 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/1.885, allocations: 8 kB / 0.7889 GB, free: 33.85 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/1.885, allocations: 0 / 0.7889 GB, free: 33.85 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/1.885, allocations: 3.984 kB / 0.7889 GB, free: 33.85 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002191/1.887, allocations: 1.198 MB / 0.79 GB, free: 32.53 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.313e-06/1.887, allocations: 4 kB / 0.79 GB, free: 32.53 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004987/1.888, allocations: 72.31 kB / 0.7901 GB, free: 32.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002842/1.888, allocations: 48.84 kB / 0.7901 GB, free: 32.41 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.178e-05/1.888, allocations: 12 kB / 0.7902 GB, free: 32.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003728/1.888, allocations: 0.5602 MB / 0.7907 GB, free: 31.81 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.102e-06/1.888, allocations: 7.938 kB / 0.7907 GB, free: 31.8 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001223/1.89, allocations: 0.8169 MB / 0.7915 GB, free: 30.84 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003452/1.89, allocations: 188.1 kB / 0.7917 GB, free: 30.64 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001617/1.89, allocations: 12 kB / 0.7917 GB, free: 30.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006583/1.891, allocations: 28.05 kB / 0.7917 GB, free: 30.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.511e-05/1.891, allocations: 27.92 kB / 0.7918 GB, free: 30.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.105e-05/1.891, allocations: 27.86 kB / 0.7918 GB, free: 30.54 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000699/1.892, allocations: 427.1 kB / 0.7922 GB, free: 30.13 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.71e-07/1.892, allocations: 4 kB / 0.7922 GB, free: 30.12 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001206/1.893, allocations: 207.9 kB / 0.7924 GB, free: 29.92 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.002142/1.895, allocations: 2.493 MB / 0.7948 GB, free: 27.31 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001045/1.896, allocations: 434.6 kB / 0.7952 GB, free: 26.89 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/1.896, allocations: 3.938 kB / 0.7952 GB, free: 26.89 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004892/1.897, allocations: 160.6 kB / 0.7954 GB, free: 26.73 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00225/1.899, allocations: 270.3 kB / 0.7957 GB, free: 26.47 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002819/1.902, allocations: 1.095 MB / 0.7967 GB, free: 25.29 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004743/1.902, allocations: 0.9492 MB / 0.7977 GB, free: 24.32 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004296/1.903, allocations: 235.4 kB / 0.7979 GB, free: 24.09 MB / 426.7 MB Notification: Performance of SimCode: time 1.022e-06/1.903, allocations: 0 / 0.7979 GB, free: 24.09 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.01/4.913, allocations: 15.32 MB / 0.8128 GB, free: 8.801 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