Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 98.39 kB / 17.96 MB, free: 5.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 176 kB / 18.86 MB, free: 4.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.064/2.064, allocations: 205.4 MB / 225 MB, free: 13.07 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000572/0.0005719, allocations: 8 kB / 282 MB, free: 3.402 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1295, allocations: 47.58 MB / 329.6 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.5545/0.6841, allocations: 171.3 MB / 0.4892 GB, free: 14.4 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006344/0.6905, allocations: 3.826 MB / 0.4929 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005563/0.6911, allocations: 7.938 kB / 0.4929 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009895/0.6921, allocations: 199.1 kB / 0.4931 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001375/0.6935, allocations: 354.3 kB / 0.4935 GB, free: 10.01 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00215/0.6957, allocations: 0.4957 MB / 0.4939 GB, free: 9.516 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002661/0.6984, allocations: 1.606 MB / 0.4955 GB, free: 7.902 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002298/0.6986, allocations: 70.23 kB / 0.4956 GB, free: 7.84 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003884/0.7025, allocations: 1.18 MB / 0.4967 GB, free: 6.656 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008696/0.7034, allocations: 354.8 kB / 0.4971 GB, free: 6.309 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001914/0.7036, allocations: 20 kB / 0.4971 GB, free: 6.289 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001966/0.7056, allocations: 0.7446 MB / 0.4978 GB, free: 5.543 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003795/0.706, allocations: 211.4 kB / 0.498 GB, free: 5.336 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006496/0.7066, allocations: 308.6 kB / 0.4983 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001349/0.708, allocations: 0.8845 MB / 0.4992 GB, free: 4.141 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.708, allocations: 0 / 0.4992 GB, free: 4.141 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.917e-06/0.708, allocations: 0 / 0.4992 GB, free: 4.141 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.052e-05/0.7081, allocations: 3.938 kB / 0.4992 GB, free: 4.137 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001724/0.7098, allocations: 0.6945 MB / 0.4999 GB, free: 3.391 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.7098, allocations: 12.03 kB / 0.4999 GB, free: 3.379 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009054/0.7108, allocations: 123.3 kB / 0.5 GB, free: 3.258 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008334/0.7116, allocations: 377.1 kB / 0.5003 GB, free: 2.848 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.093e-05/0.7117, allocations: 29 kB / 0.5004 GB, free: 2.82 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.503e-05/0.7117, allocations: 43.94 kB / 0.5004 GB, free: 2.777 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.7128, allocations: 0.5576 MB / 0.501 GB, free: 2.203 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/0.7128, allocations: 3.984 kB / 0.501 GB, free: 2.199 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.475e-05/0.7129, allocations: 16 kB / 0.501 GB, free: 2.184 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/0.7129, allocations: 12 kB / 0.501 GB, free: 2.172 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006749/0.7136, allocations: 442.4 kB / 0.5014 GB, free: 1.738 MB / 398.1 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.003573/0.7171, allocations: 2.067 MB / 0.5034 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002824/0.7174, allocations: 146.6 kB / 0.5036 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001437/0.7176, allocations: 80.83 kB / 0.5036 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.133e-05/0.7176, allocations: 8 kB / 0.5037 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.287e-05/0.7177, allocations: 38.56 kB / 0.5037 GB, free: 15.21 MB / 414.1 MB Notification: Performance of pre-optimization done (n=18): time 1.573e-06/0.7177, allocations: 3.938 kB / 0.5037 GB, free: 15.2 MB / 414.1 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=23): time 0.005865/0.7236, allocations: 1.678 MB / 0.5053 GB, free: 13.38 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.45e-05/0.7236, allocations: 59.34 kB / 0.5054 GB, free: 13.31 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006057/0.7242, allocations: 489.5 kB / 0.5059 GB, free: 12.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.038e-05/0.7243, allocations: 29.7 kB / 0.5059 GB, free: 12.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000248/0.7245, allocations: 318.4 kB / 0.5062 GB, free: 12.47 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.388e-05/0.7246, allocations: 86.75 kB / 0.5063 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.169e-05/0.7247, allocations: 53.69 kB / 0.5063 GB, free: 12.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001794/0.7249, allocations: 354.8 kB / 0.5067 GB, free: 11.97 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002244/0.7251, allocations: 141.2 kB / 0.5068 GB, free: 11.83 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004519/0.7256, allocations: 432.5 kB / 0.5072 GB, free: 11.27 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008022/0.7264, allocations: 0.6096 MB / 0.5078 GB, free: 10.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.7264, allocations: 4 kB / 0.5078 GB, free: 10.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001008/0.7274, allocations: 0.6352 MB / 0.5084 GB, free: 9.863 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.237e-05/0.7275, allocations: 8 kB / 0.5084 GB, free: 9.855 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/0.7275, allocations: 16 kB / 0.5085 GB, free: 9.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001918/0.7277, allocations: 58.34 kB / 0.5085 GB, free: 9.777 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000446/0.7281, allocations: 143.8 kB / 0.5086 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00159/0.7297, allocations: 1.848 MB / 0.5105 GB, free: 7.633 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003839/0.7301, allocations: 24 kB / 0.5105 GB, free: 7.609 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.838e-05/0.7302, allocations: 43.98 kB / 0.5105 GB, free: 7.566 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (73): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002542/0.7305, allocations: 217.7 kB / 0.5107 GB, free: 7.344 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.248e-05/0.7306, allocations: 47.44 kB / 0.5108 GB, free: 7.297 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005571/0.7311, allocations: 294.9 kB / 0.511 GB, free: 6.996 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.7311, allocations: 0 / 0.511 GB, free: 6.996 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.7311, allocations: 4 kB / 0.5111 GB, free: 6.992 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005313/0.7317, allocations: 0.5161 MB / 0.5116 GB, free: 6.387 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001031/0.7327, allocations: 0.7097 MB / 0.5123 GB, free: 5.617 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.7327, allocations: 0 / 0.5123 GB, free: 5.617 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002555/0.733, allocations: 47.97 kB / 0.5123 GB, free: 5.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.214e-05/0.7331, allocations: 28.69 kB / 0.5123 GB, free: 5.539 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.682e-05/0.7331, allocations: 15.92 kB / 0.5123 GB, free: 5.523 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001223/0.7343, allocations: 1.272 MB / 0.5136 GB, free: 4.113 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.7343, allocations: 0 / 0.5136 GB, free: 4.113 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005948/0.735, allocations: 436.2 kB / 0.514 GB, free: 3.668 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.7351, allocations: 124.6 kB / 0.5141 GB, free: 3.527 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.124e-05/0.7351, allocations: 3.984 kB / 0.5141 GB, free: 3.523 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000264/0.7354, allocations: 15.98 kB / 0.5141 GB, free: 3.508 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.003e-05/0.7355, allocations: 19.97 kB / 0.5142 GB, free: 3.488 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.768e-05/0.7355, allocations: 15.98 kB / 0.5142 GB, free: 3.473 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003804/0.7359, allocations: 323.1 kB / 0.5145 GB, free: 3.156 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7359, allocations: 0 / 0.5145 GB, free: 3.156 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009565/0.7369, allocations: 219.9 kB / 0.5147 GB, free: 2.941 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001575/0.7384, allocations: 474.8 kB / 0.5151 GB, free: 2.469 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000863/0.7393, allocations: 459.5 kB / 0.5156 GB, free: 2.008 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.7393, allocations: 7.938 kB / 0.5156 GB, free: 2 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002877/0.7396, allocations: 212.1 kB / 0.5158 GB, free: 1.781 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001228/0.7409, allocations: 205.3 kB / 0.516 GB, free: 1.582 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001907/0.7428, allocations: 1.121 MB / 0.5171 GB, free: 440 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005541/0.7434, allocations: 0.8312 MB / 0.5179 GB, free: 15.57 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/0.7435, allocations: 51.42 kB / 0.5179 GB, free: 15.52 MB / 430.1 MB Notification: Performance of SimCode: time 3.71e-07/0.7435, allocations: 0 / 0.5179 GB, free: 15.52 MB / 430.1 MB Notification: Performance of Templates: time 0.01999/0.7635, allocations: 12.07 MB / 0.5297 GB, free: 3.438 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedCompositionCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedCompositionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedCompositionCalcHelperMain.o] Error 1