Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) 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.1 MB / 186.7 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003544/0.0003544, allocations: 12 kB / 233.4 MB, free: 2.918 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08358/0.08397, allocations: 38.76 MB / 272.1 MB, free: 12.07 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.662/1.746, allocations: 0.5804 GB / 0.8462 GB, free: 6.621 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003277/1.747, allocations: 90.31 kB / 0.8463 GB, free: 6.566 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7017/2.448, allocations: 153.7 MB / 0.9964 GB, free: 6.508 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.264e-06/2.448, allocations: 0 / 0.9964 GB, free: 6.508 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.17e-05/2.448, allocations: 4 kB / 0.9964 GB, free: 6.504 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.001181/2.45, allocations: 0.6284 MB / 0.997 GB, free: 5.828 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/2.45, allocations: 8.031 kB / 0.997 GB, free: 5.82 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.785e-05/2.45, allocations: 58.55 kB / 0.997 GB, free: 5.754 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003385/2.45, allocations: 51.56 kB / 0.9971 GB, free: 5.703 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004125/2.45, allocations: 282.9 kB / 0.9974 GB, free: 5.387 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.382e-05/2.451, allocations: 20.56 kB / 0.9974 GB, free: 5.367 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.018e-05/2.451, allocations: 24 kB / 0.9974 GB, free: 5.344 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006441/2.451, allocations: 319.7 kB / 0.9977 GB, free: 5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.123e-05/2.451, allocations: 7.844 kB / 0.9977 GB, free: 4.992 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.16e-05/2.451, allocations: 12 kB / 0.9977 GB, free: 4.98 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/2.451, allocations: 4 kB / 0.9977 GB, free: 4.977 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004783/2.452, allocations: 201.6 kB / 0.9979 GB, free: 4.781 MB / 362.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.002069/2.454, allocations: 1.578 MB / 0.9995 GB, free: 3.047 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003804/2.454, allocations: 160.2 kB / 0.9996 GB, free: 2.883 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.725e-05/2.454, allocations: 4.188 kB / 0.9996 GB, free: 2.879 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/2.454, allocations: 42.73 kB / 0.9997 GB, free: 2.828 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 2.685e-06/2.454, allocations: 3.938 kB / 0.9997 GB, free: 2.824 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.00856/2.463, allocations: 1.611 MB / 1.001 GB, free: 1.086 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/2.463, allocations: 63.38 kB / 1.001 GB, free: 1.012 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003097/2.463, allocations: 232 kB / 1.002 GB, free: 0.7773 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.298e-05/2.463, allocations: 29.7 kB / 1.002 GB, free: 0.7422 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.515e-05/2.464, allocations: 238.7 kB / 1.002 GB, free: 0.5078 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.103e-05/2.464, allocations: 94.59 kB / 1.002 GB, free: 424 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.101e-05/2.464, allocations: 4 kB / 1.002 GB, free: 420 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.625e-05/2.464, allocations: 326.8 kB / 1.002 GB, free: 84 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2444/2.708, allocations: 86.64 kB / 1.002 GB, free: 73.86 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004402/2.709, allocations: 182.2 kB / 1.002 GB, free: 73.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003673/2.709, allocations: 123.7 kB / 1.003 GB, free: 73.75 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-06/2.709, allocations: 1.656 kB / 1.003 GB, free: 73.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001023/2.71, allocations: 383.2 kB / 1.003 GB, free: 73.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.517e-05/2.71, allocations: 6.5 kB / 1.003 GB, free: 73.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/2.71, allocations: 3.125 kB / 1.003 GB, free: 73.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003252/2.71, allocations: 74.09 kB / 1.003 GB, free: 73.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006044/2.711, allocations: 84.94 kB / 1.003 GB, free: 73.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001486/2.713, allocations: 1.858 MB / 1.005 GB, free: 71.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004453/2.713, allocations: 23 kB / 1.005 GB, free: 71.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.095e-05/2.713, allocations: 44.77 kB / 1.005 GB, free: 71.93 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 () * Number of clocked 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.0002527/2.713, allocations: 148.4 kB / 1.005 GB, free: 71.82 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.674e-05/2.714, allocations: 34 kB / 1.005 GB, free: 71.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001506/2.715, allocations: 439.3 kB / 1.006 GB, free: 71.75 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/2.715, allocations: 3.203 kB / 1.006 GB, free: 71.75 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/2.715, allocations: 4.562 kB / 1.006 GB, free: 71.75 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007338/2.716, allocations: 0.5682 MB / 1.006 GB, free: 71.29 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001512/2.717, allocations: 0.7197 MB / 1.007 GB, free: 70.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/2.717, allocations: 0 / 1.007 GB, free: 70.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005558/2.718, allocations: 82.06 kB / 1.007 GB, free: 70.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001167/2.718, allocations: 25.77 kB / 1.007 GB, free: 70.96 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.687e-05/2.718, allocations: 13.91 kB / 1.007 GB, free: 70.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008757/2.719, allocations: 1.279 MB / 1.008 GB, free: 69.71 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/2.719, allocations: 2.297 kB / 1.008 GB, free: 69.71 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001038/2.72, allocations: 499.6 kB / 1.009 GB, free: 69.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/2.72, allocations: 108.7 kB / 1.009 GB, free: 69.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.15e-05/2.72, allocations: 7.969 kB / 1.009 GB, free: 69.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004158/2.721, allocations: 17.91 kB / 1.009 GB, free: 69.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.054e-05/2.721, allocations: 23.16 kB / 1.009 GB, free: 69.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.509e-05/2.721, allocations: 33.58 kB / 1.009 GB, free: 69.41 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002607/2.721, allocations: 191.6 kB / 1.009 GB, free: 69.33 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.01e-07/2.721, allocations: 3.656 kB / 1.009 GB, free: 69.33 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001049/2.722, allocations: 190.5 kB / 1.009 GB, free: 69.33 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 () * Number of clocked 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.0026/2.725, allocations: 1.846 MB / 1.011 GB, free: 68.4 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009653/2.726, allocations: 373.1 kB / 1.011 GB, free: 68.29 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/2.726, allocations: 0.875 kB / 1.011 GB, free: 68.29 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004043/2.726, allocations: 230.5 kB / 1.012 GB, free: 68.18 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001467/2.728, allocations: 162.9 kB / 1.012 GB, free: 68.17 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004391/2.732, allocations: 3.865 MB / 1.016 GB, free: 65.44 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000284/2.733, allocations: 0.7696 MB / 1.016 GB, free: 64.75 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005341/2.733, allocations: 140.6 kB / 1.016 GB, free: 64.74 MB / 362.7 MB Notification: Performance of SimCode: time 8.91e-07/2.733, allocations: 0 / 1.016 GB, free: 64.74 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.083/5.816, allocations: 12.98 MB / 1.029 GB, free: 64.45 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