Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.OneOpenDoor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.Examples.OneOpenDoor") translateModel(Buildings.Airflow.Multizone.Examples.OneOpenDoor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001258/0.001259, allocations: 112.3 kB / 16.38 MB, free: 5.918 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.001273/0.001273, allocations: 185.5 kB / 17.31 MB, free: 5.551 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.324/1.324, 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 8.1.4-maint.8.1.x/package.mo): time 1.761/1.761, allocations: 292.3 MB / 0.5496 GB, free: 17.64 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.541e-05/2.564e-05, allocations: 2.281 kB / 0.6728 GB, free: 5.91 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneOpenDoor): time 0.6829/0.6829, allocations: 166.9 MB / 0.8358 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01493/0.6979, allocations: 8.405 MB / 0.8441 GB, free: 42.21 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003138/0.7011, allocations: 35.38 kB / 0.8441 GB, free: 42.2 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002125/0.7032, allocations: 0.5682 MB / 0.8446 GB, free: 42.01 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005572/0.7089, allocations: 1.529 MB / 0.8461 GB, free: 41.57 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003453/0.7124, allocations: 0.9832 MB / 0.8471 GB, free: 41.47 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.006019/0.7184, allocations: 3.268 MB / 0.8503 GB, free: 40.96 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001834/0.7202, allocations: 1.075 MB / 0.8513 GB, free: 40.82 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003988/0.7242, allocations: 1.286 MB / 0.8526 GB, free: 40.71 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002561/0.7268, allocations: 1.082 MB / 0.8537 GB, free: 40.5 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002348/0.7271, allocations: 109.6 kB / 0.8538 GB, free: 40.5 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003364/0.7304, allocations: 1.113 MB / 0.8548 GB, free: 40.25 MB / 0.6544 GB Notification: Performance of combineBinaries: time 0.001777/0.7322, allocations: 2.109 MB / 0.8569 GB, free: 39 MB / 0.6544 GB Notification: Performance of replaceArrayConstructors: time 0.000835/0.7331, allocations: 1.299 MB / 0.8582 GB, free: 38.14 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0004349/0.7335, allocations: 209.9 kB / 0.8584 GB, free: 38.05 MB / 0.6544 GB Notification: Performance of FrontEnd: time 0.000334/0.7339, allocations: 30.28 kB / 0.8584 GB, free: 38.04 MB / 0.6544 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.004952/0.7388, allocations: 5.923 MB / 0.8642 GB, free: 34.07 MB / 0.6544 GB Notification: Performance of FunctionAlias: time 0.0005662/0.7394, allocations: 472.4 kB / 0.8646 GB, free: 33.83 MB / 0.6544 GB Notification: Performance of Early Inline: time 0.002689/0.7421, allocations: 3.228 MB / 0.8678 GB, free: 31.87 MB / 0.6544 GB Notification: Performance of simplify1: time 0.0002435/0.7423, allocations: 187.8 kB / 0.868 GB, free: 31.79 MB / 0.6544 GB Notification: Performance of Alias: time 0.004253/0.7466, allocations: 4.045 MB / 0.8719 GB, free: 29.29 MB / 0.6544 GB Notification: Performance of simplify2: time 0.0001976/0.7468, allocations: 154.3 kB / 0.8721 GB, free: 29.22 MB / 0.6544 GB Notification: Performance of Events: time 0.0004128/0.7472, allocations: 402.1 kB / 0.8724 GB, free: 28.99 MB / 0.6544 GB Notification: Performance of Detect States: time 0.0006528/0.7479, allocations: 0.699 MB / 0.8731 GB, free: 28.5 MB / 0.6544 GB Notification: Performance of Partitioning: time 0.001014/0.7489, allocations: 0.9851 MB / 0.8741 GB, free: 27.9 MB / 0.6544 GB Notification: Performance of Causalize: time 0.007047/0.756, allocations: 8.811 MB / 0.8827 GB, free: 24.39 MB / 0.6544 GB Notification: Performance of After Index Reduction Inline: time 0.001901/0.7579, allocations: 2.15 MB / 0.8848 GB, free: 22.8 MB / 0.6544 GB Notification: Performance of Inline: time 0.004849/0.7628, allocations: 4.401 MB / 0.8891 GB, free: 19.62 MB / 0.6544 GB Notification: Performance of Partitioning: time 0.0002158/0.763, allocations: 195.3 kB / 0.8893 GB, free: 19.5 MB / 0.6544 GB Notification: Performance of Cleanup: time 0.0001346/0.7631, allocations: 168.9 kB / 0.8894 GB, free: 19.36 MB / 0.6544 GB Notification: Performance of Causalize: time 0.007386/0.7705, allocations: 10.79 MB / 0.9 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of Tearing: time 9.638e-06/0.7706, allocations: 0 / 0.9 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of Initialization: time 1.653e-06/0.7706, allocations: 0 / 0.9 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of Tearing: time 1.432e-05/0.7706, allocations: 0.5469 kB / 0.9 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of Categorize: time 3.222e-05/0.7706, allocations: 11.94 kB / 0.9 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of Solve: time 0.001546/0.7722, allocations: 1.456 MB / 0.9014 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of Jacobian: time 0.003285/0.7755, allocations: 4.017 MB / 0.9053 GB, free: 6.832 MB / 0.6544 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: ........... 191 (scalar:185, 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.0001044/0.7756, allocations: 72.33 kB / 0.9054 GB, free: 6.766 MB / 0.6544 GB Notification: Performance of SimCode: time 0.009204/0.7848, allocations: 9.433 MB / 0.9146 GB, free: 13.36 MB / 0.67 GB Notification: Performance of Templates: time 0.02615/0.811, allocations: 14.76 MB / 0.929 GB, free: 14.69 MB / 0.6856 GB make -j1 -f Buildings_8_Buildings.Airflow.Multizone.Examples.OneOpenDoor.makefile make -j1 -f Buildings_8_Buildings.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=Buildings_8_Buildings_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 Buildings_8_Buildings.Airflow.Multizone.Examples.OneOpenDoor.o Buildings_8_Buildings.Airflow.Multizone.Examples.OneOpenDoor.c Buildings_8_Buildings.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 */); ^ Buildings_8_Buildings.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 */); ^ Buildings_8_Buildings.Airflow.Multizone.Examples.OneOpenDoor.c:575:22: error: use of undeclared identifier 'i' switch(i) ^ Buildings_8_Buildings.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); ^ Buildings_8_Buildings.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 */); ^ Buildings_8_Buildings.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 */); ^ Buildings_8_Buildings.Airflow.Multizone.Examples.OneOpenDoor.c:796:22: error: use of undeclared identifier 'i' switch(i) ^ Buildings_8_Buildings.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: *** [: Buildings_8_Buildings.Airflow.Multizone.Examples.OneOpenDoor.o] Error 1