Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 95.22 kB / 16.33 MB, free: 6.09 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.0009669/0.000967, allocations: 175.9 kB / 17.22 MB, free: 5.961 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.472/1.472, allocations: 223.2 MB / 241.2 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7581/0.7581, allocations: 114.4 MB / 406.7 MB, free: 3.992 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003404/0.0003404, allocations: 9.156 kB / 494.5 MB, free: 8.008 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.1662, allocations: 77.27 MB / 0.5583 GB, free: 10.94 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001366/0.1676, allocations: 0.9844 MB / 0.5593 GB, free: 9.949 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.5944/0.762, allocations: 133.5 MB / 0.6896 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.204e-05/0.7621, allocations: 0 / 0.6896 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.866e-05/0.7621, allocations: 3.984 kB / 0.6896 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.608e-05/0.7622, allocations: 7.922 kB / 0.6896 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003528/0.7626, allocations: 70.2 kB / 0.6897 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.855e-05/0.7627, allocations: 27.86 kB / 0.6897 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.938e-05/0.7627, allocations: 4 kB / 0.6897 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.845e-05/0.7628, allocations: 15.98 kB / 0.6897 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.945e-05/0.7629, allocations: 23.91 kB / 0.6898 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.101e-05/0.7629, allocations: 4 kB / 0.6898 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003314/0.7632, allocations: 73.56 kB / 0.6898 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.744e-05/0.7633, allocations: 4 kB / 0.6898 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.292e-05/0.7633, allocations: 33.64 kB / 0.6899 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001461/0.7635, allocations: 45.92 kB / 0.6899 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.178e-06/0.7635, allocations: 0 / 0.6899 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.527e-06/0.7635, allocations: 0 / 0.6899 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.7635, allocations: 0 / 0.6899 GB, free: 2.98 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004957/0.764, allocations: 343.3 kB / 0.6902 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.7641, allocations: 8.031 kB / 0.6902 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001977/0.7643, allocations: 17.36 kB / 0.6903 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.7644, allocations: 163.1 kB / 0.6904 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.7644, allocations: 0 / 0.6904 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.115e-05/0.7645, allocations: 11.86 kB / 0.6904 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.7646, allocations: 53.67 kB / 0.6905 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.7646, allocations: 0 / 0.6905 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.7646, allocations: 4 kB / 0.6905 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.7647, allocations: 0 / 0.6905 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.747e-05/0.7647, allocations: 27.86 kB / 0.6905 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001961/0.7649, allocations: 165.6 kB / 0.6907 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.035e-05/0.765, allocations: 46.56 kB / 0.6907 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.307e-05/0.7651, allocations: 17.08 kB / 0.6907 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.349e-05/0.7651, allocations: 3.953 kB / 0.6907 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.7651, allocations: 46.55 kB / 0.6908 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 8.21e-07/0.7651, allocations: 0 / 0.6908 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0007988/0.7659, allocations: 362 kB / 0.6911 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.766, allocations: 59.34 kB / 0.6912 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.145e-05/0.7661, allocations: 93.84 kB / 0.6913 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.7661, allocations: 33.83 kB / 0.6913 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.575e-05/0.7662, allocations: 84.14 kB / 0.6914 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.499e-05/0.7662, allocations: 39.44 kB / 0.6914 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.232e-06/0.7662, allocations: 4 kB / 0.6914 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.7664, allocations: 314.8 kB / 0.6917 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.662e-05/0.7664, allocations: 19.98 kB / 0.6917 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.607e-05/0.7665, allocations: 34.45 kB / 0.6918 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.679e-05/0.7665, allocations: 25.09 kB / 0.6918 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.7665, allocations: 4 kB / 0.6918 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001367/0.7667, allocations: 98.11 kB / 0.6919 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.7667, allocations: 8 kB / 0.6919 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.7667, allocations: 0 / 0.6919 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.7667, allocations: 0 / 0.6919 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.7669, allocations: 27.92 kB / 0.6919 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.7669, allocations: 0 / 0.6919 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.77e-05/0.7669, allocations: 0 / 0.6919 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.7669, allocations: 8 kB / 0.6919 GB, free: 0.6367 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 14 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.656e-05/0.767, allocations: 121.6 kB / 0.6921 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.302e-05/0.767, allocations: 7.953 kB / 0.6921 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.853e-05/0.7671, allocations: 15.02 kB / 0.6921 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.7671, allocations: 0 / 0.6921 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.7671, allocations: 0 / 0.6921 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.7671, allocations: 0 / 0.6921 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001157/0.7672, allocations: 173.6 kB / 0.6922 GB, free: 284 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.7672, allocations: 0 / 0.6922 GB, free: 284 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.7674, allocations: 23.94 kB / 0.6923 GB, free: 260 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.7674, allocations: 7.953 kB / 0.6923 GB, free: 252 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.7674, allocations: 0 / 0.6923 GB, free: 252 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.7674, allocations: 4 kB / 0.6923 GB, free: 248 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.7674, allocations: 3.984 kB / 0.6923 GB, free: 244 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002009/0.7676, allocations: 137.4 kB / 0.6924 GB, free: 92 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.928e-05/0.7677, allocations: 77.11 kB / 0.6925 GB, free: 16 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.7677, allocations: 15.92 kB / 0.6925 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.246e-05/0.7678, allocations: 4 kB / 0.6925 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.092e-05/0.7678, allocations: 4 kB / 0.6925 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.7679, allocations: 11.98 kB / 0.6925 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 2.932e-05/0.7679, allocations: 75.28 kB / 0.6926 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7679, allocations: 0 / 0.6926 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001886/0.7681, allocations: 16 kB / 0.6926 GB, free: 15.87 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,hSteSym,hAirSym) * 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 (11): * Single equations (assignments): 11 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001267/0.7682, allocations: 103.9 kB / 0.6927 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001347/0.7684, allocations: 55.98 kB / 0.6928 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.7684, allocations: 0 / 0.6928 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.838e-05/0.7684, allocations: 32.02 kB / 0.6928 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002278/0.7687, allocations: 13.09 kB / 0.6928 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006931/0.7694, allocations: 414.1 kB / 0.6932 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003615/0.7697, allocations: 0.6887 MB / 0.6939 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.683e-05/0.7698, allocations: 15.44 kB / 0.6939 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of SimCode: time 2.5e-07/0.7698, allocations: 0 / 0.6939 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of Templates: time 0.002564/0.7724, allocations: 0.8072 MB / 0.6947 GB, free: 13.69 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.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 OMCppIBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheckCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheckCalcHelperMain.o] Error 1