Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001766/0.001766, allocations: 116.4 kB / 16.43 MB, free: 6.484 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.001772/0.001772, allocations: 183.2 kB / 17.36 MB, free: 5.703 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.129/1.129, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.191/2.191, allocations: 469.8 MB / 0.7431 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.055e-05/1.057e-05, allocations: 2.281 kB / 1.066 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneOpenDoor): time 0.5272/0.5272, allocations: 166.9 MB / 1.229 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.009974/0.5372, allocations: 8.503 MB / 1.237 GB, free: 8.316 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007222/0.538, allocations: 39.81 kB / 1.237 GB, free: 8.277 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.00115/0.5391, allocations: 0.5784 MB / 1.238 GB, free: 7.695 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002598/0.5418, allocations: 1.57 MB / 1.239 GB, free: 6.117 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001815/0.5436, allocations: 1 MB / 1.24 GB, free: 5.121 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002787/0.5464, allocations: 3.301 MB / 1.243 GB, free: 1.816 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008681/0.5473, allocations: 0.8594 MB / 1.244 GB, free: 0.9414 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001901/0.5492, allocations: 1.315 MB / 1.246 GB, free: 15.63 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001082/0.5503, allocations: 1.07 MB / 1.247 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001461/0.5504, allocations: 112 kB / 1.247 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001798/0.5522, allocations: 1.107 MB / 1.248 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of combineBinaries: time 0.001384/0.5536, allocations: 2.128 MB / 1.25 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of replaceArrayConstructors: time 0.0007179/0.5544, allocations: 1.311 MB / 1.251 GB, free: 9.863 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001915/0.5546, allocations: 215.4 kB / 1.251 GB, free: 9.652 MB / 0.9669 GB Notification: Performance of FrontEnd: time 0.0001594/0.5547, allocations: 31.88 kB / 1.251 GB, free: 9.621 MB / 0.9669 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.00357/0.5583, allocations: 4.531 MB / 1.256 GB, free: 4.91 MB / 0.9669 GB Notification: Performance of FunctionAlias: time 0.0004703/0.5588, allocations: 471.1 kB / 1.256 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of Early Inline: time 0.002166/0.5609, allocations: 2.45 MB / 1.259 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of simplify1: time 0.0003435/0.5613, allocations: 319.5 kB / 1.259 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of Alias: time 0.003144/0.5644, allocations: 2.903 MB / 1.262 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of simplify2: time 0.0002757/0.5647, allocations: 268.6 kB / 1.262 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of Detect States: time 0.0004747/0.5652, allocations: 0.5001 MB / 1.263 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of Events: time 0.0002916/0.5655, allocations: 280.8 kB / 1.263 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of Partitioning: time 0.000652/0.5662, allocations: 0.6315 MB / 1.263 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of Causalize: time 0.005658/0.5718, allocations: 5.75 MB / 1.269 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of After Index Reduction Inline: time 0.00143/0.5733, allocations: 1.565 MB / 1.271 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of Inline: time 0.003391/0.5767, allocations: 3.444 MB / 1.274 GB, free: 1.688 MB / 0.9825 GB Notification: Performance of Partitioning: time 0.0001196/0.5768, allocations: 63.67 kB / 1.274 GB, free: 1.613 MB / 0.9825 GB Notification: Performance of Cleanup: time 0.000413/0.5772, allocations: 0.5697 MB / 1.275 GB, free: 1.043 MB / 0.9825 GB Notification: Performance of Causalize: time 0.007017/0.5843, allocations: 7.051 MB / 1.281 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of Tearing: time 1.337e-05/0.5843, allocations: 7.938 kB / 1.281 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of Initialization: time 3.8e-07/0.5843, allocations: 0 / 1.281 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of Tearing: time 8.927e-06/0.5843, allocations: 4 kB / 1.281 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of Categorize: time 1.23e-05/0.5843, allocations: 4 kB / 1.281 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of Solve: time 0.001339/0.5857, allocations: 1.367 MB / 1.283 GB, free: 8.66 MB / 0.9981 GB Notification: Performance of Jacobian: time 0.002816/0.5885, allocations: 2.964 MB / 1.286 GB, free: 5.621 MB / 0.9981 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: ........... 179 (scalar:173, 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 6.094e-05/0.5886, allocations: 71.39 kB / 1.286 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of SimCode: time 0.007794/0.5964, allocations: 9.215 MB / 1.295 GB, free: 12.23 MB / 1.014 GB Notification: Performance of Templates: time 0.02013/0.6165, allocations: 15.27 MB / 1.31 GB, free: 12.97 MB / 1.029 GB make -j1 -f Buildings_11_Buildings.Airflow.Multizone.Examples.OneOpenDoor.makefile make -j1 -f Buildings_11_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_11_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_11_Buildings.Airflow.Multizone.Examples.OneOpenDoor.o Buildings_11_Buildings.Airflow.Multizone.Examples.OneOpenDoor.c Buildings_11_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_11_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_11_Buildings.Airflow.Multizone.Examples.OneOpenDoor.c:575:22: error: use of undeclared identifier 'i' switch(i) ^ Buildings_11_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_11_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_11_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_11_Buildings.Airflow.Multizone.Examples.OneOpenDoor.c:796:22: error: use of undeclared identifier 'i' switch(i) ^ Buildings_11_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_11_Buildings.Airflow.Multizone.Examples.OneOpenDoor.o] Error 1