Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.036/2.036, allocations: 194.9 MB / 208.4 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.858e-05/3.872e-05, allocations: 4 kB / 255.4 MB, free: 3.105 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1043, allocations: 44.51 MB / 299.9 MB, free: 6.535 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.971/2.076, allocations: 0.586 GB / 0.8789 GB, free: 104.8 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003723/2.076, allocations: 90.75 kB / 0.879 GB, free: 104.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9125/2.989, allocations: 153.2 MB / 1.029 GB, free: 97.96 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.746e-06/2.989, allocations: 0 / 1.029 GB, free: 97.96 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.716e-05/2.989, allocations: 12.34 kB / 1.029 GB, free: 97.96 MB / 410.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.001263/2.99, allocations: 0.5945 MB / 1.029 GB, free: 97.53 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/2.99, allocations: 14.16 kB / 1.029 GB, free: 97.53 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.802e-05/2.99, allocations: 59.55 kB / 1.029 GB, free: 97.49 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003932/2.991, allocations: 37.47 kB / 1.029 GB, free: 97.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005069/2.991, allocations: 280.3 kB / 1.03 GB, free: 97.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.74e-05/2.991, allocations: 20.47 kB / 1.03 GB, free: 97.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.648e-05/2.991, allocations: 26.89 kB / 1.03 GB, free: 97.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006939/2.992, allocations: 310.2 kB / 1.03 GB, free: 97.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.32e-05/2.992, allocations: 10.41 kB / 1.03 GB, free: 97.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.623e-05/2.992, allocations: 13.59 kB / 1.03 GB, free: 97.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/2.992, allocations: 6.188 kB / 1.03 GB, free: 97.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004657/2.992, allocations: 190.2 kB / 1.03 GB, free: 97.18 MB / 410.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.002438/2.995, allocations: 1.578 MB / 1.032 GB, free: 96 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004046/2.995, allocations: 164.7 kB / 1.032 GB, free: 95.98 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002083/2.996, allocations: 93.23 kB / 1.032 GB, free: 95.97 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.659e-05/2.996, allocations: 7.219 kB / 1.032 GB, free: 95.97 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/2.996, allocations: 34 kB / 1.032 GB, free: 95.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 3.166e-06/2.996, allocations: 0 / 1.032 GB, free: 95.93 MB / 410.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.008242/3.004, allocations: 1.246 MB / 1.033 GB, free: 95.51 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/3.004, allocations: 58.64 kB / 1.033 GB, free: 95.44 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00033/3.004, allocations: 223.6 kB / 1.033 GB, free: 95.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.175e-05/3.004, allocations: 31.89 kB / 1.033 GB, free: 95.31 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/3.005, allocations: 235.2 kB / 1.034 GB, free: 95.13 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.838e-05/3.005, allocations: 94.09 kB / 1.034 GB, free: 95.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.107e-05/3.005, allocations: 12.59 kB / 1.034 GB, free: 95.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.136e-05/3.005, allocations: 321.2 kB / 1.034 GB, free: 94.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002363/3.005, allocations: 90.84 kB / 1.034 GB, free: 94.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002917/3.005, allocations: 179.3 kB / 1.034 GB, free: 94.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003042/3.006, allocations: 119.2 kB / 1.034 GB, free: 94.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/3.006, allocations: 3.938 kB / 1.034 GB, free: 94.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001015/3.007, allocations: 377 kB / 1.035 GB, free: 94.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/3.007, allocations: 10.14 kB / 1.035 GB, free: 94.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/3.007, allocations: 7.062 kB / 1.035 GB, free: 94.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003529/3.007, allocations: 82.02 kB / 1.035 GB, free: 94.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006074/3.008, allocations: 87.09 kB / 1.035 GB, free: 94.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001521/3.009, allocations: 1.842 MB / 1.037 GB, free: 92.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005352/3.01, allocations: 20.05 kB / 1.037 GB, free: 92.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.046e-05/3.01, allocations: 34.88 kB / 1.037 GB, free: 92.81 MB / 410.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.0001663/3.01, allocations: 138.6 kB / 1.037 GB, free: 92.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.489e-05/3.01, allocations: 34.16 kB / 1.037 GB, free: 92.69 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001468/3.012, allocations: 429.8 kB / 1.037 GB, free: 92.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/3.012, allocations: 7.328 kB / 1.037 GB, free: 92.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/3.012, allocations: 0 / 1.037 GB, free: 92.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006353/3.012, allocations: 0.5574 MB / 1.038 GB, free: 92.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001428/3.014, allocations: 0.7242 MB / 1.039 GB, free: 91.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/3.014, allocations: 0 / 1.039 GB, free: 91.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005556/3.014, allocations: 70.34 kB / 1.039 GB, free: 91.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001161/3.015, allocations: 26.86 kB / 1.039 GB, free: 91.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.692e-05/3.015, allocations: 16.03 kB / 1.039 GB, free: 91.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008649/3.016, allocations: 1.27 MB / 1.04 GB, free: 90.57 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/3.016, allocations: 5.75 kB / 1.04 GB, free: 90.57 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009774/3.017, allocations: 0.4906 MB / 1.041 GB, free: 90.36 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001333/3.017, allocations: 99.38 kB / 1.041 GB, free: 90.25 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.58e-05/3.017, allocations: 6.75 kB / 1.041 GB, free: 90.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004539/3.017, allocations: 23.08 kB / 1.041 GB, free: 90.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.173e-05/3.017, allocations: 35.36 kB / 1.041 GB, free: 90.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.639e-05/3.017, allocations: 31.56 kB / 1.041 GB, free: 90.24 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000265/3.018, allocations: 185.6 kB / 1.041 GB, free: 90.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.51e-07/3.018, allocations: 0 / 1.041 GB, free: 90.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001073/3.019, allocations: 192.5 kB / 1.041 GB, free: 90.15 MB / 410.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.002665/3.022, allocations: 1.838 MB / 1.043 GB, free: 89.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001012/3.023, allocations: 367.8 kB / 1.043 GB, free: 89.09 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/3.023, allocations: 0 / 1.043 GB, free: 89.09 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003895/3.023, allocations: 230.1 kB / 1.043 GB, free: 88.97 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001536/3.025, allocations: 155.9 kB / 1.044 GB, free: 88.96 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001864/3.026, allocations: 0.6042 MB / 1.044 GB, free: 88.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002721/3.027, allocations: 0.7719 MB / 1.045 GB, free: 88.02 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005214/3.027, allocations: 136 kB / 1.045 GB, free: 88.01 MB / 410.7 MB Notification: Performance of SimCode: time 1.473e-06/3.027, allocations: 0 / 1.045 GB, free: 88.01 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.995/6.022, allocations: 12.93 MB / 1.058 GB, free: 86.67 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air_res.mat does not exist to compare? outputFormat=mat