Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor") translateModel(BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001082/0.001082, allocations: 109.1 kB / 16.42 MB, free: 5.98 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.001089/0.001089, allocations: 193 kB / 17.36 MB, free: 5.578 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.153/1.153, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001912/0.001912, allocations: 302.1 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8251/0.8251, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.14e-05/1.139e-05, allocations: 4.953 kB / 0.682 GB, free: 7.055 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor): time 0.3658/0.3658, allocations: 166.9 MB / 0.845 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01028/0.3761, allocations: 8.493 MB / 0.8533 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001009/0.3772, allocations: 39.75 kB / 0.8533 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001284/0.3785, allocations: 0.5745 MB / 0.8539 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003054/0.3816, allocations: 1.527 MB / 0.8554 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001991/0.3836, allocations: 1.002 MB / 0.8564 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003275/0.3869, allocations: 3.297 MB / 0.8596 GB, free: 8.145 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00125/0.3881, allocations: 1.078 MB / 0.8606 GB, free: 7.047 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002295/0.3904, allocations: 1.317 MB / 0.8619 GB, free: 5.73 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001354/0.3918, allocations: 1.074 MB / 0.863 GB, free: 4.652 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002034/0.392, allocations: 108 kB / 0.8631 GB, free: 4.547 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001917/0.3939, allocations: 1.104 MB / 0.8642 GB, free: 3.441 MB / 0.6231 GB Notification: Performance of combineBinaries: time 0.001432/0.3954, allocations: 2.12 MB / 0.8662 GB, free: 1.301 MB / 0.6231 GB Notification: Performance of replaceArrayConstructors: time 0.0007129/0.3961, allocations: 1.325 MB / 0.8675 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0002082/0.3963, allocations: 211.4 kB / 0.8677 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of FrontEnd: time 0.000147/0.3965, allocations: 31.88 kB / 0.8678 GB, free: 15.72 MB / 0.6387 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.004452/0.4009, allocations: 5.824 MB / 0.8734 GB, free: 9.727 MB / 0.6387 GB Notification: Performance of FunctionAlias: time 0.0005607/0.4015, allocations: 0.6056 MB / 0.874 GB, free: 9.148 MB / 0.6387 GB Notification: Performance of Early Inline: time 0.002713/0.4042, allocations: 3.228 MB / 0.8772 GB, free: 5.863 MB / 0.6387 GB Notification: Performance of simplify1: time 0.0001484/0.4044, allocations: 187.8 kB / 0.8774 GB, free: 5.68 MB / 0.6387 GB Notification: Performance of Alias: time 0.004223/0.4086, allocations: 4.417 MB / 0.8817 GB, free: 0.8945 MB / 0.6387 GB Notification: Performance of simplify2: time 0.0001317/0.4087, allocations: 155.8 kB / 0.8818 GB, free: 0.7422 MB / 0.6387 GB Notification: Performance of Events: time 0.0003625/0.4091, allocations: 404.6 kB / 0.8822 GB, free: 352 kB / 0.6387 GB Notification: Performance of Detect States: time 0.0006084/0.4097, allocations: 0.6917 MB / 0.8829 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of Partitioning: time 0.0009097/0.4106, allocations: 0.9751 MB / 0.8838 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of Causalize: time 0.006511/0.4172, allocations: 7.139 MB / 0.8908 GB, free: 7.438 MB / 0.6544 GB Notification: Performance of After Index Reduction Inline: time 0.001852/0.419, allocations: 2.164 MB / 0.8929 GB, free: 5.234 MB / 0.6544 GB Notification: Performance of Inline: time 0.003958/0.423, allocations: 4.475 MB / 0.8973 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of Partitioning: time 0.000193/0.4232, allocations: 187.6 kB / 0.8975 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of Cleanup: time 0.0001347/0.4233, allocations: 175.8 kB / 0.8976 GB, free: 336 kB / 0.6544 GB Notification: Performance of Causalize: time 0.008446/0.4318, allocations: 9.127 MB / 0.9066 GB, free: 7.375 MB / 0.67 GB Notification: Performance of Tearing: time 7.073e-06/0.4318, allocations: 0 / 0.9066 GB, free: 7.375 MB / 0.67 GB Notification: Performance of Initialization: time 4.51e-07/0.4318, allocations: 0 / 0.9066 GB, free: 7.375 MB / 0.67 GB Notification: Performance of Tearing: time 6.032e-06/0.4318, allocations: 4 kB / 0.9066 GB, free: 7.371 MB / 0.67 GB Notification: Performance of Categorize: time 1.553e-05/0.4318, allocations: 4 kB / 0.9066 GB, free: 7.367 MB / 0.67 GB Notification: Performance of Solve: time 0.001465/0.4333, allocations: 1.428 MB / 0.908 GB, free: 5.836 MB / 0.67 GB Notification: Performance of Jacobian: time 0.003581/0.4369, allocations: 3.975 MB / 0.9118 GB, free: 1.785 MB / 0.67 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.541e-05/0.437, allocations: 75.48 kB / 0.9119 GB, free: 1.723 MB / 0.67 GB Notification: Performance of SimCode: time 0.007432/0.4444, allocations: 9.321 MB / 0.921 GB, free: 8.297 MB / 0.6856 GB Notification: Performance of Templates: time 0.0212/0.4656, allocations: 15.22 MB / 0.9359 GB, free: 9.094 MB / 0.7012 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.makefile make -j1 -f BuildingSystems_BuildingSystems.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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.o BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.c BuildingSystems_BuildingSystems.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 */); ^ BuildingSystems_BuildingSystems.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 */); ^ BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.c:575:22: error: use of undeclared identifier 'i' switch(i) ^ BuildingSystems_BuildingSystems.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); ^ BuildingSystems_BuildingSystems.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 */); ^ BuildingSystems_BuildingSystems.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 */); ^ BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.c:796:22: error: use of undeclared identifier 'i' switch(i) ^ BuildingSystems_BuildingSystems.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: *** [: BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.o] Error 1