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.706/1.706, allocations: 171.2 MB / 183.8 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.297e-05/3.312e-05, allocations: 0 / 225.1 MB, free: 2.73 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2608/0.2608, allocations: 38.78 MB / 263.8 MB, free: 9.773 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8634/1.124, allocations: 255.6 MB / 0.5072 GB, free: 104 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002731/1.125, allocations: 90.03 kB / 0.5073 GB, free: 104 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2711/1.396, allocations: 83.96 MB / 0.5893 GB, free: 50.79 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.023e-06/1.396, allocations: 4 kB / 0.5893 GB, free: 50.78 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.675e-05/1.396, allocations: 4 kB / 0.5893 GB, free: 50.78 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.001007/1.397, allocations: 0.5187 MB / 0.5898 GB, free: 50.21 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/1.397, allocations: 12.03 kB / 0.5898 GB, free: 50.2 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000108/1.397, allocations: 58.55 kB / 0.5899 GB, free: 50.13 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005229/1.398, allocations: 43.61 kB / 0.5899 GB, free: 50.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005846/1.398, allocations: 290.8 kB / 0.5902 GB, free: 49.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.251e-05/1.398, allocations: 20.56 kB / 0.5902 GB, free: 49.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.563e-05/1.398, allocations: 28 kB / 0.5903 GB, free: 49.72 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008697/1.399, allocations: 309.4 kB / 0.5906 GB, free: 49.38 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.429e-05/1.399, allocations: 0 / 0.5906 GB, free: 49.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.283e-05/1.399, allocations: 12 kB / 0.5906 GB, free: 49.37 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.38e-05/1.399, allocations: 12 kB / 0.5906 GB, free: 49.36 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006019/1.4, allocations: 177.6 kB / 0.5908 GB, free: 49.19 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002984/1.403, allocations: 1.716 MB / 0.5924 GB, free: 47.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004022/1.403, allocations: 134.5 kB / 0.5926 GB, free: 47.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001992/1.404, allocations: 68.8 kB / 0.5926 GB, free: 47.11 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002001/1.404, allocations: 166.2 kB / 0.5928 GB, free: 46.91 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/1.404, allocations: 38.56 kB / 0.5928 GB, free: 46.86 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 3.426e-06/1.404, allocations: 4 kB / 0.5928 GB, free: 46.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=21): time 0.003006/1.407, allocations: 0.6735 MB / 0.5935 GB, free: 46.13 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/1.407, allocations: 55.59 kB / 0.5935 GB, free: 46.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004686/1.408, allocations: 243.1 kB / 0.5938 GB, free: 45.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.601e-05/1.408, allocations: 33.7 kB / 0.5938 GB, free: 45.78 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001424/1.408, allocations: 250.1 kB / 0.594 GB, free: 45.54 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.146e-05/1.408, allocations: 82.83 kB / 0.5941 GB, free: 45.45 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.057e-05/1.408, allocations: 12 kB / 0.5941 GB, free: 45.44 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.183e-05/1.408, allocations: 322.8 kB / 0.5944 GB, free: 45.12 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002441/1.408, allocations: 67.78 kB / 0.5945 GB, free: 45.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003238/1.409, allocations: 195.3 kB / 0.5947 GB, free: 44.8 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003338/1.409, allocations: 96.09 kB / 0.5948 GB, free: 44.71 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/1.409, allocations: 0 / 0.5948 GB, free: 44.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001008/1.41, allocations: 313.9 kB / 0.5951 GB, free: 44.39 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/1.41, allocations: 8 kB / 0.5951 GB, free: 44.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/1.41, allocations: 4.5 kB / 0.5951 GB, free: 44.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000191/1.41, allocations: 32.84 kB / 0.5951 GB, free: 44.35 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007304/1.411, allocations: 87.89 kB / 0.5952 GB, free: 44.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001314/1.412, allocations: 1.292 MB / 0.5965 GB, free: 42.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005607/1.413, allocations: 15.98 kB / 0.5965 GB, free: 42.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.041e-05/1.413, allocations: 19.94 kB / 0.5965 GB, free: 42.8 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.0001837/1.413, allocations: 126.1 kB / 0.5966 GB, free: 42.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/1.413, allocations: 27.72 kB / 0.5966 GB, free: 42.65 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000722/1.414, allocations: 204 kB / 0.5968 GB, free: 42.44 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/1.414, allocations: 7.953 kB / 0.5968 GB, free: 42.43 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/1.414, allocations: 0 / 0.5968 GB, free: 42.43 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005373/1.415, allocations: 479.7 kB / 0.5973 GB, free: 41.88 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001884/1.417, allocations: 0.7682 MB / 0.5981 GB, free: 41.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.145e-06/1.417, allocations: 4 kB / 0.5981 GB, free: 41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004246/1.417, allocations: 47.91 kB / 0.5981 GB, free: 40.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.166e-05/1.417, allocations: 4 kB / 0.5981 GB, free: 40.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.917e-05/1.417, allocations: 8.281 kB / 0.5981 GB, free: 40.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.696e-06/1.417, allocations: 8 kB / 0.5981 GB, free: 40.94 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/1.417, allocations: 0 / 0.5981 GB, free: 40.94 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008364/1.418, allocations: 0.4903 MB / 0.5986 GB, free: 40.35 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/1.418, allocations: 100.9 kB / 0.5987 GB, free: 40.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.231e-05/1.418, allocations: 19.88 kB / 0.5987 GB, free: 40.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006138/1.419, allocations: 12 kB / 0.5987 GB, free: 40.2 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.183e-05/1.419, allocations: 19.98 kB / 0.5987 GB, free: 40.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.624e-05/1.419, allocations: 19.98 kB / 0.5988 GB, free: 40.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003467/1.419, allocations: 199.1 kB / 0.599 GB, free: 39.97 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.32e-07/1.419, allocations: 0 / 0.599 GB, free: 39.97 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001111/1.421, allocations: 111.9 kB / 0.5991 GB, free: 39.86 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.001618/1.422, allocations: 1.796 MB / 0.6008 GB, free: 37.98 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006941/1.423, allocations: 295.2 kB / 0.6011 GB, free: 37.68 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/1.423, allocations: 0 / 0.6011 GB, free: 37.68 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001484/1.423, allocations: 79.92 kB / 0.6012 GB, free: 37.6 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001488/1.425, allocations: 149.2 kB / 0.6013 GB, free: 37.45 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001426/1.426, allocations: 0.5225 MB / 0.6018 GB, free: 36.86 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002324/1.426, allocations: 0.768 MB / 0.6026 GB, free: 36.07 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002037/1.427, allocations: 95.41 kB / 0.6027 GB, free: 35.97 MB / 362.7 MB Notification: Performance of SimCode: time 1.162e-06/1.427, allocations: 0 / 0.6027 GB, free: 35.97 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.865/4.292, allocations: 7.18 MB / 0.6097 GB, free: 28.79 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