Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008057/0.0008058, allocations: 88.44 kB / 17.63 MB, free: 6.133 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.0008537/0.0008537, allocations: 184.2 kB / 18.52 MB, free: 5.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.532/1.532, allocations: 223.3 MB / 242.5 MB, free: 14.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2484/0.2484, allocations: 44.21 MB / 337.9 MB, free: 2.562 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003858/0.0003858, allocations: 8 kB / 410.3 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1606, allocations: 61.92 MB / 472.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.5895/0.7502, allocations: 135.7 MB / 0.5936 GB, free: 11.52 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002352/0.7526, allocations: 1.469 MB / 0.595 GB, free: 10.06 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.685e-05/0.7527, allocations: 0 / 0.595 GB, free: 10.06 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003688/0.7531, allocations: 30.06 kB / 0.5951 GB, free: 10.03 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009869/0.7541, allocations: 295 kB / 0.5953 GB, free: 9.746 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005207/0.7546, allocations: 128.1 kB / 0.5955 GB, free: 9.621 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003175/0.7549, allocations: 215.1 kB / 0.5957 GB, free: 9.41 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.847e-05/0.755, allocations: 4 kB / 0.5957 GB, free: 9.406 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001713/0.7552, allocations: 71.75 kB / 0.5957 GB, free: 9.336 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001577/0.7553, allocations: 59.77 kB / 0.5958 GB, free: 9.277 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.418e-05/0.7554, allocations: 7.984 kB / 0.5958 GB, free: 9.27 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001003/0.7564, allocations: 447.2 kB / 0.5962 GB, free: 8.832 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.958e-05/0.7565, allocations: 27.89 kB / 0.5963 GB, free: 8.805 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.822e-05/0.7566, allocations: 43.11 kB / 0.5963 GB, free: 8.758 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004915/0.7571, allocations: 273.3 kB / 0.5966 GB, free: 8.492 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.7571, allocations: 0 / 0.5966 GB, free: 8.492 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.7571, allocations: 0 / 0.5966 GB, free: 8.492 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.7571, allocations: 0 / 0.5966 GB, free: 8.492 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0006197/0.7577, allocations: 410.2 kB / 0.5969 GB, free: 8.047 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.7578, allocations: 12.03 kB / 0.597 GB, free: 8.035 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001977/0.7597, allocations: 191.6 kB / 0.5971 GB, free: 7.848 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002986/0.7601, allocations: 202.9 kB / 0.5973 GB, free: 7.609 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.7601, allocations: 6.125 kB / 0.5973 GB, free: 7.605 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.887e-05/0.7601, allocations: 15.95 kB / 0.5974 GB, free: 7.59 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005365/0.7607, allocations: 203 kB / 0.5975 GB, free: 7.387 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.7607, allocations: 0 / 0.5975 GB, free: 7.387 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.488e-05/0.7607, allocations: 7.938 kB / 0.5976 GB, free: 7.379 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.7608, allocations: 4 kB / 0.5976 GB, free: 7.375 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000577/0.7613, allocations: 236.5 kB / 0.5978 GB, free: 7.145 MB / 430.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.001802/0.7632, allocations: 0.6797 MB / 0.5985 GB, free: 6.406 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004358/0.7636, allocations: 182.5 kB / 0.5986 GB, free: 6.219 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002173/0.7638, allocations: 100.8 kB / 0.5987 GB, free: 6.117 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002266/0.7641, allocations: 93.08 kB / 0.5988 GB, free: 6.008 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.268e-05/0.7641, allocations: 38.56 kB / 0.5988 GB, free: 5.961 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 5.15e-06/0.7641, allocations: 0 / 0.5988 GB, free: 5.961 MB / 430.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: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.005125/0.7693, allocations: 1.526 MB / 0.6003 GB, free: 4.328 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.7693, allocations: 55.41 kB / 0.6004 GB, free: 4.262 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.7695, allocations: 109.8 kB / 0.6005 GB, free: 4.145 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.216e-05/0.7695, allocations: 33.69 kB / 0.6005 GB, free: 4.105 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.242e-05/0.7696, allocations: 96.27 kB / 0.6006 GB, free: 4.008 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.495e-05/0.7696, allocations: 74.98 kB / 0.6007 GB, free: 3.934 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.733e-05/0.7697, allocations: 0 / 0.6007 GB, free: 3.934 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.7698, allocations: 326.8 kB / 0.601 GB, free: 3.605 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002019/0.77, allocations: 91.94 kB / 0.6011 GB, free: 3.516 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002221/0.7703, allocations: 119.3 kB / 0.6012 GB, free: 3.387 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000224/0.7705, allocations: 99.98 kB / 0.6013 GB, free: 3.289 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.7705, allocations: 0 / 0.6013 GB, free: 3.289 MB / 430.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005908/0.7711, allocations: 288.6 kB / 0.6016 GB, free: 3 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.7712, allocations: 7.953 kB / 0.6016 GB, free: 2.992 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.7712, allocations: 0 / 0.6016 GB, free: 2.992 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001335/0.7713, allocations: 24.84 kB / 0.6016 GB, free: 2.965 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004084/0.7717, allocations: 60 kB / 0.6017 GB, free: 2.906 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004022/0.7721, allocations: 0.529 MB / 0.6022 GB, free: 2.352 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002393/0.7724, allocations: 16.02 kB / 0.6022 GB, free: 2.336 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.087e-05/0.7724, allocations: 4 kB / 0.6022 GB, free: 2.332 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 22 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001542/0.7726, allocations: 138.3 kB / 0.6023 GB, free: 2.188 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.529e-05/0.7726, allocations: 11.84 kB / 0.6023 GB, free: 2.176 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009016/0.7736, allocations: 321.4 kB / 0.6026 GB, free: 1.852 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.7736, allocations: 0 / 0.6026 GB, free: 1.852 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.7736, allocations: 0 / 0.6026 GB, free: 1.852 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.474e-05/0.7736, allocations: 7.969 kB / 0.6027 GB, free: 1.844 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001312/0.775, allocations: 0.6712 MB / 0.6033 GB, free: 1.109 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.775, allocations: 0 / 0.6033 GB, free: 1.109 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000411/0.7754, allocations: 51.95 kB / 0.6034 GB, free: 1.059 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.999e-05/0.7755, allocations: 16.84 kB / 0.6034 GB, free: 1.039 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.11e-05/0.7755, allocations: 11.95 kB / 0.6034 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001133/0.7767, allocations: 1.272 MB / 0.6046 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.7767, allocations: 0 / 0.6046 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008069/0.7775, allocations: 450.8 kB / 0.6051 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.694e-05/0.7775, allocations: 89 kB / 0.6051 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.544e-05/0.7776, allocations: 7.984 kB / 0.6052 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002745/0.7779, allocations: 8 kB / 0.6052 GB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.126e-05/0.7779, allocations: 24.03 kB / 0.6052 GB, free: 15.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.539e-05/0.778, allocations: 8 kB / 0.6052 GB, free: 15 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.295e-05/0.778, allocations: 87.27 kB / 0.6053 GB, free: 14.91 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.778, allocations: 3.938 kB / 0.6053 GB, free: 14.91 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006322/0.7787, allocations: 131.9 kB / 0.6054 GB, free: 14.78 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,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 (19): * Single equations (assignments): 18 * 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.0006398/0.7793, allocations: 243 kB / 0.6056 GB, free: 14.54 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006438/0.78, allocations: 227.7 kB / 0.6059 GB, free: 14.31 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.78, allocations: 0 / 0.6059 GB, free: 14.31 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004577/0.7805, allocations: 238.9 kB / 0.6061 GB, free: 14.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004647/0.7809, allocations: 48.7 kB / 0.6061 GB, free: 14.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000945/0.7819, allocations: 0.5995 MB / 0.6067 GB, free: 13.38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003028/0.7822, allocations: 0.7087 MB / 0.6074 GB, free: 12.64 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001507/0.7824, allocations: 31.42 kB / 0.6074 GB, free: 12.61 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.7824, allocations: 0 / 0.6074 GB, free: 12.61 MB / 446.1 MB Notification: Performance of Templates: time 0.008344/0.7907, allocations: 5.047 MB / 0.6124 GB, free: 7.57 MB / 446.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2MixCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2MixCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2MixCalcHelperMain.o] Error 1