Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.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.Airflow.Multizone.Examples.ReverseBuoyancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy") translateModel(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001365/0.001366, allocations: 97.39 kB / 16.02 MB, free: 76 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.002229/0.002229, allocations: 183.8 kB / 16.92 MB, free: 6.707 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.77/2.77, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.004552/0.004552, allocations: 266 kB / 292.3 MB, free: 1.898 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.998/1.998, allocations: 169.5 MB / 0.501 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009665/0.0009668, allocations: 13.59 kB / 0.5993 GB, free: 28.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.426/0.427, allocations: 88.54 MB / 0.6858 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy): time 1.724/2.152, allocations: 307.7 MB / 0.9862 GB, free: 11.89 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.06406/2.216, allocations: 18.5 MB / 1.004 GB, free: 9.348 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009624/2.225, allocations: 71.56 kB / 1.004 GB, free: 9.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.01025/2.236, allocations: 1.87 MB / 1.006 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.03856/2.275, allocations: 6.909 MB / 1.013 GB, free: 476 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01885/2.293, allocations: 2.934 MB / 1.016 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.03292/2.326, allocations: 13.13 MB / 1.029 GB, free: 384 kB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0116/2.338, allocations: 2.579 MB / 1.031 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0166/2.355, allocations: 2.81 MB / 1.034 GB, free: 10.92 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01525/2.37, allocations: 3.262 MB / 1.037 GB, free: 7.656 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.003154/2.373, allocations: 196 kB / 1.037 GB, free: 7.465 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 1.316/3.689, allocations: 8.096 MB / 1.045 GB, free: 16.26 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.00906/3.698, allocations: 1.465 MB / 1.047 GB, free: 16.26 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0199/3.718, allocations: 2.082 MB / 1.049 GB, free: 16.23 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.03559/3.754, allocations: 5.926 MB / 1.054 GB, free: 16.02 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 1.639e-05/3.754, allocations: 0.7188 kB / 1.054 GB, free: 16.02 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.317e-05/3.754, allocations: 0 / 1.054 GB, free: 16.02 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0006487/3.755, allocations: 3.469 kB / 1.054 GB, free: 16.02 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.03662/3.792, allocations: 4.314 MB / 1.059 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001313/3.792, allocations: 9.906 kB / 1.059 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01669/3.809, allocations: 1.015 MB / 1.06 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01718/3.826, allocations: 2.16 MB / 1.062 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001366/3.827, allocations: 249.2 kB / 1.062 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003983/3.831, allocations: 327.1 kB / 1.062 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03168/3.863, allocations: 4.235 MB / 1.066 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007054/3.864, allocations: 12.19 kB / 1.066 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003646/3.868, allocations: 135.3 kB / 1.067 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009546/3.869, allocations: 172 kB / 1.067 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02982/3.899, allocations: 4.779 MB / 1.071 GB, free: 13.25 MB / 0.7481 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06366/3.962, allocations: 14.4 MB / 1.085 GB, free: 22.78 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01728/3.98, allocations: 4.552 MB / 1.09 GB, free: 22.67 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009955/3.99, allocations: 2.445 MB / 1.092 GB, free: 22.63 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004559/3.995, allocations: 1.617 MB / 1.094 GB, free: 20.93 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002777/3.995, allocations: 81.33 kB / 1.094 GB, free: 20.88 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=392): time 3.381e-05/3.995, allocations: 2.578 kB / 1.094 GB, free: 20.88 MB / 0.7637 GB Notification: Performance of matching and sorting (n=392): time 0.03038/4.025, allocations: 5.537 MB / 1.099 GB, free: 20.6 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002215/4.026, allocations: 93.88 kB / 1.099 GB, free: 20.54 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01053/4.036, allocations: 1.685 MB / 1.101 GB, free: 20.31 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.001925/4.038, allocations: 92.36 kB / 1.101 GB, free: 20.28 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.002782/4.041, allocations: 1.134 MB / 1.102 GB, free: 19.86 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.004891/4.046, allocations: 1.322 MB / 1.104 GB, free: 18.99 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002463/4.049, allocations: 268.1 kB / 1.104 GB, free: 18.97 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0002573/4.049, allocations: 303.7 kB / 1.104 GB, free: 18.68 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007935/4.057, allocations: 1.568 MB / 1.106 GB, free: 18.67 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00837/4.065, allocations: 1.912 MB / 1.108 GB, free: 18.45 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01521/4.081, allocations: 3.769 MB / 1.111 GB, free: 18.19 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.627e-05/4.081, allocations: 1.641 kB / 1.111 GB, free: 18.19 MB / 0.7637 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.01976/4.1, allocations: 4.175 MB / 1.115 GB, free: 17.92 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 7.249e-05/4.101, allocations: 7.781 kB / 1.115 GB, free: 17.92 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.089e-05/4.101, allocations: 6.062 kB / 1.115 GB, free: 17.92 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001075/4.101, allocations: 24 kB / 1.115 GB, free: 17.91 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006214/4.107, allocations: 0.6963 MB / 1.116 GB, free: 17.91 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001425/4.107, allocations: 25.45 kB / 1.116 GB, free: 17.91 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008472/4.116, allocations: 476.7 kB / 1.116 GB, free: 17.74 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001443/4.117, allocations: 114.2 kB / 1.117 GB, free: 17.74 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (430): * Single equations (assignments): 430 * 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.006045/4.123, allocations: 0.7991 MB / 1.117 GB, free: 17.62 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003074/4.126, allocations: 294 kB / 1.118 GB, free: 17.48 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02025/4.147, allocations: 4.426 MB / 1.122 GB, free: 17.27 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.166e-05/4.147, allocations: 40.44 kB / 1.122 GB, free: 17.26 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.789e-05/4.147, allocations: 4 kB / 1.122 GB, free: 17.26 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01315/4.16, allocations: 3.8 MB / 1.126 GB, free: 16.92 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04282/4.203, allocations: 8.633 MB / 1.134 GB, free: 16.13 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.858e-05/4.203, allocations: 3.875 kB / 1.134 GB, free: 16.13 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006672/4.21, allocations: 0.7249 MB / 1.135 GB, free: 16.12 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001153/4.21, allocations: 15.28 kB / 1.135 GB, free: 16.12 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001563/4.212, allocations: 85.52 kB / 1.135 GB, free: 16.12 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001002/4.212, allocations: 15.81 kB / 1.135 GB, free: 16.12 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.067e-05/4.212, allocations: 2.531 kB / 1.135 GB, free: 16.12 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02477/4.236, allocations: 6.568 MB / 1.141 GB, free: 15.57 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006193/4.243, allocations: 0.7957 MB / 1.142 GB, free: 15.28 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002837/4.246, allocations: 71.97 kB / 1.142 GB, free: 15.28 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007716/4.253, allocations: 272 kB / 1.143 GB, free: 15.24 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001544/4.255, allocations: 239.8 kB / 1.143 GB, free: 15.23 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001058/4.256, allocations: 110.5 kB / 1.143 GB, free: 15.23 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.005605/4.262, allocations: 1.155 MB / 1.144 GB, free: 15.09 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.263e-06/4.262, allocations: 0 / 1.144 GB, free: 15.09 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0115/4.273, allocations: 1.229 MB / 1.145 GB, free: 14.96 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 20 (volBotEas.dynBal.medium.Xi[1],volBotEas.dynBal.U,volBotEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volBotWes.dynBal.medium.Xi[1],volBotWes.dynBal.U,volBotWes.dynBal.m,oriEasTop.mExc,volTopEas.dynBal.medium.Xi[1],volTopEas.dynBal.U,volTopEas.dynBal.m,volTopWes.dynBal.medium.Xi[1],volTopWes.dynBal.U,volTopWes.dynBal.m,dooOpeCloTop.mExcAB,dooOpeCloTop.mExcBA) * 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 (392): * Single equations (assignments): 392 * 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.003691/4.277, allocations: 483.8 kB / 1.146 GB, free: 14.81 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01703/4.294, allocations: 3.924 MB / 1.149 GB, free: 12.79 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.111e-05/4.294, allocations: 4 kB / 1.149 GB, free: 12.79 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.009566/4.304, allocations: 2.153 MB / 1.152 GB, free: 11.6 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02132/4.325, allocations: 1.53 MB / 1.153 GB, free: 10.77 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03896/4.364, allocations: 9.664 MB / 1.163 GB, free: 2.199 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004781/4.369, allocations: 2.21 MB / 1.165 GB, free: 72 kB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003717/4.373, allocations: 303.2 kB / 1.165 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of SimCode: time 3.357e-06/4.373, allocations: 0 / 1.165 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of Templates: time 0.1963/4.569, allocations: 53.9 MB / 1.218 GB, free: 10.81 MB / 0.8262 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.makefile make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancyCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancyCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancyCalcHelperMain.o] Error 1