Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Airflow.Multizone.Examples.ClosedDoors.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.ClosedDoors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.Examples.ClosedDoors") translateModel(Buildings.Airflow.Multizone.Examples.ClosedDoors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.Examples.ClosedDoors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 109 kB / 16.42 MB, free: 6.504 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.001146/0.001146, allocations: 191.7 kB / 17.36 MB, free: 5.727 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.345/1.345, 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.4424/0.4424, allocations: 95.48 MB / 366.1 MB, free: 12.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.671e-05/1.672e-05, allocations: 6.219 kB / 0.5042 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.4599/0.4599, allocations: 181.8 MB / 0.6817 GB, free: 8.891 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01294/0.4729, allocations: 8.967 MB / 0.6905 GB, free: 15.9 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001761/0.4747, allocations: 47.75 kB / 0.6905 GB, free: 15.86 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001896/0.4766, allocations: 0.7531 MB / 0.6913 GB, free: 15.1 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004617/0.4812, allocations: 1.959 MB / 0.6932 GB, free: 13.13 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00287/0.4841, allocations: 1.213 MB / 0.6944 GB, free: 11.93 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004637/0.4888, allocations: 4.143 MB / 0.6984 GB, free: 7.773 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001658/0.4904, allocations: 1.429 MB / 0.6998 GB, free: 6.312 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003564/0.494, allocations: 1.789 MB / 0.7016 GB, free: 4.527 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001825/0.4958, allocations: 1.464 MB / 0.703 GB, free: 3.059 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002248/0.4961, allocations: 152 kB / 0.7031 GB, free: 2.91 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003155/0.4992, allocations: 1.439 MB / 0.7045 GB, free: 1.469 MB / 0.545 GB Notification: Performance of combineBinaries: time 0.002137/0.5014, allocations: 2.847 MB / 0.7073 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 0.001062/0.5025, allocations: 1.753 MB / 0.709 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000425/0.5029, allocations: 287.2 kB / 0.7093 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of FrontEnd: time 0.0002596/0.5032, allocations: 35.88 kB / 0.7093 GB, free: 12.5 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 517 (280) * Number of variables: 517 (265) Notification: Performance of Bindings: time 0.00649/0.5097, allocations: 7.936 MB / 0.7171 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of FunctionAlias: time 0.0008572/0.5105, allocations: 0.9483 MB / 0.718 GB, free: 3.324 MB / 0.5606 GB Notification: Performance of Early Inline: time 0.003882/0.5144, allocations: 4.27 MB / 0.7222 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of simplify1: time 0.0003085/0.5147, allocations: 271.7 kB / 0.7225 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of Alias: time 0.005117/0.5199, allocations: 4.605 MB / 0.7269 GB, free: 9.734 MB / 0.5762 GB Notification: Performance of simplify2: time 0.0002308/0.5201, allocations: 239.7 kB / 0.7272 GB, free: 9.5 MB / 0.5762 GB Notification: Performance of Events: time 0.0007482/0.5209, allocations: 0.6713 MB / 0.7278 GB, free: 8.816 MB / 0.5762 GB Notification: Performance of Detect States: time 0.0009607/0.5218, allocations: 1.046 MB / 0.7289 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of Partitioning: time 0.001487/0.5233, allocations: 1.477 MB / 0.7303 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of Causalize: time 0.3477/0.871, allocations: 13.65 MB / 0.7436 GB, free: 29.4 MB / 0.5762 GB Notification: Performance of After Index Reduction Inline: time 0.003751/0.8748, allocations: 3.206 MB / 0.7468 GB, free: 29.24 MB / 0.5762 GB Notification: Performance of Inline: time 0.007419/0.8822, allocations: 6.666 MB / 0.7533 GB, free: 28.79 MB / 0.5762 GB Notification: Performance of Partitioning: time 0.0003659/0.8826, allocations: 291.9 kB / 0.7535 GB, free: 28.7 MB / 0.5762 GB Notification: Performance of Cleanup: time 0.0002713/0.8829, allocations: 258.4 kB / 0.7538 GB, free: 28.7 MB / 0.5762 GB Notification: Performance of Causalize: time 0.01236/0.8953, allocations: 16.05 MB / 0.7695 GB, free: 26.55 MB / 0.5762 GB Notification: Performance of Tearing: time 1.382e-05/0.8953, allocations: 0 / 0.7695 GB, free: 26.55 MB / 0.5762 GB Notification: Performance of Initialization: time 1.302e-06/0.8953, allocations: 3.219 kB / 0.7695 GB, free: 26.55 MB / 0.5762 GB Notification: Performance of Tearing: time 4.138e-05/0.8954, allocations: 2.406 kB / 0.7695 GB, free: 26.55 MB / 0.5762 GB Notification: Performance of Categorize: time 5.792e-05/0.8954, allocations: 12.64 kB / 0.7695 GB, free: 26.55 MB / 0.5762 GB Notification: Performance of Solve: time 0.002468/0.8979, allocations: 2.126 MB / 0.7716 GB, free: 25.54 MB / 0.5762 GB Notification: Performance of Jacobian: time 0.004847/0.9028, allocations: 5.617 MB / 0.777 GB, free: 24.62 MB / 0.5762 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: ......... 15 * 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: ............................. 12 (12) {dooAB.mExcAB, dooAB.mExcBA, volA.dynBal.U, volA.dynBal.m, volB.dynBal.U, volB.dynBal.m, volC.dynBal.U, volC.dynBal.m, dooAC.mExcAB, dooAC.mExcBA, dooBC.mExcAB, dooBC.mExcBA} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 28 (28) {$SEV_26, $SEV_25, $SEV_24, $SEV_23[$i1], $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, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 214 (scalar:208, array:6, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 33 (generic: 33, entwined:0) * Number of algebraic-loop strong components: ... 3 (linear: 0, nonlinear:3) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 299 (scalar:290, array:9, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 33 (generic: 33, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0001373/0.9029, allocations: 101.4 kB / 0.7771 GB, free: 24.6 MB / 0.5762 GB Notification: Performance of SimCode: time 0.009955/0.9129, allocations: 11.94 MB / 0.7888 GB, free: 21.17 MB / 0.5762 GB Notification: Performance of Templates: time 0.02942/0.9423, allocations: 21.11 MB / 0.8094 GB, free: 10.49 MB / 0.5762 GB make -j1 -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.ClosedDoors.makefile make -j1 -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.ClosedDoors.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_ClosedDoors -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_1.6_Buildings.Airflow.Multizone.Examples.ClosedDoors.o Buildings_1.6_Buildings.Airflow.Multizone.Examples.ClosedDoors.c Buildings_1.6_Buildings.Airflow.Multizone.Examples.ClosedDoors.c:701:59: error: use of undeclared identifier 'i' tmp48 = modelica_integer_to_modelica_string(i, ((modelica_integer) 0), 1 /* true */); ^ Buildings_1.6_Buildings.Airflow.Multizone.Examples.ClosedDoors.c:704:132: error: use of undeclared identifier 'i' tmp52 = modelica_real_to_modelica_string((&data->localData[0]->realVars[232] /* volC.dynBal.medium.X[1] variable */)[i - 1], ((modelica_integer) 6), ((modelica_integer) 0), 1 /* true */); ^ Buildings_1.6_Buildings.Airflow.Multizone.Examples.ClosedDoors.c:707:22: error: use of undeclared identifier 'i' switch(i) ^ Buildings_1.6_Buildings.Airflow.Multizone.Examples.ClosedDoors.c:715: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.ClosedDoors.c:922:60: error: use of undeclared identifier 'i' tmp107 = modelica_integer_to_modelica_string(i, ((modelica_integer) 0), 1 /* true */); ^ Buildings_1.6_Buildings.Airflow.Multizone.Examples.ClosedDoors.c:925:133: error: use of undeclared identifier 'i' tmp111 = modelica_real_to_modelica_string((&data->localData[0]->realVars[192] /* volB.dynBal.medium.X[1] variable */)[i - 1], ((modelica_integer) 6), ((modelica_integer) 0), 1 /* true */); ^ Buildings_1.6_Buildings.Airflow.Multizone.Examples.ClosedDoors.c:928:22: error: use of undeclared identifier 'i' switch(i) ^ Buildings_1.6_Buildings.Airflow.Multizone.Examples.ClosedDoors.c:936: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.ClosedDoors.c:1143:60: error: use of undeclared identifier 'i' tmp166 = modelica_integer_to_modelica_string(i, ((modelica_integer) 0), 1 /* true */); ^ Buildings_1.6_Buildings.Airflow.Multizone.Examples.ClosedDoors.c:1146:133: error: use of undeclared identifier 'i' tmp170 = modelica_real_to_modelica_string((&data->localData[0]->realVars[154] /* volA.dynBal.medium.X[1] variable */)[i - 1], ((modelica_integer) 6), ((modelica_integer) 0), 1 /* true */); ^ Buildings_1.6_Buildings.Airflow.Multizone.Examples.ClosedDoors.c:1149:22: error: use of undeclared identifier 'i' switch(i) ^ Buildings_1.6_Buildings.Airflow.Multizone.Examples.ClosedDoors.c:1157:113: error: use of undeclared identifier 'i' throwStreamPrint(threadData, "Index %ld out of bounds [1..1] for array {\"SimpleAir\"}", (long) i); ^ 12 errors generated. make: *** [: Buildings_1.6_Buildings.Airflow.Multizone.Examples.ClosedDoors.o] Error 1