Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001352/0.001352, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 197.1 kB / 16.79 MB, free: 6.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.37/2.37, allocations: 222.9 MB / 240.5 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003019/0.00302, allocations: 286.5 kB / 290.9 MB, free: 2.148 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.59/1.59, allocations: 169.2 MB / 0.4984 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002936/0.002937, allocations: 93.45 kB / 0.5951 GB, free: 28.45 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3094, allocations: 86.99 MB / 0.6801 GB, free: 1.211 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.003615/0.313, allocations: 1.324 MB / 0.6814 GB, free: 15.89 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 1.067/1.38, allocations: 144.7 MB / 0.8227 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.098e-05/1.381, allocations: 0 / 0.8227 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.769e-05/1.381, allocations: 2.719 kB / 0.8227 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.873e-05/1.381, allocations: 8.531 kB / 0.8227 GB, free: 1.246 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006192/1.381, allocations: 79.61 kB / 0.8228 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.604e-05/1.381, allocations: 31.44 kB / 0.8228 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.794e-05/1.382, allocations: 6.359 kB / 0.8228 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.481e-05/1.382, allocations: 21.19 kB / 0.8228 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.263e-05/1.382, allocations: 18.95 kB / 0.8228 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/1.382, allocations: 3.938 kB / 0.8228 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004446/1.382, allocations: 74.56 kB / 0.8229 GB, free: 1.195 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.226e-05/1.382, allocations: 4.5 kB / 0.8229 GB, free: 1.195 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.033e-05/1.382, allocations: 19.69 kB / 0.8229 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002012/1.383, allocations: 45.09 kB / 0.823 GB, free: 1.188 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/1.383, allocations: 0 / 0.823 GB, free: 1.188 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.973e-06/1.383, allocations: 0 / 0.823 GB, free: 1.188 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.113e-06/1.383, allocations: 2.312 kB / 0.823 GB, free: 1.188 MB / 0.5606 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.0007001/1.383, allocations: 356.6 kB / 0.8233 GB, free: 16.82 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.091e-05/1.383, allocations: 7.031 kB / 0.8233 GB, free: 16.82 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00034/1.384, allocations: 14.69 kB / 0.8233 GB, free: 16.82 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/1.384, allocations: 168.5 kB / 0.8235 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/1.384, allocations: 7.5 kB / 0.8235 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.776e-05/1.384, allocations: 8.594 kB / 0.8235 GB, free: 16.61 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002044/1.384, allocations: 58.77 kB / 0.8236 GB, free: 16.58 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/1.384, allocations: 4.875 kB / 0.8236 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.81e-05/1.384, allocations: 0 / 0.8236 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/1.384, allocations: 0 / 0.8236 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/1.384, allocations: 16.89 kB / 0.8236 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002884/1.385, allocations: 161.7 kB / 0.8237 GB, free: 16.39 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/1.385, allocations: 54.69 kB / 0.8238 GB, free: 16.36 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.743e-05/1.385, allocations: 19.16 kB / 0.8238 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.481e-05/1.385, allocations: 0.875 kB / 0.8238 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.242e-05/1.385, allocations: 42.7 kB / 0.8239 GB, free: 16.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 2.094e-06/1.385, allocations: 0 / 0.8239 GB, free: 16.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.001226/1.386, allocations: 372.9 kB / 0.8242 GB, free: 16.04 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.97e-05/1.386, allocations: 56.5 kB / 0.8243 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.193e-05/1.386, allocations: 92.55 kB / 0.8244 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.686e-05/1.387, allocations: 33.39 kB / 0.8244 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.878e-05/1.387, allocations: 81.33 kB / 0.8245 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.122e-05/1.387, allocations: 36.41 kB / 0.8245 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.99e-05/1.387, allocations: 30.67 kB / 0.8245 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001509/1.387, allocations: 316.6 kB / 0.8248 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.994e-05/1.387, allocations: 24.41 kB / 0.8249 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/1.387, allocations: 35 kB / 0.8249 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/1.387, allocations: 62.73 kB / 0.8249 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/1.387, allocations: 1.125 kB / 0.8249 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002779/1.388, allocations: 97.75 kB / 0.825 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.97e-05/1.388, allocations: 5.25 kB / 0.825 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/1.388, allocations: 2.656 kB / 0.825 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/1.388, allocations: 1.188 kB / 0.825 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002257/1.388, allocations: 25.28 kB / 0.8251 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/1.388, allocations: 8.984 kB / 0.8251 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.22e-05/1.388, allocations: 4.219 kB / 0.8251 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.726e-05/1.388, allocations: 2.844 kB / 0.8251 GB, free: 15.32 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001401/1.388, allocations: 123.8 kB / 0.8252 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.055e-05/1.388, allocations: 3.062 kB / 0.8252 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.166e-05/1.388, allocations: 11.41 kB / 0.8252 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/1.388, allocations: 1.156 kB / 0.8252 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/1.388, allocations: 0.5938 kB / 0.8252 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/1.388, allocations: 0.5312 kB / 0.8252 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002043/1.389, allocations: 176 kB / 0.8254 GB, free: 15 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/1.389, allocations: 0.5625 kB / 0.8254 GB, free: 15 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002356/1.389, allocations: 24.39 kB / 0.8254 GB, free: 15 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/1.389, allocations: 5.156 kB / 0.8254 GB, free: 15 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/1.389, allocations: 3.516 kB / 0.8254 GB, free: 15 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/1.389, allocations: 1.969 kB / 0.8254 GB, free: 15 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/1.389, allocations: 0.6562 kB / 0.8254 GB, free: 15 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004007/1.389, allocations: 135 kB / 0.8256 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001296/1.389, allocations: 85.14 kB / 0.8256 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.73e-05/1.39, allocations: 4.688 kB / 0.8256 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/1.39, allocations: 5.938 kB / 0.8256 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.547e-05/1.39, allocations: 6.438 kB / 0.8256 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.897e-05/1.39, allocations: 5.719 kB / 0.8257 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.463e-05/1.39, allocations: 79.06 kB / 0.8257 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.51e-07/1.39, allocations: 0 / 0.8257 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004118/1.39, allocations: 15.97 kB / 0.8257 GB, free: 14.75 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002014/1.391, allocations: 108.2 kB / 0.8258 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002626/1.391, allocations: 58.95 kB / 0.8259 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/1.391, allocations: 4.469 kB / 0.8259 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001108/1.391, allocations: 24.23 kB / 0.8259 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004418/1.391, allocations: 11.56 kB / 0.8259 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/1.393, allocations: 368.2 kB / 0.8263 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003873/1.393, allocations: 0.6848 MB / 0.827 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.986e-05/1.393, allocations: 12.78 kB / 0.827 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of SimCode: time 7.61e-07/1.393, allocations: 0 / 0.827 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of Templates: time 0.004436/1.397, allocations: 0.8138 MB / 0.8278 GB, free: 13.59 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.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 OMCppBuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheckCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheckCalcHelperMain.o] Error 1