Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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(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_latest_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_latest_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.001099/0.001099, allocations: 102.8 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.001447/0.001447, allocations: 170.6 kB / 16.58 MB, free: 6.402 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.597/1.597, allocations: 223.2 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.903/2.903, allocations: 436.7 MB / 0.7113 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003559/0.0003559, allocations: 8 kB / 0.8717 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9031/0.9035, allocations: 153.7 MB / 1.022 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.2783/1.182, allocations: 215.1 MB / 1.232 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01946/1.201, allocations: 9.795 MB / 1.241 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00316/1.205, allocations: 51.69 kB / 1.241 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003417/1.208, allocations: 0.8039 MB / 1.242 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.009797/1.218, allocations: 2.659 MB / 1.245 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005716/1.224, allocations: 1.445 MB / 1.246 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008378/1.232, allocations: 5.285 MB / 1.251 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002937/1.235, allocations: 1.174 MB / 1.252 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003629/1.239, allocations: 1.346 MB / 1.254 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003202/1.242, allocations: 1.412 MB / 1.255 GB, free: 1.461 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000579/1.242, allocations: 76 kB / 1.255 GB, free: 1.387 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.8308/2.073, allocations: 1.611 MB / 1.257 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001955/2.075, allocations: 0.5798 MB / 1.257 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001571/2.077, allocations: 403.6 kB / 1.258 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006862/2.084, allocations: 2.567 MB / 1.26 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/2.084, allocations: 0.5625 kB / 1.26 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.016e-06/2.084, allocations: 1.859 kB / 1.26 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001166/2.084, allocations: 3.5 kB / 1.26 GB, free: 12.57 MB / 0.9981 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.008671/2.093, allocations: 2.143 MB / 1.262 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/2.093, allocations: 9.438 kB / 1.262 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005077/2.098, allocations: 0.5274 MB / 1.263 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005096/2.103, allocations: 1.172 MB / 1.264 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001606/2.103, allocations: 100.2 kB / 1.264 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004114/2.103, allocations: 136.2 kB / 1.264 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004985/2.108, allocations: 1.669 MB / 1.266 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.749e-05/2.108, allocations: 5.969 kB / 1.266 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001789/2.109, allocations: 57.25 kB / 1.266 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001699/2.109, allocations: 75.28 kB / 1.266 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003959/2.113, allocations: 1.443 MB / 1.267 GB, free: 10.8 MB / 0.9981 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.01353/2.126, allocations: 6.968 MB / 1.274 GB, free: 23.41 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002139/2.129, allocations: 1.202 MB / 1.275 GB, free: 23.18 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001039/2.13, allocations: 0.6092 MB / 1.276 GB, free: 23.18 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009478/2.131, allocations: 0.8662 MB / 1.277 GB, free: 22.23 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001233/2.132, allocations: 0.6057 MB / 1.277 GB, free: 22.18 MB / 1.014 GB Notification: Performance of pre-optimization done (n=110): time 4.678e-06/2.132, allocations: 4 kB / 1.277 GB, free: 22.18 MB / 1.014 GB Notification: Performance of matching and sorting (n=110): time 0.003916/2.136, allocations: 1.576 MB / 1.279 GB, free: 22.06 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.654e-05/2.136, allocations: 94.89 kB / 1.279 GB, free: 21.96 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002184/2.138, allocations: 1.183 MB / 1.28 GB, free: 21.8 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.00018/2.138, allocations: 48.17 kB / 1.28 GB, free: 21.77 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007161/2.139, allocations: 0.6764 MB / 1.281 GB, free: 21.53 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004562/2.139, allocations: 383.2 kB / 1.281 GB, free: 21.29 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-05/2.139, allocations: 19 kB / 1.281 GB, free: 21.29 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001511/2.14, allocations: 343.5 kB / 1.282 GB, free: 20.98 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000817/2.14, allocations: 425.2 kB / 1.282 GB, free: 20.98 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008876/2.141, allocations: 0.5535 MB / 1.283 GB, free: 20.88 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009127/2.142, allocations: 497.1 kB / 1.283 GB, free: 20.87 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/2.142, allocations: 3.875 kB / 1.283 GB, free: 20.87 MB / 1.014 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002591/2.145, allocations: 1.218 MB / 1.284 GB, free: 20.75 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.000123/2.145, allocations: 162.8 kB / 1.284 GB, free: 20.58 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/2.145, allocations: 2.938 kB / 1.284 GB, free: 20.58 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.229e-05/2.145, allocations: 13.92 kB / 1.284 GB, free: 20.58 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/2.146, allocations: 215.7 kB / 1.285 GB, free: 20.58 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.87e-05/2.146, allocations: 10.84 kB / 1.285 GB, free: 20.57 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001935/2.148, allocations: 188.3 kB / 1.285 GB, free: 20.51 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001014/2.148, allocations: 38.12 kB / 1.285 GB, free: 20.51 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/2.148, allocations: 4.125 kB / 1.285 GB, free: 20.51 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001836/2.15, allocations: 1.041 MB / 1.286 GB, free: 20.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/2.15, allocations: 2.469 kB / 1.286 GB, free: 20.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/2.15, allocations: 7.625 kB / 1.286 GB, free: 20.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009172/2.151, allocations: 209.3 kB / 1.286 GB, free: 20.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/2.151, allocations: 5.875 kB / 1.286 GB, free: 20.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001925/2.153, allocations: 184.4 kB / 1.286 GB, free: 20.44 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.442e-05/2.153, allocations: 36.56 kB / 1.286 GB, free: 20.44 MB / 1.014 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.001154/2.154, allocations: 487.4 kB / 1.287 GB, free: 20.25 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004023/2.155, allocations: 151.1 kB / 1.287 GB, free: 20.17 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002282/2.157, allocations: 1.257 MB / 1.288 GB, free: 20.07 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/2.157, allocations: 11.19 kB / 1.288 GB, free: 20.07 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/2.157, allocations: 0 / 1.288 GB, free: 20.07 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001524/2.159, allocations: 1.004 MB / 1.289 GB, free: 19.99 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005426/2.164, allocations: 3.174 MB / 1.292 GB, free: 19.38 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/2.164, allocations: 2.344 kB / 1.292 GB, free: 19.38 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001071/2.165, allocations: 233.3 kB / 1.292 GB, free: 19.37 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.647e-05/2.165, allocations: 9.984 kB / 1.292 GB, free: 19.37 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-05/2.165, allocations: 33.22 kB / 1.292 GB, free: 19.37 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.348e-06/2.165, allocations: 6.469 kB / 1.292 GB, free: 19.37 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/2.165, allocations: 3.719 kB / 1.292 GB, free: 19.37 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003006/2.168, allocations: 1.92 MB / 1.294 GB, free: 19.03 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001035/2.169, allocations: 360.2 kB / 1.295 GB, free: 18.85 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002347/2.17, allocations: 29.98 kB / 1.295 GB, free: 18.84 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001101/2.171, allocations: 120.7 kB / 1.295 GB, free: 18.82 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001703/2.171, allocations: 70.47 kB / 1.295 GB, free: 18.82 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.117e-05/2.171, allocations: 42.89 kB / 1.295 GB, free: 18.82 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001171/2.172, allocations: 0.8155 MB / 1.296 GB, free: 18.71 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.7e-07/2.172, allocations: 0 / 1.296 GB, free: 18.71 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002769/2.175, allocations: 0.8362 MB / 1.297 GB, free: 18.59 MB / 1.014 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.001808/2.177, allocations: 0.5883 MB / 1.297 GB, free: 18.37 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003309/2.18, allocations: 1.607 MB / 1.299 GB, free: 18.34 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.476e-05/2.18, allocations: 2.125 kB / 1.299 GB, free: 18.34 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001001/2.181, allocations: 0.5678 MB / 1.299 GB, free: 18.34 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004324/2.185, allocations: 0.8329 MB / 1.3 GB, free: 18.27 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00585/2.191, allocations: 4.112 MB / 1.304 GB, free: 16.21 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009931/2.192, allocations: 1.367 MB / 1.305 GB, free: 15.48 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006611/2.193, allocations: 117.9 kB / 1.306 GB, free: 15.47 MB / 1.014 GB Notification: Performance of SimCode: time 1.082e-06/2.193, allocations: 0 / 1.306 GB, free: 15.47 MB / 1.014 GB Notification: Performance of Templates: time 0.04339/2.236, allocations: 25.05 MB / 1.33 GB, free: 11.5 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.makefile make -j1 -f Buildings_latest_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_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolumeCalcHelperMain.o OMCppBuildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolumeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolumeCalcHelperMain.o] Error 1