Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|roo.T|bou0.T|sha.vol.T|oriChiTop.m_flow|oriBot.m_flow|oriChiBot.m_flow|con.u_s|con.u_m|con.y",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume") translateModel(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|roo.T|bou0.T|sha.vol.T|oriChiTop.m_flow|oriBot.m_flow|oriChiBot.m_flow|con.u_s|con.u_m|con.y",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008299/0.0008299, allocations: 102.7 kB / 15.71 MB, free: 460 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.0009289/0.0009291, allocations: 175.6 kB / 16.58 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 1.556/1.556, allocations: 223.2 MB / 240.6 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.619/2.619, allocations: 390.4 MB / 0.6662 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004354/0.0004356, allocations: 12 kB / 0.8154 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.119/1.119, allocations: 142.3 MB / 0.9544 GB, free: 8.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.2921/1.411, allocations: 215 MB / 1.164 GB, free: 8.543 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01751/1.429, allocations: 9.785 MB / 1.174 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003215/1.432, allocations: 55.62 kB / 1.174 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.003523/1.436, allocations: 0.8 MB / 1.175 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.01068/1.447, allocations: 2.671 MB / 1.177 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.005559/1.452, allocations: 1.451 MB / 1.179 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.008351/1.46, allocations: 5.262 MB / 1.184 GB, free: 4.48 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002836/1.463, allocations: 1.186 MB / 1.185 GB, free: 3.266 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003975/1.467, allocations: 1.35 MB / 1.186 GB, free: 1.91 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003405/1.471, allocations: 1.405 MB / 1.188 GB, free: 0.5 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0004518/1.471, allocations: 76 kB / 1.188 GB, free: 436 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005812/1.477, allocations: 1.613 MB / 1.189 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.001146/1.478, allocations: 0.5801 MB / 1.19 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001054/1.479, allocations: 404.7 kB / 1.19 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.005054/1.484, allocations: 2.568 MB / 1.193 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.423e-06/1.484, allocations: 0 / 1.193 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.123e-06/1.484, allocations: 0 / 1.193 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.627e-05/1.484, allocations: 0 / 1.193 GB, free: 11.25 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.00582/1.49, allocations: 2.151 MB / 1.195 GB, free: 9.043 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/1.49, allocations: 8.031 kB / 1.195 GB, free: 9.035 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0034/1.494, allocations: 0.5245 MB / 1.196 GB, free: 8.508 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002636/1.496, allocations: 1.182 MB / 1.197 GB, free: 7.27 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.632e-05/1.497, allocations: 98.66 kB / 1.197 GB, free: 7.172 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002044/1.497, allocations: 135.9 kB / 1.197 GB, free: 7.039 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003175/1.5, allocations: 1.666 MB / 1.199 GB, free: 5.305 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.747e-05/1.5, allocations: 3.906 kB / 1.199 GB, free: 5.301 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001307/1.5, allocations: 59.92 kB / 1.199 GB, free: 5.242 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.012e-05/1.5, allocations: 82.5 kB / 1.199 GB, free: 5.16 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002694/1.503, allocations: 1.439 MB / 1.2 GB, free: 3.715 MB / 0.9512 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.009626/1.513, allocations: 6.981 MB / 1.207 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001832/1.514, allocations: 1.196 MB / 1.208 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009347/1.515, allocations: 0.6161 MB / 1.209 GB, free: 10.42 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000911/1.516, allocations: 0.871 MB / 1.21 GB, free: 9.367 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00104/1.517, allocations: 0.6025 MB / 1.21 GB, free: 8.746 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=110): time 3.166e-06/1.517, allocations: 0 / 1.21 GB, free: 8.746 MB / 0.9669 GB Notification: Performance of matching and sorting (n=110): time 0.00323/1.521, allocations: 1.576 MB / 1.212 GB, free: 7.168 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.444e-05/1.521, allocations: 86.11 kB / 1.212 GB, free: 7.066 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001748/1.522, allocations: 1.19 MB / 1.213 GB, free: 5.855 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001309/1.523, allocations: 45.7 kB / 1.213 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008831/1.524, allocations: 0.675 MB / 1.214 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005687/1.524, allocations: 390.3 kB / 1.214 GB, free: 4.738 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.925e-05/1.524, allocations: 20 kB / 1.214 GB, free: 4.719 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000222/1.524, allocations: 341.9 kB / 1.214 GB, free: 4.379 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008477/1.525, allocations: 421.8 kB / 1.215 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000995/1.526, allocations: 0.5479 MB / 1.215 GB, free: 3.383 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009806/1.527, allocations: 0.491 MB / 1.216 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/1.527, allocations: 0 / 1.216 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002847/1.53, allocations: 1.218 MB / 1.217 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002267/1.53, allocations: 167.5 kB / 1.217 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/1.53, allocations: 4 kB / 1.217 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.442e-05/1.53, allocations: 7.984 kB / 1.217 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001081/1.532, allocations: 215.7 kB / 1.217 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.288e-05/1.532, allocations: 8 kB / 1.217 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00198/1.534, allocations: 186.9 kB / 1.217 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/1.534, allocations: 35.98 kB / 1.218 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/1.534, allocations: 4 kB / 1.218 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001917/1.536, allocations: 1.035 MB / 1.219 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/1.536, allocations: 8 kB / 1.219 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/1.536, allocations: 15.95 kB / 1.219 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008849/1.537, allocations: 215.7 kB / 1.219 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/1.537, allocations: 4 kB / 1.219 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001848/1.538, allocations: 178.9 kB / 1.219 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.319e-05/1.539, allocations: 40 kB / 1.219 GB, free: 15.52 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEvent,$PRE.mRoo_flow.nextTimeEventScaled,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 126 * 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.001427/1.54, allocations: 494.6 kB / 1.219 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004768/1.54, allocations: 150.2 kB / 1.22 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002818/1.543, allocations: 1.243 MB / 1.221 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.614e-05/1.543, allocations: 19.94 kB / 1.221 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/1.543, allocations: 0 / 1.221 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001899/1.545, allocations: 1.007 MB / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006987/1.552, allocations: 3.174 MB / 1.225 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.834e-06/1.552, allocations: 0 / 1.225 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001175/1.553, allocations: 235.7 kB / 1.225 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.582e-05/1.554, allocations: 7.938 kB / 1.225 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.794e-05/1.554, allocations: 32.31 kB / 1.225 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-05/1.554, allocations: 8 kB / 1.225 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/1.554, allocations: 3.984 kB / 1.225 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003518/1.557, allocations: 1.919 MB / 1.227 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001083/1.558, allocations: 359.1 kB / 1.227 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001917/1.558, allocations: 27.94 kB / 1.227 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/1.56, allocations: 113.4 kB / 1.228 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002048/1.56, allocations: 76.84 kB / 1.228 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.115e-05/1.56, allocations: 43.98 kB / 1.228 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001534/1.561, allocations: 0.8141 MB / 1.228 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/1.561, allocations: 3.938 kB / 1.228 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002796/1.564, allocations: 0.8376 MB / 1.229 GB, free: 4.758 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 9 (roo.dynBal.medium.Xi[1],roo.dynBal.U,roo.dynBal.m,oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc,sha.vol.dynBal.medium.Xi[1],sha.vol.dynBal.U,sha.vol.dynBal.m) * Number of discrete variables: 3 ($whenCondition1,mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 2 (mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001938/1.566, allocations: 0.5862 MB / 1.23 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.003353/1.57, allocations: 1.615 MB / 1.231 GB, free: 2.715 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 9.859e-06/1.57, allocations: 1.25 kB / 1.231 GB, free: 2.715 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001062/1.571, allocations: 0.5681 MB / 1.232 GB, free: 2.148 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004629/1.575, allocations: 0.8302 MB / 1.233 GB, free: 1.332 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006884/1.582, allocations: 4.115 MB / 1.237 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001037/1.583, allocations: 1.364 MB / 1.238 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006168/1.584, allocations: 119.4 kB / 1.238 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of SimCode: time 1.904e-06/1.584, allocations: 0 / 1.238 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of Templates: time 0.7062/2.29, allocations: 25.04 MB / 1.263 GB, free: 275.3 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.makefile make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.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/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/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolumeCalcHelperMain.o OMCppBuildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolumeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolumeCalcHelperMain.o] Error 1