Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.983/1.983, allocations: 194.9 MB / 208.4 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.621e-05/3.631e-05, allocations: 7.984 kB / 255.4 MB, free: 3.098 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1022, allocations: 44.52 MB / 300 MB, free: 6.527 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.972/2.074, allocations: 0.586 GB / 0.879 GB, free: 105.2 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003182/2.075, allocations: 85.97 kB / 0.879 GB, free: 105.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8147/2.89, allocations: 153.2 MB / 1.029 GB, free: 97.78 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.803e-06/2.89, allocations: 0 / 1.029 GB, free: 97.78 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.634e-05/2.89, allocations: 7.875 kB / 1.029 GB, free: 97.78 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.001242/2.891, allocations: 0.5964 MB / 1.029 GB, free: 97.35 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/2.891, allocations: 11.38 kB / 1.029 GB, free: 97.35 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.324e-05/2.891, allocations: 61.23 kB / 1.029 GB, free: 97.31 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004319/2.891, allocations: 34.5 kB / 1.029 GB, free: 97.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004986/2.892, allocations: 283.1 kB / 1.03 GB, free: 97.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.194e-05/2.892, allocations: 19 kB / 1.03 GB, free: 97.09 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.486e-05/2.892, allocations: 24.53 kB / 1.03 GB, free: 97.09 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006936/2.893, allocations: 306.8 kB / 1.03 GB, free: 97 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.448e-05/2.893, allocations: 7.312 kB / 1.03 GB, free: 97 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.57e-05/2.893, allocations: 14.31 kB / 1.03 GB, free: 97 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.44e-05/2.893, allocations: 7.688 kB / 1.03 GB, free: 97 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004797/2.893, allocations: 200.8 kB / 1.03 GB, free: 97 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.002457/2.896, allocations: 1.569 MB / 1.032 GB, free: 95.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004109/2.896, allocations: 171.4 kB / 1.032 GB, free: 95.8 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002134/2.897, allocations: 88.2 kB / 1.032 GB, free: 95.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.633e-05/2.897, allocations: 10.48 kB / 1.032 GB, free: 95.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/2.897, allocations: 38.25 kB / 1.032 GB, free: 95.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 4.799e-06/2.897, allocations: 6.484 kB / 1.032 GB, free: 95.75 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.008314/2.905, allocations: 1.236 MB / 1.033 GB, free: 95.33 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.425e-05/2.905, allocations: 59.36 kB / 1.033 GB, free: 95.27 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003258/2.905, allocations: 232.5 kB / 1.033 GB, free: 95.17 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.3e-05/2.905, allocations: 31.61 kB / 1.033 GB, free: 95.14 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/2.906, allocations: 234.3 kB / 1.034 GB, free: 94.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.789e-05/2.906, allocations: 93.58 kB / 1.034 GB, free: 94.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.017e-05/2.906, allocations: 3.375 kB / 1.034 GB, free: 94.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.287e-05/2.906, allocations: 326.6 kB / 1.034 GB, free: 94.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002386/2.906, allocations: 84.91 kB / 1.034 GB, free: 94.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002917/2.906, allocations: 175.5 kB / 1.034 GB, free: 94.49 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003098/2.907, allocations: 126.2 kB / 1.034 GB, free: 94.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/2.907, allocations: 3.031 kB / 1.034 GB, free: 94.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001007/2.908, allocations: 380.9 kB / 1.035 GB, free: 94.42 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.705e-05/2.908, allocations: 11.12 kB / 1.035 GB, free: 94.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/2.908, allocations: 2.469 kB / 1.035 GB, free: 94.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003406/2.908, allocations: 76.58 kB / 1.035 GB, free: 94.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006033/2.909, allocations: 84.38 kB / 1.035 GB, free: 94.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001473/2.91, allocations: 1.845 MB / 1.037 GB, free: 92.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005094/2.911, allocations: 20.8 kB / 1.037 GB, free: 92.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.847e-05/2.911, allocations: 42.42 kB / 1.037 GB, free: 92.63 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.0002032/2.911, allocations: 126.7 kB / 1.037 GB, free: 92.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.812e-05/2.911, allocations: 36.16 kB / 1.037 GB, free: 92.51 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001498/2.913, allocations: 437.4 kB / 1.037 GB, free: 92.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.886e-06/2.913, allocations: 3.844 kB / 1.037 GB, free: 92.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/2.913, allocations: 3.219 kB / 1.037 GB, free: 92.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006579/2.914, allocations: 0.5591 MB / 1.038 GB, free: 91.98 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001448/2.915, allocations: 0.717 MB / 1.039 GB, free: 91.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/2.915, allocations: 7.188 kB / 1.039 GB, free: 91.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005833/2.916, allocations: 69.62 kB / 1.039 GB, free: 91.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001228/2.916, allocations: 18.23 kB / 1.039 GB, free: 91.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.965e-05/2.916, allocations: 18.11 kB / 1.039 GB, free: 91.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009059/2.917, allocations: 1.278 MB / 1.04 GB, free: 90.39 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/2.917, allocations: 3.781 kB / 1.04 GB, free: 90.39 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/2.918, allocations: 499.3 kB / 1.041 GB, free: 90.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001337/2.918, allocations: 106.8 kB / 1.041 GB, free: 90.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.549e-05/2.918, allocations: 3.5 kB / 1.041 GB, free: 90.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004493/2.919, allocations: 19.11 kB / 1.041 GB, free: 90.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.101e-05/2.919, allocations: 29.73 kB / 1.041 GB, free: 90.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7e-05/2.919, allocations: 35.77 kB / 1.041 GB, free: 90.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002637/2.919, allocations: 187.8 kB / 1.041 GB, free: 89.98 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.41e-07/2.919, allocations: 3.344 kB / 1.041 GB, free: 89.98 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001079/2.92, allocations: 182.6 kB / 1.041 GB, free: 89.98 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.002697/2.923, allocations: 1.848 MB / 1.043 GB, free: 89.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00109/2.924, allocations: 364.8 kB / 1.043 GB, free: 88.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/2.924, allocations: 0 / 1.043 GB, free: 88.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003913/2.924, allocations: 230 kB / 1.043 GB, free: 88.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0016/2.926, allocations: 162.1 kB / 1.044 GB, free: 88.79 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001945/2.928, allocations: 0.6074 MB / 1.044 GB, free: 88.55 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002683/2.928, allocations: 0.7717 MB / 1.045 GB, free: 87.85 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005256/2.929, allocations: 133.8 kB / 1.045 GB, free: 87.84 MB / 410.7 MB Notification: Performance of SimCode: time 1.523e-06/2.929, allocations: 0 / 1.045 GB, free: 87.84 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.177/6.106, allocations: 12.94 MB / 1.058 GB, free: 86.71 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.Air.DryAirNasa_res.mat does not exist to compare? outputFormat=mat