Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck") translateModel(BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009666/0.0009667, allocations: 99.05 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.001549/0.001549, allocations: 174.3 kB / 16.58 MB, free: 6.422 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.485/1.485, allocations: 223.2 MB / 240.6 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.157/1.157, allocations: 143.4 MB / 435.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003489/0.0003487, allocations: 8 kB / 0.5166 GB, free: 11.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1999/0.2003, allocations: 83.42 MB / 0.598 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck): time 0.001567/0.2019, allocations: 1.037 MB / 0.5991 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5644/0.7663, allocations: 134.5 MB / 0.7304 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001049/0.7665, allocations: 0 / 0.7304 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 5.686e-05/0.7666, allocations: 2.109 kB / 0.7304 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001648/0.7668, allocations: 10.45 kB / 0.7304 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001285/0.7681, allocations: 228.1 kB / 0.7306 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001536/0.7682, allocations: 76.62 kB / 0.7307 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 6.259e-05/0.7683, allocations: 3.266 kB / 0.7307 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.208e-05/0.7684, allocations: 26.83 kB / 0.7307 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001558/0.7686, allocations: 32.8 kB / 0.7307 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.7686, allocations: 7.188 kB / 0.7308 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009464/0.7695, allocations: 256.8 kB / 0.731 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.311e-05/0.7696, allocations: 20.91 kB / 0.731 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.989e-05/0.7697, allocations: 36.45 kB / 0.7311 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003065/0.77, allocations: 93.62 kB / 0.7311 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.285e-05/0.77, allocations: 4 kB / 0.7311 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.815e-06/0.77, allocations: 1.188 kB / 0.7311 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.211e-06/0.77, allocations: 0 / 0.7311 GB, free: 14.38 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006397/0.7707, allocations: 369 kB / 0.7315 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/0.7708, allocations: 17.28 kB / 0.7315 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005024/0.7713, allocations: 40.36 kB / 0.7316 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001797/0.7715, allocations: 169.6 kB / 0.7317 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.96e-05/0.7715, allocations: 4.922 kB / 0.7317 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.271e-05/0.7716, allocations: 14.06 kB / 0.7317 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000282/0.7718, allocations: 75.45 kB / 0.7318 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.7719, allocations: 0 / 0.7318 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.227e-05/0.7719, allocations: 1.188 kB / 0.7318 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.519e-05/0.7719, allocations: 3.031 kB / 0.7318 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001867/0.7721, allocations: 49.94 kB / 0.7319 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003811/0.7725, allocations: 190.2 kB / 0.732 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002216/0.7727, allocations: 85.84 kB / 0.7321 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.301e-05/0.7728, allocations: 32.8 kB / 0.7322 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003182/0.7731, allocations: 177.7 kB / 0.7323 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.289e-05/0.7732, allocations: 41.72 kB / 0.7324 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 1.302e-06/0.7732, allocations: 0 / 0.7324 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19): time 0.001629/0.7748, allocations: 0.5439 MB / 0.7329 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.17e-05/0.7749, allocations: 53.62 kB / 0.7329 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.525e-05/0.775, allocations: 98.3 kB / 0.733 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.009e-05/0.775, allocations: 32.17 kB / 0.7331 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.716e-05/0.7751, allocations: 80.52 kB / 0.7331 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.026e-05/0.7752, allocations: 65.16 kB / 0.7332 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.208e-06/0.7752, allocations: 5.125 kB / 0.7332 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.7754, allocations: 322.9 kB / 0.7335 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.024e-05/0.7755, allocations: 38.23 kB / 0.7336 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.7756, allocations: 70.98 kB / 0.7336 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001083/0.7757, allocations: 50.94 kB / 0.7337 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.7757, allocations: 1.25 kB / 0.7337 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002853/0.776, allocations: 149 kB / 0.7338 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.776, allocations: 5.5 kB / 0.7338 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.7761, allocations: 1.906 kB / 0.7338 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.7761, allocations: 5.5 kB / 0.7338 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001961/0.7763, allocations: 45.61 kB / 0.7339 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.7763, allocations: 1.375 kB / 0.7339 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.823e-05/0.7764, allocations: 2.406 kB / 0.7339 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.594e-05/0.7764, allocations: 9.219 kB / 0.7339 GB, free: 12.05 MB / 0.5606 GB 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 (24): * Single equations (assignments): 24 * 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 0.0001306/0.7765, allocations: 129 kB / 0.734 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.136e-05/0.7765, allocations: 8.438 kB / 0.734 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.053e-05/0.7766, allocations: 14.14 kB / 0.734 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.7766, allocations: 6.031 kB / 0.734 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.7766, allocations: 0 / 0.734 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.7767, allocations: 2.25 kB / 0.734 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002411/0.7769, allocations: 197.8 kB / 0.7342 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.7769, allocations: 1.094 kB / 0.7342 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000219/0.7771, allocations: 39.59 kB / 0.7343 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.7772, allocations: 1.906 kB / 0.7343 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.7772, allocations: 0.9375 kB / 0.7343 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.873e-06/0.7772, allocations: 2.328 kB / 0.7343 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.7772, allocations: 0 / 0.7343 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004321/0.7776, allocations: 225.9 kB / 0.7345 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.581e-05/0.7777, allocations: 85.58 kB / 0.7346 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.858e-05/0.7778, allocations: 11.41 kB / 0.7346 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.7779, allocations: 5.219 kB / 0.7346 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.442e-05/0.7779, allocations: 13.64 kB / 0.7346 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.778, allocations: 5.984 kB / 0.7346 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.479e-05/0.778, allocations: 78.27 kB / 0.7347 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.778, allocations: 4.094 kB / 0.7347 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002476/0.7783, allocations: 30.41 kB / 0.7347 GB, free: 11.36 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * 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): 19 * 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.0002312/0.7785, allocations: 114.7 kB / 0.7348 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002673/0.7788, allocations: 105.1 kB / 0.7349 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.7788, allocations: 0 / 0.7349 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.996e-05/0.7789, allocations: 54.36 kB / 0.735 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002858/0.7792, allocations: 19.8 kB / 0.735 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001355/0.7805, allocations: 0.631 MB / 0.7356 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005486/0.7811, allocations: 0.7065 MB / 0.7363 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.958e-05/0.7812, allocations: 16.38 kB / 0.7363 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of SimCode: time 5.61e-07/0.7812, allocations: 0 / 0.7363 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of Templates: time 0.004754/0.786, allocations: 1.285 MB / 0.7376 GB, free: 9.957 MB / 0.5606 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.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 OMCppBuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheckCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheckCalcHelperMain.o] Error 1