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.946/1.946, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.307e-05/3.356e-05, allocations: 4 kB / 255.5 MB, free: 3.082 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09462/0.09467, allocations: 44.5 MB / 300 MB, free: 6.523 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.851/1.946, allocations: 0.586 GB / 0.879 GB, free: 104.3 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003107/1.946, allocations: 87.64 kB / 0.8791 GB, free: 104.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7771/2.723, allocations: 153.2 MB / 1.029 GB, free: 97.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.308e-06/2.723, allocations: 3.281 kB / 1.029 GB, free: 97.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.265e-05/2.723, allocations: 13.19 kB / 1.029 GB, free: 97.93 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.001123/2.725, allocations: 0.5958 MB / 1.029 GB, free: 97.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/2.725, allocations: 7.25 kB / 1.029 GB, free: 97.5 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.85e-05/2.725, allocations: 63.47 kB / 1.029 GB, free: 97.46 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003472/2.725, allocations: 43.55 kB / 1.029 GB, free: 97.45 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004138/2.725, allocations: 276.9 kB / 1.03 GB, free: 97.24 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/2.725, allocations: 17.72 kB / 1.03 GB, free: 97.24 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.256e-05/2.726, allocations: 24.91 kB / 1.03 GB, free: 97.24 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006397/2.726, allocations: 308.2 kB / 1.03 GB, free: 97.15 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/2.726, allocations: 2.406 kB / 1.03 GB, free: 97.15 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.34e-05/2.726, allocations: 9.375 kB / 1.03 GB, free: 97.15 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/2.726, allocations: 7.094 kB / 1.03 GB, free: 97.15 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004475/2.727, allocations: 195.1 kB / 1.03 GB, free: 97.15 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.002161/2.729, allocations: 1.58 MB / 1.032 GB, free: 95.97 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003758/2.729, allocations: 165.7 kB / 1.032 GB, free: 95.95 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002072/2.73, allocations: 99.8 kB / 1.032 GB, free: 95.93 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.795e-05/2.73, allocations: 6 kB / 1.032 GB, free: 95.93 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/2.73, allocations: 40.25 kB / 1.032 GB, free: 95.89 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 3.416e-06/2.73, allocations: 0 / 1.032 GB, free: 95.89 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.008097/2.738, allocations: 1.24 MB / 1.033 GB, free: 95.47 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.544e-05/2.738, allocations: 65.52 kB / 1.033 GB, free: 95.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003164/2.738, allocations: 223.5 kB / 1.033 GB, free: 95.31 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.401e-05/2.738, allocations: 32.08 kB / 1.034 GB, free: 95.28 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.912e-05/2.738, allocations: 236.4 kB / 1.034 GB, free: 95.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.988e-05/2.738, allocations: 90.31 kB / 1.034 GB, free: 95.05 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-05/2.739, allocations: 5.812 kB / 1.034 GB, free: 95.05 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.271e-05/2.739, allocations: 331.7 kB / 1.034 GB, free: 94.74 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002342/2.739, allocations: 89.61 kB / 1.034 GB, free: 94.74 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002806/2.739, allocations: 176.8 kB / 1.034 GB, free: 94.63 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003008/2.739, allocations: 115.3 kB / 1.035 GB, free: 94.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.237e-06/2.739, allocations: 0 / 1.035 GB, free: 94.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000929/2.74, allocations: 371 kB / 1.035 GB, free: 94.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/2.74, allocations: 5.188 kB / 1.035 GB, free: 94.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/2.74, allocations: 9.656 kB / 1.035 GB, free: 94.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003109/2.741, allocations: 72.66 kB / 1.035 GB, free: 94.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006047/2.741, allocations: 89.41 kB / 1.035 GB, free: 94.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001395/2.743, allocations: 1.843 MB / 1.037 GB, free: 92.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004693/2.743, allocations: 18.7 kB / 1.037 GB, free: 92.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.475e-05/2.743, allocations: 46.64 kB / 1.037 GB, free: 92.78 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.0001498/2.744, allocations: 122.9 kB / 1.037 GB, free: 92.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.912e-05/2.744, allocations: 31.34 kB / 1.037 GB, free: 92.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001395/2.745, allocations: 434.8 kB / 1.037 GB, free: 92.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/2.745, allocations: 5.406 kB / 1.037 GB, free: 92.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/2.745, allocations: 0 / 1.037 GB, free: 92.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006209/2.746, allocations: 0.5532 MB / 1.038 GB, free: 92.12 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001302/2.747, allocations: 0.7192 MB / 1.039 GB, free: 91.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/2.747, allocations: 3.344 kB / 1.039 GB, free: 91.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005598/2.748, allocations: 69.02 kB / 1.039 GB, free: 91.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001136/2.748, allocations: 22.38 kB / 1.039 GB, free: 91.79 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.971e-05/2.748, allocations: 17.33 kB / 1.039 GB, free: 91.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008898/2.749, allocations: 1.281 MB / 1.04 GB, free: 90.53 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/2.749, allocations: 0 / 1.04 GB, free: 90.53 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009373/2.75, allocations: 495.1 kB / 1.041 GB, free: 90.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001238/2.75, allocations: 106.6 kB / 1.041 GB, free: 90.21 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.633e-05/2.75, allocations: 7.156 kB / 1.041 GB, free: 90.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000442/2.75, allocations: 19.52 kB / 1.041 GB, free: 90.21 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.507e-05/2.75, allocations: 28.92 kB / 1.041 GB, free: 90.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.295e-05/2.751, allocations: 30.86 kB / 1.041 GB, free: 90.21 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00025/2.751, allocations: 181.5 kB / 1.041 GB, free: 90.13 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.51e-07/2.751, allocations: 2.688 kB / 1.041 GB, free: 90.13 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001021/2.752, allocations: 191.5 kB / 1.041 GB, free: 90.12 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.002523/2.754, allocations: 1.842 MB / 1.043 GB, free: 89.17 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009434/2.755, allocations: 353.2 kB / 1.043 GB, free: 89.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/2.755, allocations: 0 / 1.043 GB, free: 89.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004947/2.756, allocations: 223.1 kB / 1.043 GB, free: 88.96 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001991/2.758, allocations: 163.1 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.002296/2.76, allocations: 0.6017 MB / 1.044 GB, free: 88.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/2.761, allocations: 0.77 MB / 1.045 GB, free: 88.02 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006555/2.761, allocations: 135.6 kB / 1.045 GB, free: 88.01 MB / 410.7 MB Notification: Performance of SimCode: time 1.102e-06/2.761, allocations: 0 / 1.045 GB, free: 88.01 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.109/5.871, allocations: 12.97 MB / 1.058 GB, free: 86.2 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