Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 106 kB / 16.42 MB, free: 6.527 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.001135/0.001135, allocations: 190 kB / 17.36 MB, free: 5.73 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.309/1.309, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.4315/0.4315, allocations: 95.48 MB / 366.1 MB, free: 12.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.467e-05/1.467e-05, allocations: 2.281 kB / 0.5042 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.4779/0.4779, allocations: 210.9 MB / 0.7102 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02267/0.5006, allocations: 15.68 MB / 0.7255 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003618/0.5043, allocations: 63.62 kB / 0.7256 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003617/0.5079, allocations: 1.145 MB / 0.7267 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009999/0.518, allocations: 3.019 MB / 0.7296 GB, free: 7.707 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005825/0.5238, allocations: 2.11 MB / 0.7317 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.3587/0.8825, allocations: 5.864 MB / 0.7374 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003749/0.8863, allocations: 1.945 MB / 0.7393 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005796/0.8921, allocations: 2.302 MB / 0.7416 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004267/0.8964, allocations: 2.137 MB / 0.7436 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004837/0.8969, allocations: 199.1 kB / 0.7438 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005937/0.9028, allocations: 2.255 MB / 0.746 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.003312/0.9061, allocations: 3.769 MB / 0.7497 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of replaceArrayConstructors: time 0.001598/0.9077, allocations: 2.317 MB / 0.752 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009486/0.9087, allocations: 389.4 kB / 0.7523 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of FrontEnd: time 0.0004564/0.9092, allocations: 47.22 kB / 0.7524 GB, free: 3.02 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 468 (357) * Number of variables: 468 (349) Notification: Performance of Bindings: time 0.009598/0.9188, allocations: 10.03 MB / 0.7622 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of FunctionAlias: time 0.001043/0.9198, allocations: 1.166 MB / 0.7633 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of Early Inline: time 0.004441/0.9243, allocations: 5.145 MB / 0.7684 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of simplify1: time 0.000342/0.9246, allocations: 350 kB / 0.7687 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of Alias: time 0.007739/0.9324, allocations: 6.892 MB / 0.7754 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of simplify2: time 0.0003549/0.9327, allocations: 284.8 kB / 0.7757 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of Events: time 0.0008639/0.9336, allocations: 0.8292 MB / 0.7765 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of Detect States: time 0.001238/0.9349, allocations: 1.316 MB / 0.7778 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of Partitioning: time 0.001926/0.9368, allocations: 1.66 MB / 0.7794 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of Causalize: time 0.0128/0.9496, allocations: 12.52 MB / 0.7916 GB, free: 9.789 MB / 0.5919 GB Notification: Performance of After Index Reduction Inline: time 0.003114/0.9527, allocations: 3.41 MB / 0.795 GB, free: 9.5 MB / 0.5919 GB Notification: Performance of Inline: time 0.007649/0.9604, allocations: 7.6 MB / 0.8024 GB, free: 8.711 MB / 0.5919 GB Notification: Performance of Partitioning: time 0.0004565/0.9609, allocations: 353.8 kB / 0.8027 GB, free: 8.617 MB / 0.5919 GB Notification: Performance of Cleanup: time 0.000366/0.9612, allocations: 269.3 kB / 0.803 GB, free: 8.586 MB / 0.5919 GB Notification: Performance of Causalize: time 0.01394/0.9752, allocations: 16.35 MB / 0.8189 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of Tearing: time 1.762e-05/0.9753, allocations: 11.94 kB / 0.819 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of Initialization: time 1.162e-06/0.9753, allocations: 0 / 0.819 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of Tearing: time 3.251e-05/0.9753, allocations: 0 / 0.819 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of Categorize: time 5.674e-05/0.9754, allocations: 11.94 kB / 0.819 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of Solve: time 0.003429/0.9788, allocations: 2.614 MB / 0.8215 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of Jacobian: time 0.00489/0.9837, allocations: 4.107 MB / 0.8255 GB, free: 8.953 MB / 0.6075 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 4 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 14 * 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: ............................. 14 (14) {volEas.dynBal.U, volEas.dynBal.m, oriOutBot.mExc, oriOutTop.mExc, volOut.dynBal.U, volOut.dynBal.m, oriWesTop.mExc, dooOpeClo.mExcAB, dooOpeClo.mExcBA, oriEasTop.mExc, volTop.dynBal.U, volTop.dynBal.m, volWes.dynBal.U, volWes.dynBal.m} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 32 (32) {$SEV_31, $SEV_30, $SEV_29, $SEV_28, $SEV_27, $SEV_26, $SEV_25, $SEV_24[$i1], $SEV_23, $SEV_22, $SEV_21, $SEV_20, $SEV_19, $SEV_18, $SEV_17, $SEV_16[$i1], $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9[$i1], $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4[$i1], $SEV_3, $SEV_2, $SEV_1, $SEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 241 (scalar:233, array:8, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:4) * Number of for-loop strong components: ......... 20 (generic: 20, entwined:0) * Number of algebraic-loop strong components: ... 4 (linear: 0, nonlinear:4) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 368 (scalar:356, array:12, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:4) * Number of for-loop strong components: ......... 20 (generic: 20, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0001759/0.9839, allocations: 118 kB / 0.8256 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of SimCode: time 0.01496/0.9989, allocations: 11.67 MB / 0.837 GB, free: 0 / 0.6075 GB Notification: Performance of Templates: time 0.04158/1.04, allocations: 26.88 MB / 0.8633 GB, free: 6.297 MB / 0.6387 GB make -j1 -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile make -j1 -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.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_1_6_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.o Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.c Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.c:569:59: error: use of undeclared identifier 'i' tmp20 = modelica_integer_to_modelica_string(i, ((modelica_integer) 0), 1 /* true */); ^ Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.c:572:134: error: use of undeclared identifier 'i' tmp24 = modelica_real_to_modelica_string((&data->localData[0]->realVars[337] /* volWes.dynBal.medium.X[1] variable */)[i - 1], ((modelica_integer) 6), ((modelica_integer) 0), 1 /* true */); ^ Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.c:575:22: error: use of undeclared identifier 'i' switch(i) ^ Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.c:583:113: error: use of undeclared identifier 'i' throwStreamPrint(threadData, "Index %ld out of bounds [1..1] for array {\"SimpleAir\"}", (long) i); ^ Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.c:790:59: error: use of undeclared identifier 'i' tmp79 = modelica_integer_to_modelica_string(i, ((modelica_integer) 0), 1 /* true */); ^ Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.c:793:134: error: use of undeclared identifier 'i' tmp83 = modelica_real_to_modelica_string((&data->localData[0]->realVars[307] /* volTop.dynBal.medium.X[1] variable */)[i - 1], ((modelica_integer) 6), ((modelica_integer) 0), 1 /* true */); ^ Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.c:796:22: error: use of undeclared identifier 'i' switch(i) ^ Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.c:804:113: error: use of undeclared identifier 'i' throwStreamPrint(threadData, "Index %ld out of bounds [1..1] for array {\"SimpleAir\"}", (long) i); ^ Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.c:1101:60: error: use of undeclared identifier 'i' tmp152 = modelica_integer_to_modelica_string(i, ((modelica_integer) 0), 1 /* true */); ^ Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.c:1104:135: error: use of undeclared identifier 'i' tmp156 = modelica_real_to_modelica_string((&data->localData[0]->realVars[118] /* volOut.dynBal.medium.X[1] variable */)[i - 1], ((modelica_integer) 6), ((modelica_integer) 0), 1 /* true */); ^ Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.c:1107:22: error: use of undeclared identifier 'i' switch(i) ^ Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.c:1115:113: error: use of undeclared identifier 'i' throwStreamPrint(threadData, "Index %ld out of bounds [1..1] for array {\"SimpleAir\"}", (long) i); ^ Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.c:1322:60: error: use of undeclared identifier 'i' tmp211 = modelica_integer_to_modelica_string(i, ((modelica_integer) 0), 1 /* true */); ^ Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.c:1325:134: error: use of undeclared identifier 'i' tmp215 = modelica_real_to_modelica_string((&data->localData[0]->realVars[60] /* volEas.dynBal.medium.X[1] variable */)[i - 1], ((modelica_integer) 6), ((modelica_integer) 0), 1 /* true */); ^ Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.c:1328:22: error: use of undeclared identifier 'i' switch(i) ^ Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.c:1336:113: error: use of undeclared identifier 'i' throwStreamPrint(threadData, "Index %ld out of bounds [1..1] for array {\"SimpleAir\"}", (long) i); ^ 16 errors generated. make: *** [: Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.o] Error 1