Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Airflow.Multizone.Examples.OneOpenDoor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Examples.OneOpenDoor") translateModel(IBPSA.Airflow.Multizone.Examples.OneOpenDoor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001414/0.001413, allocations: 118 kB / 17.1 MB, free: 5.992 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.001331/0.001332, allocations: 194.1 kB / 18.03 MB, free: 5.07 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.557/1.557, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8802/0.8802, allocations: 115.3 MB / 407.2 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.044e-05/4.045e-05, allocations: 6.594 kB / 0.5583 GB, free: 32.25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.OneOpenDoor): time 0.2281/0.2282, allocations: 166.9 MB / 0.7213 GB, free: 9.137 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01815/0.2464, allocations: 8.5 MB / 0.7296 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003279/0.2498, allocations: 35.81 kB / 0.7296 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002467/0.2522, allocations: 0.5706 MB / 0.7301 GB, free: 0 / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006755/0.259, allocations: 1.574 MB / 0.7317 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003672/0.2627, allocations: 0.9981 MB / 0.7327 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006023/0.2687, allocations: 3.309 MB / 0.7359 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001969/0.2707, allocations: 1.074 MB / 0.7369 GB, free: 9.008 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004002/0.2747, allocations: 1.314 MB / 0.7382 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002422/0.2772, allocations: 1.074 MB / 0.7393 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002376/0.2774, allocations: 112 kB / 0.7394 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003123/0.2806, allocations: 1.107 MB / 0.7405 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.001918/0.2825, allocations: 2.119 MB / 0.7425 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of replaceArrayConstructors: time 0.0009956/0.2835, allocations: 1.317 MB / 0.7438 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005061/0.284, allocations: 215.4 kB / 0.744 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of FrontEnd: time 0.0004074/0.2844, allocations: 35.81 kB / 0.7441 GB, free: 1.68 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: 385 (209) * Number of variables: 385 (199) Notification: Performance of Bindings: time 0.5834/0.8679, allocations: 5.822 MB / 0.7497 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of FunctionAlias: time 0.001255/0.8691, allocations: 0.5963 MB / 0.7503 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of Early Inline: time 0.0047/0.8739, allocations: 3.225 MB / 0.7535 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of simplify1: time 0.0003329/0.8742, allocations: 184.9 kB / 0.7537 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of Alias: time 0.007347/0.8816, allocations: 4.416 MB / 0.758 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of simplify2: time 0.0003627/0.8819, allocations: 151.7 kB / 0.7581 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of Events: time 0.0007799/0.8827, allocations: 405.7 kB / 0.7585 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of Detect States: time 0.001117/0.8839, allocations: 0.6892 MB / 0.7592 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of Partitioning: time 0.001884/0.8858, allocations: 0.9908 MB / 0.7601 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of Causalize: time 0.01146/0.8972, allocations: 7.131 MB / 0.7671 GB, free: 8.27 MB / 0.5762 GB Notification: Performance of After Index Reduction Inline: time 0.003267/0.9006, allocations: 2.151 MB / 0.7692 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of Inline: time 0.007434/0.908, allocations: 4.489 MB / 0.7736 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of Partitioning: time 0.000445/0.9085, allocations: 187.3 kB / 0.7738 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of Cleanup: time 0.0003617/0.9089, allocations: 170.2 kB / 0.7739 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of Causalize: time 0.01244/0.9213, allocations: 9.125 MB / 0.7828 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of Tearing: time 2.555e-05/0.9214, allocations: 5.094 kB / 0.7828 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of Initialization: time 2.003e-06/0.9214, allocations: 0 / 0.7828 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of Tearing: time 4.055e-05/0.9215, allocations: 1.094 kB / 0.7828 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of Categorize: time 5.325e-05/0.9215, allocations: 8.078 kB / 0.7829 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of Solve: time 0.002755/0.9243, allocations: 1.788 MB / 0.7846 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of Jacobian: time 0.005441/0.9298, allocations: 3.992 MB / 0.7885 GB, free: 3.441 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: ......... 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 0.0001773/0.93, allocations: 63.91 kB / 0.7886 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of SimCode: time 0.01262/0.9426, allocations: 9.315 MB / 0.7977 GB, free: 0.4961 MB / 0.5762 GB Notification: Performance of Templates: time 0.03122/0.9739, allocations: 15.29 MB / 0.8126 GB, free: 10.35 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.OneOpenDoor.makefile make -j1 -f IBPSA_latest_IBPSA.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=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA.Airflow.Multizone.Examples.OneOpenDoor.o IBPSA_latest_IBPSA.Airflow.Multizone.Examples.OneOpenDoor.c IBPSA_latest_IBPSA.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 */); ^ IBPSA_latest_IBPSA.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 */); ^ IBPSA_latest_IBPSA.Airflow.Multizone.Examples.OneOpenDoor.c:575:22: error: use of undeclared identifier 'i' switch(i) ^ IBPSA_latest_IBPSA.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); ^ IBPSA_latest_IBPSA.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 */); ^ IBPSA_latest_IBPSA.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 */); ^ IBPSA_latest_IBPSA.Airflow.Multizone.Examples.OneOpenDoor.c:796:22: error: use of undeclared identifier 'i' switch(i) ^ IBPSA_latest_IBPSA.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: *** [: IBPSA_latest_IBPSA.Airflow.Multizone.Examples.OneOpenDoor.o] Error 1