Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.696/1.696, allocations: 171.2 MB / 183.8 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.157e-05/3.168e-05, allocations: 4 kB / 225.1 MB, free: 2.684 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2924/0.2925, allocations: 38.76 MB / 263.8 MB, free: 9.867 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.723/2.016, allocations: 0.5803 GB / 0.838 GB, free: 72.81 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003244/2.016, allocations: 88.06 kB / 0.8381 GB, free: 72.76 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7225/2.739, allocations: 153.2 MB / 0.9877 GB, free: 70.9 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.114e-06/2.739, allocations: 0 / 0.9877 GB, free: 70.9 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.333e-05/2.739, allocations: 8 kB / 0.9877 GB, free: 70.89 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.001123/2.74, allocations: 0.5931 MB / 0.9882 GB, free: 70.25 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/2.74, allocations: 8.031 kB / 0.9883 GB, free: 70.25 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.533e-05/2.74, allocations: 62.53 kB / 0.9883 GB, free: 70.18 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003797/2.741, allocations: 43.61 kB / 0.9884 GB, free: 70.13 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000432/2.741, allocations: 282.5 kB / 0.9886 GB, free: 69.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.494e-05/2.741, allocations: 20.56 kB / 0.9886 GB, free: 69.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.028e-05/2.741, allocations: 27.98 kB / 0.9887 GB, free: 69.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006605/2.742, allocations: 311.7 kB / 0.989 GB, free: 69.43 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.709e-05/2.742, allocations: 0 / 0.989 GB, free: 69.43 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.649e-05/2.742, allocations: 15.94 kB / 0.989 GB, free: 69.42 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/2.742, allocations: 8 kB / 0.989 GB, free: 69.41 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004609/2.742, allocations: 201.6 kB / 0.9892 GB, free: 69.21 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.002563/2.745, allocations: 1.577 MB / 0.9907 GB, free: 67.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004218/2.745, allocations: 163.1 kB / 0.9909 GB, free: 67.31 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002137/2.746, allocations: 105.1 kB / 0.991 GB, free: 67.21 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.548e-05/2.746, allocations: 4.188 kB / 0.991 GB, free: 67.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/2.746, allocations: 38.75 kB / 0.991 GB, free: 67.16 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 3.276e-06/2.746, allocations: 0 / 0.991 GB, free: 67.16 MB / 362.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.008121/2.754, allocations: 1.233 MB / 0.9922 GB, free: 65.85 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/2.754, allocations: 63.39 kB / 0.9923 GB, free: 65.78 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003091/2.754, allocations: 232.9 kB / 0.9925 GB, free: 65.54 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.516e-05/2.754, allocations: 29.7 kB / 0.9925 GB, free: 65.5 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.402e-05/2.754, allocations: 226.5 kB / 0.9928 GB, free: 65.28 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.89e-05/2.755, allocations: 98.55 kB / 0.9928 GB, free: 65.18 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.031e-05/2.755, allocations: 8 kB / 0.9929 GB, free: 65.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.396e-05/2.755, allocations: 326.8 kB / 0.9932 GB, free: 64.85 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002264/2.755, allocations: 83.78 kB / 0.9932 GB, free: 64.77 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000272/2.755, allocations: 183.7 kB / 0.9934 GB, free: 64.54 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002825/2.755, allocations: 116 kB / 0.9935 GB, free: 64.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/2.755, allocations: 4 kB / 0.9935 GB, free: 64.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008818/2.756, allocations: 378.9 kB / 0.9939 GB, free: 64.04 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/2.756, allocations: 4 kB / 0.9939 GB, free: 64.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/2.756, allocations: 7.984 kB / 0.9939 GB, free: 64.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003296/2.757, allocations: 82.03 kB / 0.994 GB, free: 63.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005875/2.757, allocations: 83.89 kB / 0.9941 GB, free: 63.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001324/2.759, allocations: 1.848 MB / 0.9959 GB, free: 61.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000437/2.759, allocations: 19.98 kB / 0.9959 GB, free: 61.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.286e-05/2.759, allocations: 44.17 kB / 0.9959 GB, free: 61.79 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.0001431/2.759, allocations: 128.9 kB / 0.9961 GB, free: 61.66 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.662e-05/2.76, allocations: 27.72 kB / 0.9961 GB, free: 61.63 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001418/2.761, allocations: 447.7 kB / 0.9965 GB, free: 61.18 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/2.761, allocations: 7.938 kB / 0.9965 GB, free: 61.17 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/2.761, allocations: 0 / 0.9965 GB, free: 61.17 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006051/2.762, allocations: 0.5553 MB / 0.9971 GB, free: 60.53 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00128/2.763, allocations: 0.708 MB / 0.9978 GB, free: 59.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/2.763, allocations: 4 kB / 0.9978 GB, free: 59.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000551/2.763, allocations: 75.95 kB / 0.9978 GB, free: 59.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001118/2.764, allocations: 20.84 kB / 0.9978 GB, free: 59.65 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.626e-05/2.764, allocations: 15.98 kB / 0.9979 GB, free: 59.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008369/2.765, allocations: 1.292 MB / 0.9991 GB, free: 58.21 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/2.765, allocations: 0 / 0.9991 GB, free: 58.21 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008719/2.765, allocations: 0.4892 MB / 0.9996 GB, free: 57.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/2.766, allocations: 104.8 kB / 0.9997 GB, free: 57.56 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.308e-05/2.766, allocations: 8 kB / 0.9997 GB, free: 57.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000439/2.766, allocations: 15.98 kB / 0.9997 GB, free: 57.54 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.382e-05/2.766, allocations: 19.97 kB / 0.9997 GB, free: 57.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.159e-05/2.766, allocations: 36.05 kB / 0.9998 GB, free: 57.48 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002459/2.766, allocations: 187.1 kB / 1 GB, free: 57.3 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.31e-07/2.766, allocations: 0 / 1 GB, free: 57.3 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009642/2.767, allocations: 187.9 kB / 1 GB, free: 57.12 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.002454/2.77, allocations: 1.843 MB / 1.002 GB, free: 55.23 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009102/2.771, allocations: 374.9 kB / 1.002 GB, free: 54.85 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/2.771, allocations: 4 kB / 1.002 GB, free: 54.85 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003507/2.771, allocations: 219.5 kB / 1.003 GB, free: 54.62 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00153/2.773, allocations: 165.8 kB / 1.003 GB, free: 54.46 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001667/2.774, allocations: 0.6105 MB / 1.003 GB, free: 53.8 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002367/2.775, allocations: 0.7648 MB / 1.004 GB, free: 53.01 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004894/2.775, allocations: 139.4 kB / 1.004 GB, free: 52.87 MB / 362.7 MB Notification: Performance of SimCode: time 9.02e-07/2.775, allocations: 0 / 1.004 GB, free: 52.87 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.215/5.99, allocations: 12.94 MB / 1.017 GB, free: 39.93 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.Air.DryAirNasa_res.mat does not exist to compare? outputFormat=mat