Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) 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(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001086/0.001086, allocations: 99.98 kB / 15.71 MB, free: 452 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.001023/0.001023, allocations: 180 kB / 16.58 MB, free: 6.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.928/1.928, allocations: 205.4 MB / 222.8 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.829/1.829, allocations: 292.7 MB / 0.5505 GB, free: 14.55 MB / 462.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.0005352/0.0005352, allocations: 23.48 kB / 0.6744 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.2921, allocations: 116.3 MB / 0.7879 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001304/0.2935, allocations: 0.9898 MB / 0.7889 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.834/1.127, allocations: 133.5 MB / 0.9192 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.833e-05/1.128, allocations: 0 / 0.9192 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.549e-05/1.128, allocations: 3.141 kB / 0.9192 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.046e-05/1.128, allocations: 6.688 kB / 0.9192 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003841/1.128, allocations: 76.92 kB / 0.9193 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.299e-05/1.128, allocations: 36.08 kB / 0.9193 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.293e-05/1.128, allocations: 2.484 kB / 0.9193 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.715e-05/1.128, allocations: 15.3 kB / 0.9194 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.752e-05/1.128, allocations: 19.22 kB / 0.9194 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/1.128, allocations: 2.281 kB / 0.9194 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000278/1.129, allocations: 72.94 kB / 0.9194 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.653e-05/1.129, allocations: 10.14 kB / 0.9195 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003731/1.129, allocations: 30.48 kB / 0.9195 GB, free: 21.99 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001303/1.129, allocations: 41.66 kB / 0.9195 GB, free: 21.99 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/1.129, allocations: 0 / 0.9195 GB, free: 21.99 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.324e-06/1.129, allocations: 0 / 0.9195 GB, free: 21.99 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.839e-06/1.129, allocations: 1.781 kB / 0.9195 GB, free: 21.99 MB / 0.7325 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.000478/1.13, allocations: 348.6 kB / 0.9199 GB, free: 21.62 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/1.13, allocations: 9.312 kB / 0.9199 GB, free: 21.62 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002174/1.13, allocations: 18.62 kB / 0.9199 GB, free: 21.62 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/1.13, allocations: 165.2 kB / 0.92 GB, free: 21.42 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/1.13, allocations: 5.031 kB / 0.92 GB, free: 21.42 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.881e-05/1.13, allocations: 6.078 kB / 0.9201 GB, free: 21.42 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/1.13, allocations: 50.42 kB / 0.9201 GB, free: 21.39 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/1.13, allocations: 7.938 kB / 0.9201 GB, free: 21.38 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/1.13, allocations: 0.8125 kB / 0.9201 GB, free: 21.38 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/1.13, allocations: 0.9688 kB / 0.9201 GB, free: 21.38 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.653e-05/1.131, allocations: 21.77 kB / 0.9201 GB, free: 21.38 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001943/1.131, allocations: 163.3 kB / 0.9203 GB, free: 21.19 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.548e-05/1.131, allocations: 52.69 kB / 0.9203 GB, free: 21.16 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.328e-05/1.131, allocations: 16.25 kB / 0.9204 GB, free: 21.16 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.204e-05/1.131, allocations: 5.672 kB / 0.9204 GB, free: 21.15 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/1.131, allocations: 36.52 kB / 0.9204 GB, free: 21.11 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 2.094e-06/1.131, allocations: 0 / 0.9204 GB, free: 21.11 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.0007723/1.132, allocations: 370.8 kB / 0.9207 GB, free: 20.86 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/1.132, allocations: 58.08 kB / 0.9208 GB, free: 20.79 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.926e-05/1.132, allocations: 101.1 kB / 0.9209 GB, free: 20.69 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/1.132, allocations: 26.52 kB / 0.9209 GB, free: 20.66 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.118e-05/1.132, allocations: 80.86 kB / 0.921 GB, free: 20.57 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.457e-05/1.132, allocations: 40.41 kB / 0.921 GB, free: 20.55 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.252e-06/1.132, allocations: 3.969 kB / 0.921 GB, free: 20.55 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001231/1.132, allocations: 314.2 kB / 0.9213 GB, free: 20.24 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.044e-05/1.132, allocations: 19.77 kB / 0.9214 GB, free: 20.24 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.751e-05/1.132, allocations: 34.53 kB / 0.9214 GB, free: 20.22 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.316e-05/1.132, allocations: 28.86 kB / 0.9214 GB, free: 20.22 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/1.132, allocations: 0.75 kB / 0.9214 GB, free: 20.22 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001532/1.132, allocations: 94.33 kB / 0.9215 GB, free: 20.18 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/1.132, allocations: 4.875 kB / 0.9215 GB, free: 20.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/1.132, allocations: 1.25 kB / 0.9215 GB, free: 20.18 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/1.132, allocations: 4.188 kB / 0.9215 GB, free: 20.18 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/1.133, allocations: 22.98 kB / 0.9215 GB, free: 20.18 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/1.133, allocations: 6.859 kB / 0.9215 GB, free: 20.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.922e-05/1.133, allocations: 3.844 kB / 0.9216 GB, free: 20.18 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.809e-06/1.133, allocations: 6.266 kB / 0.9216 GB, free: 20.18 MB / 0.7325 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 8.969e-05/1.133, allocations: 119.4 kB / 0.9217 GB, free: 20.06 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.273e-05/1.133, allocations: 3.281 kB / 0.9217 GB, free: 20.06 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.765e-05/1.133, allocations: 12.91 kB / 0.9217 GB, free: 20.06 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/1.133, allocations: 0.8125 kB / 0.9217 GB, free: 20.06 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/1.133, allocations: 0.8438 kB / 0.9217 GB, free: 20.06 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/1.133, allocations: 5.5 kB / 0.9217 GB, free: 20.05 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001392/1.133, allocations: 167.4 kB / 0.9219 GB, free: 19.87 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/1.133, allocations: 0.5 kB / 0.9219 GB, free: 19.87 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001274/1.133, allocations: 26.64 kB / 0.9219 GB, free: 19.87 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/1.133, allocations: 4.906 kB / 0.9219 GB, free: 19.86 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/1.133, allocations: 2.094 kB / 0.9219 GB, free: 19.86 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/1.133, allocations: 1.5 kB / 0.9219 GB, free: 19.86 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/1.133, allocations: 4.922 kB / 0.9219 GB, free: 19.86 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002265/1.133, allocations: 134.9 kB / 0.922 GB, free: 19.79 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.095e-05/1.134, allocations: 82.41 kB / 0.9221 GB, free: 19.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/1.134, allocations: 5.094 kB / 0.9221 GB, free: 19.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.847e-05/1.134, allocations: 7.375 kB / 0.9221 GB, free: 19.69 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.475e-05/1.134, allocations: 10.22 kB / 0.9221 GB, free: 19.69 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/1.134, allocations: 2.781 kB / 0.9221 GB, free: 19.69 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.726e-05/1.134, allocations: 79.42 kB / 0.9222 GB, free: 19.62 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/1.134, allocations: 0 / 0.9222 GB, free: 19.62 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001992/1.134, allocations: 15.81 kB / 0.9222 GB, free: 19.62 MB / 0.7325 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.0001243/1.134, allocations: 102.7 kB / 0.9223 GB, free: 19.53 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001547/1.134, allocations: 60.59 kB / 0.9224 GB, free: 19.52 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.134, allocations: 4.844 kB / 0.9224 GB, free: 19.52 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 5.198e-05/1.134, allocations: 28.62 kB / 0.9224 GB, free: 19.52 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/1.135, allocations: 11.78 kB / 0.9224 GB, free: 19.51 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006392/1.135, allocations: 418.4 kB / 0.9228 GB, free: 19.2 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/1.135, allocations: 0.6865 MB / 0.9235 GB, free: 18.5 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.232e-05/1.136, allocations: 13.09 kB / 0.9235 GB, free: 18.5 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/1.136, allocations: 0 / 0.9235 GB, free: 18.5 MB / 0.7325 GB Notification: Performance of Templates: time 0.002757/1.138, allocations: 0.8064 MB / 0.9243 GB, free: 18.45 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile make -j1 -f Buildings_8_Buildings.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 OMCppBuildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheckCalcHelperMain.o OMCppBuildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheckCalcHelperMain.o] Error 1