Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep") translateModel(Buildings.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009346/0.0009349, allocations: 99.59 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.001045/0.001045, allocations: 171.7 kB / 16.58 MB, free: 6.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.91/1.91, allocations: 205.4 MB / 222.8 MB, free: 5.629 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.863/1.863, allocations: 292.7 MB / 0.5505 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008483/0.0008484, allocations: 18.42 kB / 0.6743 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3204, allocations: 116.3 MB / 0.7879 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.9416/1.262, allocations: 268.8 MB / 1.05 GB, free: 10.71 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0345/1.297, allocations: 21.39 MB / 1.071 GB, free: 9.336 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004926/1.302, allocations: 58.25 kB / 1.071 GB, free: 9.316 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.005622/1.307, allocations: 1.182 MB / 1.072 GB, free: 8.328 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.01778/1.325, allocations: 4.406 MB / 1.077 GB, free: 4.188 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.009294/1.334, allocations: 2.082 MB / 1.079 GB, free: 2.113 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.01456/1.349, allocations: 8.926 MB / 1.088 GB, free: 9.156 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005626/1.355, allocations: 2.244 MB / 1.09 GB, free: 6.887 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006793/1.361, allocations: 2.358 MB / 1.092 GB, free: 4.52 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006554/1.368, allocations: 2.616 MB / 1.095 GB, free: 1.895 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.001597/1.37, allocations: 168 kB / 1.095 GB, free: 1.73 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01218/1.382, allocations: 3.137 MB / 1.098 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.003441/1.385, allocations: 1.286 MB / 1.099 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.003061/1.388, allocations: 0.672 MB / 1.1 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.01136/1.4, allocations: 4.657 MB / 1.104 GB, free: 7.949 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/1.4, allocations: 0 / 1.104 GB, free: 7.949 MB / 0.8106 GB Notification: Performance of FrontEnd: time 5.05e-06/1.4, allocations: 4 kB / 1.104 GB, free: 7.945 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0003027/1.4, allocations: 0 / 1.104 GB, free: 7.945 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 709 * Number of variables: 709 Notification: Performance of Generate backend data structure: time 0.01381/1.414, allocations: 3.519 MB / 1.108 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.788e-05/1.414, allocations: 12.02 kB / 1.108 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006321/1.42, allocations: 0.8392 MB / 1.109 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00596/1.426, allocations: 1.827 MB / 1.11 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000293/1.427, allocations: 213.4 kB / 1.111 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00123/1.428, allocations: 287.9 kB / 1.111 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01019/1.438, allocations: 3.585 MB / 1.114 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.849e-05/1.438, allocations: 7.938 kB / 1.114 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003412/1.439, allocations: 120 kB / 1.114 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001729/1.439, allocations: 145.3 kB / 1.115 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006899/1.446, allocations: 3.28 MB / 1.118 GB, free: 9.855 MB / 0.8262 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.02481/1.471, allocations: 14.16 MB / 1.132 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00482/1.476, allocations: 2.569 MB / 1.134 GB, free: 7.832 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002187/1.478, allocations: 1.368 MB / 1.135 GB, free: 6.465 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001976/1.48, allocations: 1.378 MB / 1.137 GB, free: 4.789 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002317/1.482, allocations: 1.237 MB / 1.138 GB, free: 3.543 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=216): time 5.38e-06/1.482, allocations: 3.938 kB / 1.138 GB, free: 3.539 MB / 0.8419 GB Notification: Performance of matching and sorting (n=216): time 0.006251/1.488, allocations: 3.195 MB / 1.141 GB, free: 348 kB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.923e-05/1.489, allocations: 73.41 kB / 1.141 GB, free: 260 kB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002751/1.491, allocations: 1.424 MB / 1.143 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0003101/1.492, allocations: 69.7 kB / 1.143 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.001199/1.493, allocations: 1.107 MB / 1.144 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009013/1.494, allocations: 0.747 MB / 1.144 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/1.494, allocations: 44 kB / 1.144 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000288/1.494, allocations: 382 kB / 1.145 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001647/1.496, allocations: 0.9176 MB / 1.146 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001947/1.498, allocations: 1.299 MB / 1.147 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001926/1.5, allocations: 1.128 MB / 1.148 GB, free: 8.953 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.035e-05/1.5, allocations: 4 kB / 1.148 GB, free: 8.949 MB / 0.8575 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.005094/1.505, allocations: 2.609 MB / 1.151 GB, free: 6.324 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 6.711e-05/1.505, allocations: 37.7 kB / 1.151 GB, free: 6.281 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.286e-05/1.505, allocations: 8.578 kB / 1.151 GB, free: 6.273 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.393e-05/1.505, allocations: 20 kB / 1.151 GB, free: 6.254 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001964/1.507, allocations: 479.6 kB / 1.151 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.225e-05/1.507, allocations: 20 kB / 1.151 GB, free: 5.766 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003051/1.51, allocations: 365.2 kB / 1.152 GB, free: 5.41 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001726/1.51, allocations: 79.98 kB / 1.152 GB, free: 5.332 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (261): * Single equations (assignments): 260 * Array equations: 0 * Algorithm blocks: 1 * 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.001625/1.512, allocations: 0.6884 MB / 1.152 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006078/1.513, allocations: 213.5 kB / 1.152 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004992/1.518, allocations: 2.55 MB / 1.155 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.928e-05/1.518, allocations: 23.95 kB / 1.155 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.449e-05/1.518, allocations: 0 / 1.155 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003917/1.522, allocations: 2.347 MB / 1.157 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01143/1.533, allocations: 5.618 MB / 1.163 GB, free: 9.688 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-05/1.533, allocations: 4 kB / 1.163 GB, free: 9.684 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002244/1.535, allocations: 0.4918 MB / 1.163 GB, free: 9.191 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.338e-05/1.535, allocations: 16 kB / 1.163 GB, free: 9.176 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001617/1.536, allocations: 55.98 kB / 1.163 GB, free: 9.121 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.487e-05/1.536, allocations: 8 kB / 1.163 GB, free: 9.113 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/1.536, allocations: 4 kB / 1.163 GB, free: 9.109 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006556/1.542, allocations: 4.018 MB / 1.167 GB, free: 5.047 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001794/1.544, allocations: 0.5488 MB / 1.168 GB, free: 4.477 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003868/1.544, allocations: 44 kB / 1.168 GB, free: 4.434 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001923/1.546, allocations: 247.5 kB / 1.168 GB, free: 4.191 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003075/1.547, allocations: 161.6 kB / 1.168 GB, free: 4.031 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001431/1.547, allocations: 75.97 kB / 1.168 GB, free: 3.957 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001586/1.548, allocations: 0.9705 MB / 1.169 GB, free: 2.992 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3e-07/1.548, allocations: 4 kB / 1.169 GB, free: 2.988 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002928/1.551, allocations: 0.9428 MB / 1.17 GB, free: 2.043 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 16 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mXi[1],volWes.dynBal.mC[1],oriEasTop.mExc,volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mXi[1],volTop.dynBal.mC[1]) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (220): * Single equations (assignments): 218 * 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.0009672/1.552, allocations: 398.2 kB / 1.171 GB, free: 1.648 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00436/1.557, allocations: 2.352 MB / 1.173 GB, free: 15.29 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 8.185e-06/1.557, allocations: 4 kB / 1.173 GB, free: 15.28 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0021/1.559, allocations: 1.231 MB / 1.174 GB, free: 14.05 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006183/1.565, allocations: 1.232 MB / 1.175 GB, free: 12.83 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01245/1.577, allocations: 7.23 MB / 1.182 GB, free: 5.531 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001935/1.579, allocations: 1.971 MB / 1.184 GB, free: 3.523 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001685/1.581, allocations: 223.4 kB / 1.184 GB, free: 3.305 MB / 0.8887 GB Notification: Performance of SimCode: time 2.905e-06/1.581, allocations: 0 / 1.184 GB, free: 3.305 MB / 0.8887 GB Notification: Performance of Templates: time 0.07851/1.66, allocations: 41.98 MB / 1.225 GB, free: 9.516 MB / 0.9356 GB make -j1 -f Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep.makefile make -j1 -f Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep.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 OMCppBuildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStepCalcHelperMain.o OMCppBuildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStepCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStepCalcHelperMain.o] Error 1