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.71/1.71, allocations: 171.2 MB / 183.8 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.076e-05/3.093e-05, allocations: 0 / 225.1 MB, free: 2.695 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.2624, allocations: 38.76 MB / 263.8 MB, free: 9.766 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9586/1.221, allocations: 357.2 MB / 0.6065 GB, free: 29.23 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003037/1.221, allocations: 87.25 kB / 0.6066 GB, free: 29.18 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5419/1.763, allocations: 80.87 MB / 0.6855 GB, free: 105.2 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.064e-06/1.763, allocations: 0 / 0.6855 GB, free: 105.2 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.605e-05/1.763, allocations: 8 kB / 0.6855 GB, free: 105.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.001153/1.765, allocations: 0.5946 MB / 0.6861 GB, free: 104.6 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/1.765, allocations: 16.03 kB / 0.6861 GB, free: 104.6 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.482e-05/1.765, allocations: 50.55 kB / 0.6862 GB, free: 104.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003482/1.765, allocations: 43.61 kB / 0.6862 GB, free: 104.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004359/1.766, allocations: 286.4 kB / 0.6865 GB, free: 104.2 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.423e-05/1.766, allocations: 24.52 kB / 0.6865 GB, free: 104.1 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.312e-05/1.766, allocations: 24 kB / 0.6865 GB, free: 104.1 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006384/1.766, allocations: 295.7 kB / 0.6868 GB, free: 103.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/1.766, allocations: 4 kB / 0.6868 GB, free: 103.8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.885e-05/1.766, allocations: 15.94 kB / 0.6869 GB, free: 103.8 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/1.767, allocations: 4 kB / 0.6869 GB, free: 103.8 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004837/1.767, allocations: 189.6 kB / 0.687 GB, free: 103.6 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002036/1.769, allocations: 1.436 MB / 0.6884 GB, free: 102 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004001/1.769, allocations: 167.1 kB / 0.6886 GB, free: 101.9 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001859/1.77, allocations: 89.31 kB / 0.6887 GB, free: 101.8 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.637e-05/1.77, allocations: 12.17 kB / 0.6887 GB, free: 101.8 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/1.77, allocations: 38.7 kB / 0.6887 GB, free: 101.7 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 2.525e-06/1.77, allocations: 0 / 0.6887 GB, free: 101.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.003276/1.773, allocations: 0.8611 MB / 0.6896 GB, free: 100.8 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.779e-05/1.773, allocations: 59.36 kB / 0.6896 GB, free: 100.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003063/1.773, allocations: 226.9 kB / 0.6898 GB, free: 100.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.192e-05/1.774, allocations: 29.7 kB / 0.6899 GB, free: 100.5 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.297e-05/1.774, allocations: 234.4 kB / 0.6901 GB, free: 100.2 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.857e-05/1.774, allocations: 98.64 kB / 0.6902 GB, free: 100.1 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.442e-05/1.774, allocations: 8 kB / 0.6902 GB, free: 100.1 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.688e-05/1.774, allocations: 322.8 kB / 0.6905 GB, free: 99.79 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000209/1.774, allocations: 87.77 kB / 0.6906 GB, free: 99.71 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002523/1.774, allocations: 174.9 kB / 0.6908 GB, free: 99.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002674/1.775, allocations: 112 kB / 0.6909 GB, free: 99.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/1.775, allocations: 0 / 0.6909 GB, free: 99.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009362/1.776, allocations: 363 kB / 0.6912 GB, free: 99.02 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/1.776, allocations: 8 kB / 0.6912 GB, free: 99.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/1.776, allocations: 4 kB / 0.6912 GB, free: 99.01 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003811/1.776, allocations: 65.61 kB / 0.6913 GB, free: 98.94 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005008/1.776, allocations: 67.84 kB / 0.6913 GB, free: 98.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002182/1.779, allocations: 2.67 MB / 0.694 GB, free: 95.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004917/1.779, allocations: 16.09 kB / 0.694 GB, free: 95.92 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.205e-05/1.779, allocations: 27.92 kB / 0.694 GB, free: 95.89 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.0001275/1.779, allocations: 128.8 kB / 0.6941 GB, free: 95.76 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.477e-05/1.779, allocations: 23.72 kB / 0.6941 GB, free: 95.73 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001065/1.78, allocations: 33.97 kB / 0.6942 GB, free: 95.7 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/1.78, allocations: 4 kB / 0.6942 GB, free: 95.7 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/1.78, allocations: 3.984 kB / 0.6942 GB, free: 95.69 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000729/1.78, allocations: 0.5629 MB / 0.6947 GB, free: 95.04 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001319/1.782, allocations: 0.6992 MB / 0.6954 GB, free: 94.28 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/1.782, allocations: 3.953 kB / 0.6954 GB, free: 94.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003614/1.782, allocations: 43.92 kB / 0.6955 GB, free: 94.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003476/1.782, allocations: 56.81 kB / 0.6955 GB, free: 94.17 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.719e-05/1.782, allocations: 4 kB / 0.6955 GB, free: 94.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001259/1.784, allocations: 1.386 MB / 0.6969 GB, free: 92.65 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/1.784, allocations: 11.97 kB / 0.6969 GB, free: 92.64 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009578/1.785, allocations: 470.9 kB / 0.6973 GB, free: 92.15 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/1.785, allocations: 104.8 kB / 0.6974 GB, free: 92.03 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.227e-05/1.785, allocations: 4 kB / 0.6974 GB, free: 92.03 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003832/1.785, allocations: 11.91 kB / 0.6974 GB, free: 92.02 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.348e-05/1.785, allocations: 19.97 kB / 0.6975 GB, free: 92 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.211e-05/1.785, allocations: 19.94 kB / 0.6975 GB, free: 91.98 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002328/1.786, allocations: 179.2 kB / 0.6977 GB, free: 91.8 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.31e-07/1.786, allocations: 0 / 0.6977 GB, free: 91.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000638/1.786, allocations: 104 kB / 0.6978 GB, free: 91.7 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.001352/1.788, allocations: 1.144 MB / 0.6989 GB, free: 90.52 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009942/1.789, allocations: 457.7 kB / 0.6993 GB, free: 90.05 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/1.789, allocations: 0 / 0.6993 GB, free: 90.05 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004956/1.789, allocations: 247.2 kB / 0.6995 GB, free: 89.79 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001405/1.791, allocations: 148.4 kB / 0.6997 GB, free: 89.65 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001543/1.792, allocations: 0.5809 MB / 0.7003 GB, free: 89.03 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/1.793, allocations: 0.7687 MB / 0.701 GB, free: 88.23 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002019/1.793, allocations: 87.41 kB / 0.7011 GB, free: 88.15 MB / 362.7 MB Notification: Performance of SimCode: time 9.02e-07/1.793, allocations: 0 / 0.7011 GB, free: 88.15 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.906/4.698, allocations: 7.583 MB / 0.7085 GB, free: 80.57 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