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.0007443/0.0007443, allocations: 91.92 kB / 16.02 MB, free: 80 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.0007914/0.0007914, allocations: 180.3 kB / 16.92 MB, free: 6.652 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.346/1.346, allocations: 223.2 MB / 240.9 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001867/0.001867, allocations: 271.2 kB / 292.3 MB, free: 1.844 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9709/0.9709, allocations: 169.5 MB / 0.501 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004212/0.0004212, allocations: 16.58 kB / 0.5993 GB, free: 27.88 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.1841, allocations: 88.55 MB / 0.6858 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001413/0.1856, allocations: 0.9961 MB / 0.6867 GB, free: 14.07 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5502/0.7358, allocations: 143.1 MB / 0.8265 GB, free: 272 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.867e-05/0.7359, allocations: 7.938 kB / 0.8265 GB, free: 264 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.073e-05/0.7359, allocations: 2.484 kB / 0.8265 GB, free: 264 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.207e-05/0.736, allocations: 1.281 kB / 0.8265 GB, free: 264 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005212/0.7365, allocations: 85.75 kB / 0.8266 GB, free: 244 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.816e-05/0.7366, allocations: 27.72 kB / 0.8267 GB, free: 240 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.131e-05/0.7367, allocations: 1.75 kB / 0.8267 GB, free: 240 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.226e-05/0.7367, allocations: 17.17 kB / 0.8267 GB, free: 240 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.004e-05/0.7368, allocations: 18.7 kB / 0.8267 GB, free: 232 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.7368, allocations: 13.81 kB / 0.8267 GB, free: 224 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003102/0.7371, allocations: 67.47 kB / 0.8268 GB, free: 204 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.843e-05/0.7372, allocations: 12.12 kB / 0.8268 GB, free: 200 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.186e-05/0.7373, allocations: 36.2 kB / 0.8268 GB, free: 16.16 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001444/0.7374, allocations: 42.88 kB / 0.8269 GB, free: 16.15 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.7374, allocations: 3.938 kB / 0.8269 GB, free: 16.15 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.644e-06/0.7374, allocations: 1.219 kB / 0.8269 GB, free: 16.15 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.7374, allocations: 0 / 0.8269 GB, free: 16.15 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.0004459/0.7379, allocations: 343.7 kB / 0.8272 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.7379, allocations: 9.594 kB / 0.8272 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000232/0.7382, allocations: 16.86 kB / 0.8272 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.7383, allocations: 166.1 kB / 0.8274 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.7383, allocations: 5.5 kB / 0.8274 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.711e-05/0.7384, allocations: 10.94 kB / 0.8274 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.7385, allocations: 51.86 kB / 0.8274 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.7385, allocations: 3.938 kB / 0.8274 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.7385, allocations: 1.375 kB / 0.8274 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.7386, allocations: 5.125 kB / 0.8274 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.294e-05/0.7386, allocations: 16.3 kB / 0.8275 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001845/0.7388, allocations: 161.8 kB / 0.8276 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.686e-05/0.7389, allocations: 58 kB / 0.8277 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.339e-05/0.739, allocations: 19.58 kB / 0.8277 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.31e-05/0.739, allocations: 0.9375 kB / 0.8277 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.739, allocations: 40.44 kB / 0.8277 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.739, allocations: 0 / 0.8277 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.0007721/0.7398, allocations: 377.3 kB / 0.8281 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.7398, allocations: 52.75 kB / 0.8281 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.209e-05/0.7399, allocations: 92.42 kB / 0.8282 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.74, allocations: 30.42 kB / 0.8283 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.829e-05/0.74, allocations: 84.27 kB / 0.8283 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.082e-05/0.74, allocations: 38.14 kB / 0.8284 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.71e-05/0.7401, allocations: 17.75 kB / 0.8284 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.7403, allocations: 323.3 kB / 0.8287 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.815e-05/0.7403, allocations: 19.5 kB / 0.8287 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.19e-05/0.7404, allocations: 34.95 kB / 0.8288 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001003/0.7405, allocations: 67.7 kB / 0.8288 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.7405, allocations: 0 / 0.8288 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002214/0.7407, allocations: 97.8 kB / 0.8289 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.7407, allocations: 5.938 kB / 0.8289 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.7407, allocations: 0 / 0.8289 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.7408, allocations: 1.75 kB / 0.8289 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.7409, allocations: 22.11 kB / 0.8289 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.7409, allocations: 0.8125 kB / 0.8289 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.495e-05/0.7409, allocations: 7.094 kB / 0.8289 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.741, allocations: 3.031 kB / 0.8289 GB, free: 14.21 MB / 0.5606 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 9.847e-05/0.7411, allocations: 122.7 kB / 0.8291 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.64e-05/0.7411, allocations: 11.62 kB / 0.8291 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.302e-05/0.7411, allocations: 15.2 kB / 0.8291 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.7411, allocations: 1 kB / 0.8291 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.7412, allocations: 0 / 0.8291 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.7412, allocations: 1.188 kB / 0.8291 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001508/0.7413, allocations: 172.4 kB / 0.8293 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.7413, allocations: 5.344 kB / 0.8293 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001276/0.7415, allocations: 17 kB / 0.8293 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.7415, allocations: 1 kB / 0.8293 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.7415, allocations: 4.688 kB / 0.8293 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/0.7415, allocations: 5.094 kB / 0.8293 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.7415, allocations: 0 / 0.8293 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002271/0.7417, allocations: 139.2 kB / 0.8294 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.3e-05/0.7418, allocations: 84.11 kB / 0.8295 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.7419, allocations: 5.125 kB / 0.8295 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.15e-05/0.7419, allocations: 2.375 kB / 0.8295 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.019e-05/0.742, allocations: 6.406 kB / 0.8295 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.742, allocations: 12.92 kB / 0.8295 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.266e-05/0.742, allocations: 80.53 kB / 0.8296 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.742, allocations: 0 / 0.8296 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002008/0.7422, allocations: 15.97 kB / 0.8296 GB, free: 13.6 MB / 0.5606 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.0001308/0.7424, allocations: 104.7 kB / 0.8297 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000144/0.7425, allocations: 50.92 kB / 0.8298 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.7425, allocations: 0 / 0.8298 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.683e-05/0.7426, allocations: 33.14 kB / 0.8298 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002158/0.7428, allocations: 12 kB / 0.8298 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006942/0.7435, allocations: 414 kB / 0.8302 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003525/0.7439, allocations: 0.6921 MB / 0.8309 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.952e-05/0.7439, allocations: 13.22 kB / 0.8309 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of SimCode: time 2.244e-06/0.7439, allocations: 0 / 0.8309 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of Templates: time 0.002656/0.7466, allocations: 0.8187 MB / 0.8317 GB, free: 12 MB / 0.5606 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