Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/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.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume") translateModel(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.0008896/0.0008892, allocations: 102.6 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.001001/0.001001, allocations: 176.4 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.544/1.544, allocations: 223.3 MB / 240.6 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.086/1.086, allocations: 143.4 MB / 435.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004475/0.0004477, allocations: 8 kB / 0.5166 GB, free: 11.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.2116, allocations: 83.42 MB / 0.5981 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.6642/0.8758, allocations: 215.2 MB / 0.8082 GB, free: 4.988 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01652/0.8924, allocations: 9.803 MB / 0.8178 GB, free: 11.17 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002966/0.8954, allocations: 51.69 kB / 0.8178 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003031/0.8984, allocations: 0.8077 MB / 0.8186 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.009052/0.9075, allocations: 2.663 MB / 0.8212 GB, free: 7.629 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00526/0.9128, allocations: 1.441 MB / 0.8226 GB, free: 6.199 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.007664/0.9204, allocations: 5.279 MB / 0.8278 GB, free: 0.9062 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002359/0.9228, allocations: 1.182 MB / 0.8289 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003211/0.9261, allocations: 1.354 MB / 0.8302 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002893/0.929, allocations: 1.409 MB / 0.8316 GB, free: 12.92 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002729/0.9293, allocations: 76 kB / 0.8317 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005553/0.9348, allocations: 1.613 MB / 0.8333 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0008691/0.9357, allocations: 0.5801 MB / 0.8338 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0008592/0.9366, allocations: 404.8 kB / 0.8342 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004202/0.9408, allocations: 2.689 MB / 0.8368 GB, free: 7.551 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.9408, allocations: 0 / 0.8368 GB, free: 7.551 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.844e-06/0.9408, allocations: 0 / 0.8368 GB, free: 7.551 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.968e-05/0.9409, allocations: 0 / 0.8368 GB, free: 7.551 MB / 0.6544 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.005014/0.9459, allocations: 2.147 MB / 0.8389 GB, free: 5.352 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.9459, allocations: 8.031 kB / 0.8389 GB, free: 5.344 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003189/0.9491, allocations: 0.5244 MB / 0.8395 GB, free: 4.816 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002044/0.9512, allocations: 1.194 MB / 0.8406 GB, free: 3.566 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.439e-05/0.9513, allocations: 98.64 kB / 0.8407 GB, free: 3.469 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001911/0.9515, allocations: 136 kB / 0.8408 GB, free: 3.336 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002821/0.9543, allocations: 1.671 MB / 0.8425 GB, free: 1.598 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.219e-05/0.9544, allocations: 0 / 0.8425 GB, free: 1.598 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001388/0.9545, allocations: 55.98 kB / 0.8425 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.102e-05/0.9546, allocations: 74.52 kB / 0.8426 GB, free: 1.469 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002474/0.9571, allocations: 1.447 MB / 0.844 GB, free: 16 kB / 0.6544 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.008567/0.9657, allocations: 6.977 MB / 0.8508 GB, free: 8.582 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001821/0.9675, allocations: 1.205 MB / 0.852 GB, free: 7.34 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009095/0.9684, allocations: 0.6084 MB / 0.8526 GB, free: 6.727 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008405/0.9693, allocations: 0.8633 MB / 0.8534 GB, free: 5.68 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001012/0.9703, allocations: 0.6071 MB / 0.854 GB, free: 5.059 MB / 0.67 GB Notification: Performance of pre-optimization done (n=110): time 3.286e-06/0.9703, allocations: 4 kB / 0.854 GB, free: 5.055 MB / 0.67 GB Notification: Performance of matching and sorting (n=110): time 0.002949/0.9733, allocations: 1.576 MB / 0.8556 GB, free: 3.477 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.108e-05/0.9733, allocations: 90.05 kB / 0.8557 GB, free: 3.371 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001453/0.9748, allocations: 1.19 MB / 0.8568 GB, free: 2.16 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.165e-05/0.9749, allocations: 45.7 kB / 0.8569 GB, free: 2.109 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005584/0.9754, allocations: 0.675 MB / 0.8575 GB, free: 1.43 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003484/0.9758, allocations: 378.4 kB / 0.8579 GB, free: 1.055 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.568e-05/0.9759, allocations: 20 kB / 0.8579 GB, free: 1.035 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.976, allocations: 345.9 kB / 0.8582 GB, free: 0.6914 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006911/0.9767, allocations: 421.8 kB / 0.8586 GB, free: 284 kB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.5567/1.533, allocations: 0.5506 MB / 0.8592 GB, free: 38.54 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009856/1.534, allocations: 498.3 kB / 0.8596 GB, free: 38.54 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.203e-06/1.535, allocations: 2.578 kB / 0.8597 GB, free: 38.54 MB / 0.67 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002368/1.537, allocations: 1.215 MB / 0.8608 GB, free: 38.5 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001051/1.537, allocations: 167.4 kB / 0.861 GB, free: 38.34 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/1.537, allocations: 5.75 kB / 0.861 GB, free: 38.34 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.271e-05/1.537, allocations: 9.562 kB / 0.861 GB, free: 38.34 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009587/1.538, allocations: 216.4 kB / 0.8612 GB, free: 38.34 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.937e-05/1.538, allocations: 14.5 kB / 0.8612 GB, free: 38.34 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00145/1.54, allocations: 185.7 kB / 0.8614 GB, free: 38.34 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.839e-05/1.54, allocations: 37.39 kB / 0.8614 GB, free: 38.34 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 7.855e-06/1.54, allocations: 8.094 kB / 0.8615 GB, free: 38.34 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001705/1.541, allocations: 1.034 MB / 0.8625 GB, free: 38.33 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/1.541, allocations: 5.094 kB / 0.8625 GB, free: 38.33 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/1.541, allocations: 9.156 kB / 0.8625 GB, free: 38.33 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008449/1.542, allocations: 208.4 kB / 0.8627 GB, free: 38.33 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/1.542, allocations: 10.83 kB / 0.8627 GB, free: 38.33 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001316/1.544, allocations: 176.4 kB / 0.8629 GB, free: 38.33 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.823e-05/1.544, allocations: 39.02 kB / 0.8629 GB, free: 38.33 MB / 0.67 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.001014/1.545, allocations: 492.6 kB / 0.8634 GB, free: 38.14 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000249/1.545, allocations: 151.2 kB / 0.8635 GB, free: 38.11 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002333/1.547, allocations: 1.242 MB / 0.8647 GB, free: 38.05 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-05/1.547, allocations: 10.25 kB / 0.8647 GB, free: 38.05 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/1.547, allocations: 9.188 kB / 0.8647 GB, free: 38.05 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001645/1.549, allocations: 1.012 MB / 0.8657 GB, free: 37.98 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004905/1.554, allocations: 3.179 MB / 0.8688 GB, free: 37.4 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/1.554, allocations: 1.531 kB / 0.8688 GB, free: 37.4 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001038/1.555, allocations: 230.5 kB / 0.8691 GB, free: 37.4 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.299e-05/1.555, allocations: 8.469 kB / 0.8691 GB, free: 37.4 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.763e-05/1.555, allocations: 27.91 kB / 0.8691 GB, free: 37.4 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.636e-06/1.555, allocations: 9.688 kB / 0.8691 GB, free: 37.4 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/1.555, allocations: 2.594 kB / 0.8691 GB, free: 37.4 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002747/1.558, allocations: 1.919 MB / 0.871 GB, free: 37.06 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006308/1.558, allocations: 362.1 kB / 0.8713 GB, free: 36.89 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001787/1.559, allocations: 26.5 kB / 0.8713 GB, free: 36.89 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009675/1.56, allocations: 113.3 kB / 0.8715 GB, free: 36.87 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001504/1.56, allocations: 80.14 kB / 0.8715 GB, free: 36.86 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.923e-05/1.56, allocations: 40.27 kB / 0.8716 GB, free: 36.86 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001082/1.561, allocations: 0.8192 MB / 0.8724 GB, free: 36.75 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/1.561, allocations: 0 / 0.8724 GB, free: 36.75 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002019/1.563, allocations: 0.833 MB / 0.8732 GB, free: 36.64 MB / 0.67 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.001316/1.564, allocations: 0.5964 MB / 0.8738 GB, free: 36.48 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002622/1.567, allocations: 1.609 MB / 0.8753 GB, free: 36.45 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/1.567, allocations: 0 / 0.8753 GB, free: 36.45 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008454/1.568, allocations: 0.5634 MB / 0.8759 GB, free: 36.45 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003633/1.571, allocations: 0.8314 MB / 0.8767 GB, free: 36.39 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006797/1.578, allocations: 4.115 MB / 0.8807 GB, free: 34.33 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001261/1.58, allocations: 1.365 MB / 0.882 GB, free: 33.6 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005866/1.58, allocations: 119.6 kB / 0.8822 GB, free: 33.59 MB / 0.67 GB Notification: Performance of SimCode: time 1.303e-06/1.58, allocations: 0 / 0.8822 GB, free: 33.59 MB / 0.67 GB Notification: Performance of Templates: time 0.06041/1.641, allocations: 25.15 MB / 0.9067 GB, free: 29.52 MB / 0.67 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.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 OMCppBuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolumeCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolumeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolumeCalcHelperMain.o] Error 1