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 1.997/1.997, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.736e-05/3.735e-05, allocations: 0 / 255.5 MB, free: 3.09 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1019, allocations: 44.5 MB / 300 MB, free: 6.531 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.898/2, allocations: 0.586 GB / 0.879 GB, free: 104.2 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003376/2, allocations: 85.31 kB / 0.879 GB, free: 104.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7713/2.772, allocations: 153.2 MB / 1.029 GB, free: 97.61 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.533e-06/2.772, allocations: 0 / 1.029 GB, free: 97.61 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.173e-05/2.772, allocations: 3.188 kB / 1.029 GB, free: 97.61 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.001152/2.773, allocations: 0.6008 MB / 1.029 GB, free: 97.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/2.773, allocations: 14.41 kB / 1.029 GB, free: 97.18 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.532e-05/2.773, allocations: 62.77 kB / 1.029 GB, free: 97.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000346/2.773, allocations: 37.98 kB / 1.029 GB, free: 97.13 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004348/2.774, allocations: 280.2 kB / 1.03 GB, free: 96.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.626e-05/2.774, allocations: 19.12 kB / 1.03 GB, free: 96.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.941e-05/2.774, allocations: 24.28 kB / 1.03 GB, free: 96.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006383/2.775, allocations: 307 kB / 1.03 GB, free: 96.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/2.775, allocations: 3.656 kB / 1.03 GB, free: 96.84 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.494e-05/2.775, allocations: 13.16 kB / 1.03 GB, free: 96.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/2.775, allocations: 3.938 kB / 1.03 GB, free: 96.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004404/2.775, allocations: 191.7 kB / 1.03 GB, free: 96.84 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.002105/2.777, allocations: 1.578 MB / 1.032 GB, free: 95.66 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003814/2.778, allocations: 168.9 kB / 1.032 GB, free: 95.63 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002056/2.778, allocations: 89.64 kB / 1.032 GB, free: 95.62 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.595e-05/2.778, allocations: 14.41 kB / 1.032 GB, free: 95.62 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/2.778, allocations: 34.62 kB / 1.032 GB, free: 95.58 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 2.625e-06/2.778, allocations: 0 / 1.032 GB, free: 95.58 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.007903/2.786, allocations: 1.241 MB / 1.033 GB, free: 95.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.198e-05/2.786, allocations: 62.86 kB / 1.033 GB, free: 95.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003131/2.786, allocations: 222.9 kB / 1.033 GB, free: 95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.367e-05/2.786, allocations: 33.45 kB / 1.033 GB, free: 94.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.942e-05/2.787, allocations: 239.5 kB / 1.034 GB, free: 94.79 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.439e-05/2.787, allocations: 94.67 kB / 1.034 GB, free: 94.74 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-05/2.787, allocations: 7.5 kB / 1.034 GB, free: 94.74 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.09e-05/2.787, allocations: 328.5 kB / 1.034 GB, free: 94.42 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002292/2.787, allocations: 83.92 kB / 1.034 GB, free: 94.42 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002792/2.787, allocations: 174.6 kB / 1.034 GB, free: 94.31 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002888/2.788, allocations: 123.1 kB / 1.034 GB, free: 94.31 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/2.788, allocations: 0 / 1.034 GB, free: 94.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008882/2.789, allocations: 371.2 kB / 1.035 GB, free: 94.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/2.789, allocations: 7.156 kB / 1.035 GB, free: 94.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/2.789, allocations: 3.375 kB / 1.035 GB, free: 94.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002912/2.789, allocations: 75.64 kB / 1.035 GB, free: 94.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005999/2.79, allocations: 85.31 kB / 1.035 GB, free: 94.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001325/2.791, allocations: 1.839 MB / 1.037 GB, free: 92.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004297/2.791, allocations: 23.2 kB / 1.037 GB, free: 92.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.316e-05/2.791, allocations: 41.11 kB / 1.037 GB, free: 92.46 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.0001426/2.792, allocations: 126.9 kB / 1.037 GB, free: 92.36 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.853e-05/2.792, allocations: 29.28 kB / 1.037 GB, free: 92.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001367/2.793, allocations: 441.8 kB / 1.037 GB, free: 92.26 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/2.793, allocations: 0 / 1.037 GB, free: 92.26 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/2.793, allocations: 2.188 kB / 1.037 GB, free: 92.26 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006195/2.794, allocations: 0.5535 MB / 1.038 GB, free: 91.81 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001258/2.795, allocations: 0.7209 MB / 1.039 GB, free: 91.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/2.795, allocations: 0 / 1.039 GB, free: 91.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005497/2.796, allocations: 70.3 kB / 1.039 GB, free: 91.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001073/2.796, allocations: 18.62 kB / 1.039 GB, free: 91.47 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.699e-05/2.796, allocations: 17.72 kB / 1.039 GB, free: 91.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008301/2.797, allocations: 1.283 MB / 1.04 GB, free: 90.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/2.797, allocations: 4.219 kB / 1.04 GB, free: 90.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009007/2.797, allocations: 494.4 kB / 1.041 GB, free: 90.01 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/2.798, allocations: 110.9 kB / 1.041 GB, free: 89.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.415e-05/2.798, allocations: 2.812 kB / 1.041 GB, free: 89.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004357/2.798, allocations: 17.17 kB / 1.041 GB, free: 89.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.113e-05/2.798, allocations: 26.28 kB / 1.041 GB, free: 89.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.381e-05/2.798, allocations: 38.45 kB / 1.041 GB, free: 89.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002328/2.799, allocations: 180.4 kB / 1.041 GB, free: 89.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.81e-07/2.799, allocations: 0 / 1.041 GB, free: 89.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001011/2.8, allocations: 193.2 kB / 1.041 GB, free: 89.81 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.002424/2.802, allocations: 1.842 MB / 1.043 GB, free: 88.85 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008532/2.803, allocations: 352.7 kB / 1.043 GB, free: 88.75 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/2.803, allocations: 3.938 kB / 1.043 GB, free: 88.75 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003539/2.803, allocations: 219 kB / 1.043 GB, free: 88.64 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001482/2.805, allocations: 161.2 kB / 1.044 GB, free: 88.64 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001611/2.806, allocations: 0.6055 MB / 1.044 GB, free: 88.39 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002436/2.807, allocations: 0.7755 MB / 1.045 GB, free: 87.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004911/2.807, allocations: 128 kB / 1.045 GB, free: 87.69 MB / 410.7 MB Notification: Performance of SimCode: time 9.62e-07/2.807, allocations: 2.156 kB / 1.045 GB, free: 87.69 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.066/5.874, allocations: 12.97 MB / 1.058 GB, free: 85.92 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