Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.OneOpenDoor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dooOpe.vAB|dooOpe.vBA|dooOpeClo.vAB|dooOpeClo.vBA|dooOpe.port_a1.m_flow|dooOpe.port_a2.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_a2.m_flow",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor") translateModel(Buildings.Airflow.Multizone.Examples.OneOpenDoor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dooOpe.vAB|dooOpe.vBA|dooOpeClo.vAB|dooOpeClo.vBA|dooOpe.port_a1.m_flow|dooOpe.port_a2.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_a2.m_flow",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001142, allocations: 103.7 kB / 16.42 MB, free: 6.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 190 kB / 17.36 MB, free: 5.723 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.183/1.183, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.023/2.023, allocations: 390.2 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.895e-05/1.896e-05, allocations: 2.281 kB / 0.9514 GB, free: 7.715 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneOpenDoor): time 0.5972/0.5972, allocations: 166.9 MB / 1.114 GB, free: 8.492 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01037/0.6076, allocations: 8.497 MB / 1.123 GB, free: 8.367 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001408/0.609, allocations: 39.14 kB / 1.123 GB, free: 8.367 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001426/0.6105, allocations: 0.5656 MB / 1.123 GB, free: 8.355 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003588/0.6141, allocations: 1.565 MB / 1.125 GB, free: 8.301 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002469/0.6166, allocations: 1.01 MB / 1.126 GB, free: 8.277 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00406/0.6207, allocations: 3.304 MB / 1.129 GB, free: 8.258 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001309/0.622, allocations: 1.08 MB / 1.13 GB, free: 8.156 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002454/0.6244, allocations: 1.329 MB / 1.131 GB, free: 8.145 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001106/0.6256, allocations: 1.065 MB / 1.132 GB, free: 8.043 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001456/0.6257, allocations: 109.6 kB / 1.133 GB, free: 8.043 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002052/0.6278, allocations: 1.109 MB / 1.134 GB, free: 8.023 MB / 0.8575 GB Notification: Performance of combineBinaries: time 0.001274/0.6291, allocations: 2.122 MB / 1.136 GB, free: 7.043 MB / 0.8575 GB Notification: Performance of replaceArrayConstructors: time 0.0006014/0.6297, allocations: 1.314 MB / 1.137 GB, free: 6.266 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002468/0.6299, allocations: 213.1 kB / 1.137 GB, free: 6.227 MB / 0.8575 GB Notification: Performance of FrontEnd: time 0.000206/0.6301, allocations: 31.84 kB / 1.137 GB, free: 6.223 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 385 (209) * Number of variables: 385 (199) Notification: Performance of Bindings: time 0.004061/0.6342, allocations: 5.825 MB / 1.143 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of FunctionAlias: time 0.0005101/0.6347, allocations: 0.6056 MB / 1.144 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of Early Inline: time 0.002338/0.6371, allocations: 3.221 MB / 1.147 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of simplify1: time 0.0001417/0.6372, allocations: 188.8 kB / 1.147 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of Alias: time 0.004137/0.6414, allocations: 4.428 MB / 1.151 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of simplify2: time 0.0001383/0.6415, allocations: 154.9 kB / 1.151 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of Detect States: time 0.0007407/0.6423, allocations: 0.7769 MB / 1.152 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of Events: time 0.0003134/0.6426, allocations: 280.8 kB / 1.152 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of Partitioning: time 0.001076/0.6437, allocations: 0.9818 MB / 1.153 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of Causalize: time 0.006292/0.65, allocations: 7.137 MB / 1.16 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of After Index Reduction Inline: time 0.001784/0.6518, allocations: 2.154 MB / 1.162 GB, free: 9.41 MB / 0.8731 GB Notification: Performance of Inline: time 0.003822/0.6556, allocations: 4.478 MB / 1.167 GB, free: 6.828 MB / 0.8731 GB Notification: Performance of Partitioning: time 0.000193/0.6558, allocations: 188.5 kB / 1.167 GB, free: 6.711 MB / 0.8731 GB Notification: Performance of Cleanup: time 0.0001408/0.6559, allocations: 170.4 kB / 1.167 GB, free: 6.613 MB / 0.8731 GB Notification: Performance of Causalize: time 0.007835/0.6638, allocations: 9.13 MB / 1.176 GB, free: 3.18 MB / 0.8731 GB Notification: Performance of Tearing: time 1.742e-05/0.6638, allocations: 0 / 1.176 GB, free: 3.18 MB / 0.8731 GB Notification: Performance of Initialization: time 4.61e-07/0.6638, allocations: 0 / 1.176 GB, free: 3.18 MB / 0.8731 GB Notification: Performance of Tearing: time 1.131e-05/0.6638, allocations: 3.938 kB / 1.176 GB, free: 3.176 MB / 0.8731 GB Notification: Performance of Categorize: time 2.212e-05/0.6639, allocations: 9.594 kB / 1.176 GB, free: 3.172 MB / 0.8731 GB Notification: Performance of Solve: time 0.001528/0.6654, allocations: 1.548 MB / 1.178 GB, free: 2.184 MB / 0.8731 GB Notification: Performance of Jacobian: time 0.003345/0.6687, allocations: 3.993 MB / 1.181 GB, free: 0.7656 MB / 0.8731 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 6 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 8 (8) {dooOpe.mExcAB, dooOpe.mExcBA, volA.dynBal.U, volA.dynBal.m, volB.dynBal.U, volB.dynBal.m, dooOpeClo.mExcAB, dooOpeClo.mExcBA} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 9 (9) {$SEV_5, $SEV_4[$i1], $SEV_3, $SEV_2, $SEV_1[$i1], $SEV_0, $TEV_2, $TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 141 (scalar:137, array:4, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 24 (generic: 24, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 0, nonlinear:2) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 189 (scalar:183, array:6, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 28 (generic: 28, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 7.805e-05/0.6688, allocations: 64.14 kB / 1.181 GB, free: 0.7109 MB / 0.8731 GB Notification: Performance of SimCode: time 0.007605/0.6764, allocations: 9.353 MB / 1.191 GB, free: 12.47 MB / 0.8887 GB Notification: Performance of Templates: time 0.02061/0.6971, allocations: 15.27 MB / 1.206 GB, free: 14.27 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.makefile make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_9_Buildings_Airflow_Multizone_Examples_OneOpenDoor -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.o Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.c Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.c:569:59: error: use of undeclared identifier 'i' tmp20 = modelica_integer_to_modelica_string(i, ((modelica_integer) 0), 1 /* true */); ^ Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.c:572:132: error: use of undeclared identifier 'i' tmp24 = modelica_real_to_modelica_string((&data->localData[0]->realVars[191] /* volB.dynBal.medium.X[1] variable */)[i - 1], ((modelica_integer) 6), ((modelica_integer) 0), 1 /* true */); ^ Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.c:575:22: error: use of undeclared identifier 'i' switch(i) ^ Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.c:583:113: error: use of undeclared identifier 'i' throwStreamPrint(threadData, "Index %ld out of bounds [1..1] for array {\"SimpleAir\"}", (long) i); ^ Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.c:790:59: error: use of undeclared identifier 'i' tmp79 = modelica_integer_to_modelica_string(i, ((modelica_integer) 0), 1 /* true */); ^ Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.c:793:132: error: use of undeclared identifier 'i' tmp83 = modelica_real_to_modelica_string((&data->localData[0]->realVars[153] /* volA.dynBal.medium.X[1] variable */)[i - 1], ((modelica_integer) 6), ((modelica_integer) 0), 1 /* true */); ^ Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.c:796:22: error: use of undeclared identifier 'i' switch(i) ^ Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.c:804:113: error: use of undeclared identifier 'i' throwStreamPrint(threadData, "Index %ld out of bounds [1..1] for array {\"SimpleAir\"}", (long) i); ^ 8 errors generated. make: *** [: Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.o] Error 1