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.001168/0.001168, allocations: 115.7 kB / 16.43 MB, free: 6.523 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.001282/0.001282, allocations: 183.2 kB / 17.35 MB, free: 5.746 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.421/1.421, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002022/0.002022, allocations: 280.5 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9513/0.9513, allocations: 169.2 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.061e-05/3.062e-05, allocations: 4.672 kB / 0.682 GB, free: 7.074 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor): time 0.5743/0.5744, allocations: 166.9 MB / 0.845 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01338/0.5878, allocations: 8.483 MB / 0.8533 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001844/0.5897, allocations: 39.81 kB / 0.8533 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001654/0.5914, allocations: 0.5745 MB / 0.8539 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004142/0.5955, allocations: 1.567 MB / 0.8554 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002703/0.5982, allocations: 1.002 MB / 0.8564 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004134/0.6024, allocations: 3.305 MB / 0.8596 GB, free: 8.137 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001327/0.6037, allocations: 1.078 MB / 0.8607 GB, free: 7.039 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00277/0.6065, allocations: 1.314 MB / 0.862 GB, free: 5.727 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001239/0.6077, allocations: 1.074 MB / 0.863 GB, free: 4.648 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001679/0.6079, allocations: 112 kB / 0.8631 GB, free: 4.539 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002403/0.6103, allocations: 1.111 MB / 0.8642 GB, free: 3.426 MB / 0.6231 GB Notification: Performance of combineBinaries: time 0.001623/0.612, allocations: 2.112 MB / 0.8663 GB, free: 1.293 MB / 0.6231 GB Notification: Performance of replaceArrayConstructors: time 0.0008628/0.6128, allocations: 1.321 MB / 0.8676 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0002812/0.6131, allocations: 207.4 kB / 0.8678 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of FrontEnd: time 0.000269/0.6134, allocations: 35.81 kB / 0.8678 GB, free: 15.71 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.005101/0.6185, allocations: 5.825 MB / 0.8735 GB, free: 9.719 MB / 0.6387 GB Notification: Performance of FunctionAlias: time 0.0006792/0.6192, allocations: 0.6119 MB / 0.8741 GB, free: 9.141 MB / 0.6387 GB Notification: Performance of Early Inline: time 0.003008/0.6222, allocations: 3.23 MB / 0.8772 GB, free: 5.855 MB / 0.6387 GB Notification: Performance of simplify1: time 0.0002086/0.6224, allocations: 183.8 kB / 0.8774 GB, free: 5.676 MB / 0.6387 GB Notification: Performance of Alias: time 0.005419/0.6279, allocations: 4.406 MB / 0.8817 GB, free: 0.8984 MB / 0.6387 GB Notification: Performance of simplify2: time 0.0001759/0.6281, allocations: 155.8 kB / 0.8819 GB, free: 0.7461 MB / 0.6387 GB Notification: Performance of Detect States: time 0.0008684/0.6289, allocations: 0.7797 MB / 0.8826 GB, free: 15.94 MB / 0.6544 GB Notification: Performance of Events: time 0.0003974/0.6293, allocations: 300.8 kB / 0.8829 GB, free: 15.65 MB / 0.6544 GB Notification: Performance of Partitioning: time 0.001068/0.6304, allocations: 0.9828 MB / 0.8839 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of Causalize: time 0.007813/0.6382, allocations: 7.151 MB / 0.8909 GB, free: 7.438 MB / 0.6544 GB Notification: Performance of After Index Reduction Inline: time 0.002338/0.6406, allocations: 2.152 MB / 0.893 GB, free: 5.246 MB / 0.6544 GB Notification: Performance of Inline: time 0.005204/0.6458, allocations: 4.415 MB / 0.8973 GB, free: 0.7734 MB / 0.6544 GB Notification: Performance of Partitioning: time 0.0003377/0.6462, allocations: 187.6 kB / 0.8974 GB, free: 0.5742 MB / 0.6544 GB Notification: Performance of Cleanup: time 0.0003285/0.6465, allocations: 171.8 kB / 0.8976 GB, free: 416 kB / 0.6544 GB Notification: Performance of Causalize: time 0.01193/0.6585, allocations: 8.936 MB / 0.9063 GB, free: 7.633 MB / 0.67 GB Notification: Performance of Tearing: time 2.511e-05/0.6585, allocations: 0 / 0.9063 GB, free: 7.633 MB / 0.67 GB Notification: Performance of Initialization: time 1.253e-06/0.6585, allocations: 0 / 0.9063 GB, free: 7.633 MB / 0.67 GB Notification: Performance of Tearing: time 2.793e-05/0.6586, allocations: 7.938 kB / 0.9063 GB, free: 7.625 MB / 0.67 GB Notification: Performance of Categorize: time 3.853e-05/0.6586, allocations: 4 kB / 0.9063 GB, free: 7.621 MB / 0.67 GB Notification: Performance of Solve: time 0.002199/0.6608, allocations: 1.527 MB / 0.9078 GB, free: 5.988 MB / 0.67 GB Notification: Performance of Jacobian: time 0.004332/0.6652, allocations: 4.003 MB / 0.9117 GB, free: 1.91 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: ........... 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 0.0001144/0.6653, allocations: 71.03 kB / 0.9118 GB, free: 1.848 MB / 0.67 GB Notification: Performance of SimCode: time 0.01028/0.6756, allocations: 9.393 MB / 0.921 GB, free: 8.355 MB / 0.6856 GB Notification: Performance of Templates: time 0.02507/0.7007, allocations: 15.08 MB / 0.9357 GB, free: 9.297 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