Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.748/1.748, allocations: 171.2 MB / 178.8 MB, free: 172 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.838e-05/2.847e-05, allocations: 4 kB / 219.6 MB, free: 7.312 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2829/0.2829, allocations: 38.76 MB / 258.3 MB, free: 12.08 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.745/2.028, allocations: 0.5797 GB / 0.8319 GB, free: 91.86 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003221/2.028, allocations: 87.56 kB / 0.832 GB, free: 91.81 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7287/2.757, allocations: 151.6 MB / 0.98 GB, free: 89.75 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.126e-06/2.757, allocations: 3.531 kB / 0.98 GB, free: 89.75 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.013e-05/2.757, allocations: 6.625 kB / 0.98 GB, free: 89.75 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.001189/2.759, allocations: 0.5902 MB / 0.9806 GB, free: 89.27 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/2.759, allocations: 9.719 kB / 0.9806 GB, free: 89.27 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003772/2.759, allocations: 38.34 kB / 0.9807 GB, free: 89.26 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004655/2.759, allocations: 288.3 kB / 0.9809 GB, free: 88.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/2.759, allocations: 11.41 kB / 0.981 GB, free: 88.98 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.65e-05/2.76, allocations: 14.22 kB / 0.981 GB, free: 88.98 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004435/2.76, allocations: 177.9 kB / 0.9811 GB, free: 88.91 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005499/2.761, allocations: 269 kB / 0.9814 GB, free: 88.72 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.262e-05/2.761, allocations: 3.719 kB / 0.9814 GB, free: 88.72 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.097e-05/2.761, allocations: 3.719 kB / 0.9814 GB, free: 88.72 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/2.761, allocations: 8.75 kB / 0.9814 GB, free: 88.72 MB / 362.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002306/2.763, allocations: 1.551 MB / 0.9829 GB, free: 87.26 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002964/2.763, allocations: 142 kB / 0.9831 GB, free: 87.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001639/2.764, allocations: 70.55 kB / 0.9831 GB, free: 87.15 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.318e-05/2.764, allocations: 9.406 kB / 0.9831 GB, free: 87.15 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.952e-05/2.764, allocations: 41.33 kB / 0.9832 GB, free: 87.11 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 3.376e-06/2.764, allocations: 0 / 0.9832 GB, free: 87.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.006801/2.77, allocations: 0.9991 MB / 0.9841 GB, free: 86.41 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/2.771, allocations: 58.91 kB / 0.9842 GB, free: 86.35 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002767/2.771, allocations: 202 kB / 0.9844 GB, free: 86.21 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.999e-05/2.771, allocations: 25.7 kB / 0.9844 GB, free: 86.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/2.771, allocations: 249.2 kB / 0.9847 GB, free: 85.94 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.96e-05/2.771, allocations: 88.05 kB / 0.9847 GB, free: 85.86 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.811e-05/2.771, allocations: 0 / 0.9847 GB, free: 85.86 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.452e-05/2.771, allocations: 322.1 kB / 0.9851 GB, free: 85.54 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001873/2.771, allocations: 81.38 kB / 0.9851 GB, free: 85.51 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002508/2.772, allocations: 177.4 kB / 0.9853 GB, free: 85.35 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000258/2.772, allocations: 107.9 kB / 0.9854 GB, free: 85.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/2.772, allocations: 3.938 kB / 0.9854 GB, free: 85.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000856/2.773, allocations: 342.1 kB / 0.9857 GB, free: 85.14 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/2.773, allocations: 7.547 kB / 0.9857 GB, free: 85.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/2.773, allocations: 3.844 kB / 0.9857 GB, free: 85.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002871/2.773, allocations: 71.78 kB / 0.9858 GB, free: 85.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006108/2.774, allocations: 82.58 kB / 0.9859 GB, free: 85.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001363/2.775, allocations: 1.804 MB / 0.9877 GB, free: 83.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004641/2.776, allocations: 16.89 kB / 0.9877 GB, free: 83.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.276e-05/2.776, allocations: 35.88 kB / 0.9877 GB, free: 83.25 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001513/2.776, allocations: 116.2 kB / 0.9878 GB, free: 83.14 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006287/2.777, allocations: 258 kB / 0.9881 GB, free: 83 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.01e-05/2.777, allocations: 28.81 kB / 0.9881 GB, free: 82.99 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001105/2.778, allocations: 357.9 kB / 0.9884 GB, free: 82.8 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/2.778, allocations: 0 / 0.9884 GB, free: 82.8 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/2.778, allocations: 2.812 kB / 0.9884 GB, free: 82.8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005635/2.778, allocations: 0.5406 MB / 0.989 GB, free: 82.28 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001289/2.78, allocations: 0.6555 MB / 0.9896 GB, free: 81.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/2.78, allocations: 0 / 0.9896 GB, free: 81.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005615/2.78, allocations: 76.27 kB / 0.9897 GB, free: 81.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000113/2.78, allocations: 19.88 kB / 0.9897 GB, free: 81.73 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.527e-05/2.78, allocations: 11.11 kB / 0.9897 GB, free: 81.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008388/2.781, allocations: 1.233 MB / 0.9909 GB, free: 80.46 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/2.781, allocations: 3.906 kB / 0.9909 GB, free: 80.46 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008255/2.782, allocations: 472 kB / 0.9914 GB, free: 80.14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/2.782, allocations: 104.1 kB / 0.9915 GB, free: 80.02 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.254e-05/2.782, allocations: 3.625 kB / 0.9915 GB, free: 80.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004178/2.783, allocations: 15.36 kB / 0.9915 GB, free: 80.02 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.906e-05/2.783, allocations: 26.91 kB / 0.9915 GB, free: 80 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.289e-05/2.783, allocations: 35.33 kB / 0.9915 GB, free: 80 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001885/2.783, allocations: 159.2 kB / 0.9917 GB, free: 79.88 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.11e-07/2.783, allocations: 0 / 0.9917 GB, free: 79.88 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009747/2.784, allocations: 158.1 kB / 0.9918 GB, free: 79.84 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (26): * Single equations (assignments): 25 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002592/2.787, allocations: 1.941 MB / 0.9937 GB, free: 78.37 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008605/2.788, allocations: 348.5 kB / 0.9941 GB, free: 78.02 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/2.788, allocations: 0 / 0.9941 GB, free: 78.02 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003264/2.788, allocations: 214.7 kB / 0.9943 GB, free: 77.8 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001336/2.789, allocations: 122.1 kB / 0.9944 GB, free: 77.68 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001734/2.791, allocations: 0.5836 MB / 0.995 GB, free: 77.07 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002532/2.791, allocations: 0.7679 MB / 0.9957 GB, free: 76.27 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005067/2.792, allocations: 139.4 kB / 0.9958 GB, free: 76.13 MB / 362.7 MB Notification: Performance of SimCode: time 1.133e-06/2.792, allocations: 0 / 0.9958 GB, free: 76.13 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.818/5.61, allocations: 12.49 MB / 1.008 GB, free: 63.7 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.IdealGases.Air_res.mat does not exist to compare? outputFormat=mat