Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Airflow.Multizone.Examples.NaturalVentilation.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.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.Examples.NaturalVentilation") translateModel(Buildings.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.Examples.NaturalVentilation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 106.1 kB / 16.42 MB, free: 6.52 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.001159/0.001159, allocations: 190 kB / 17.35 MB, free: 5.73 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.374/1.374, 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.4332/0.4332, allocations: 95.47 MB / 366.1 MB, free: 12.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.721e-05/1.721e-05, allocations: 2.281 kB / 0.5042 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.4522/0.4522, allocations: 163.1 MB / 0.6635 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.009126/0.4614, allocations: 6.504 MB / 0.6699 GB, free: 5.145 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009502/0.4623, allocations: 35.81 kB / 0.6699 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001293/0.4637, allocations: 449.1 kB / 0.6703 GB, free: 4.668 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002728/0.4665, allocations: 1.193 MB / 0.6715 GB, free: 3.469 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002007/0.4685, allocations: 0.8454 MB / 0.6723 GB, free: 2.637 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002616/0.4711, allocations: 2.396 MB / 0.6747 GB, free: 236 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009541/0.4721, allocations: 0.7836 MB / 0.6754 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001579/0.4737, allocations: 0.9035 MB / 0.6763 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009959/0.4747, allocations: 0.833 MB / 0.6771 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001057/0.4748, allocations: 76 kB / 0.6772 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001784/0.4766, allocations: 0.8343 MB / 0.678 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of combineBinaries: time 0.001139/0.4778, allocations: 1.528 MB / 0.6795 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of replaceArrayConstructors: time 0.0006672/0.4784, allocations: 0.956 MB / 0.6804 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001927/0.4786, allocations: 159.5 kB / 0.6806 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of FrontEnd: time 0.0001491/0.4788, allocations: 16 kB / 0.6806 GB, free: 10.11 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 (130) * Number of variables: 142 (128) Notification: Performance of Bindings: time 0.003284/0.4821, allocations: 4.007 MB / 0.6845 GB, free: 5.953 MB / 0.5294 GB Notification: Performance of FunctionAlias: time 0.0003094/0.4824, allocations: 318.3 kB / 0.6848 GB, free: 5.637 MB / 0.5294 GB Notification: Performance of Early Inline: time 0.001606/0.484, allocations: 1.799 MB / 0.6866 GB, free: 3.797 MB / 0.5294 GB Notification: Performance of simplify1: time 0.0001166/0.4841, allocations: 119.8 kB / 0.6867 GB, free: 3.68 MB / 0.5294 GB Notification: Performance of Alias: time 0.002759/0.4869, allocations: 2.673 MB / 0.6893 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of simplify2: time 9.268e-05/0.487, allocations: 87.89 kB / 0.6894 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of Events: time 0.0002679/0.4873, allocations: 211.6 kB / 0.6896 GB, free: 448 kB / 0.5294 GB Notification: Performance of Detect States: time 0.0004402/0.4877, allocations: 446.3 kB / 0.69 GB, free: 15.99 MB / 0.545 GB Notification: Performance of Partitioning: time 0.0005874/0.4883, allocations: 0.6134 MB / 0.6906 GB, free: 15.31 MB / 0.545 GB Notification: Performance of Causalize: time 0.003337/0.4917, allocations: 3.712 MB / 0.6942 GB, free: 11.63 MB / 0.545 GB Notification: Performance of After Index Reduction Inline: time 0.001169/0.4929, allocations: 1.304 MB / 0.6955 GB, free: 10.29 MB / 0.545 GB Notification: Performance of Inline: time 0.002787/0.4956, allocations: 2.856 MB / 0.6983 GB, free: 7.375 MB / 0.545 GB Notification: Performance of Partitioning: time 0.000163/0.4958, allocations: 155.6 kB / 0.6984 GB, free: 7.207 MB / 0.545 GB Notification: Performance of Cleanup: time 8.577e-05/0.4959, allocations: 91.84 kB / 0.6985 GB, free: 7.117 MB / 0.545 GB Notification: Performance of Causalize: time 0.004544/0.5005, allocations: 5.314 MB / 0.7037 GB, free: 2.012 MB / 0.545 GB Notification: Performance of Tearing: time 1.308e-05/0.5005, allocations: 7.938 kB / 0.7037 GB, free: 2.004 MB / 0.545 GB Notification: Performance of Initialization: time 3.7e-07/0.5005, allocations: 0 / 0.7037 GB, free: 2.004 MB / 0.545 GB Notification: Performance of Tearing: time 6.242e-06/0.5005, allocations: 0 / 0.7037 GB, free: 2.004 MB / 0.545 GB Notification: Performance of Categorize: time 1.831e-05/0.5005, allocations: 4 kB / 0.7037 GB, free: 2 MB / 0.545 GB Notification: Performance of Solve: time 0.001238/0.5018, allocations: 1.161 MB / 0.7049 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of Jacobian: time 0.001237/0.503, allocations: 1.237 MB / 0.7061 GB, free: 15.46 MB / 0.5606 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 2 * 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: ............................. 6 (6) {volA.dynBal.U, volA.dynBal.m, oriOutBot.mExc, oriOutTop.mExc, volOut.dynBal.U, volOut.dynBal.m} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 13 (13) {$SEV_11, $SEV_10, $SEV_9, $SEV_8[$i1], $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3[$i1], $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: ........... 82 (scalar:78, array:4, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:2) * Number of for-loop strong components: ......... 6 (generic: 6, 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: ........... 141 (scalar:135, array:6, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:2) * Number of for-loop strong components: ......... 6 (generic: 6, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 6.406e-05/0.5031, allocations: 57.67 kB / 0.7061 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of SimCode: time 0.004687/0.5078, allocations: 4.654 MB / 0.7107 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of Templates: time 0.01571/0.5235, allocations: 10.41 MB / 0.7208 GB, free: 268 kB / 0.5606 GB make -j1 -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.NaturalVentilation.makefile make -j1 -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.NaturalVentilation.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_NaturalVentilation -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_1.6_Buildings.Airflow.Multizone.Examples.NaturalVentilation.o Buildings_1.6_Buildings.Airflow.Multizone.Examples.NaturalVentilation.c Buildings_1.6_Buildings.Airflow.Multizone.Examples.NaturalVentilation.c:401:59: error: use of undeclared identifier 'i' tmp20 = modelica_integer_to_modelica_string(i, ((modelica_integer) 0), 1 /* true */); ^ Buildings_1.6_Buildings.Airflow.Multizone.Examples.NaturalVentilation.c:404:133: error: use of undeclared identifier 'i' tmp24 = modelica_real_to_modelica_string((&data->localData[0]->realVars[84] /* volOut.dynBal.medium.X[1] variable */)[i - 1], ((modelica_integer) 6), ((modelica_integer) 0), 1 /* true */); ^ Buildings_1.6_Buildings.Airflow.Multizone.Examples.NaturalVentilation.c:407:22: error: use of undeclared identifier 'i' switch(i) ^ Buildings_1.6_Buildings.Airflow.Multizone.Examples.NaturalVentilation.c:415: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.NaturalVentilation.c:622:59: error: use of undeclared identifier 'i' tmp79 = modelica_integer_to_modelica_string(i, ((modelica_integer) 0), 1 /* true */); ^ Buildings_1.6_Buildings.Airflow.Multizone.Examples.NaturalVentilation.c:625:131: error: use of undeclared identifier 'i' tmp83 = modelica_real_to_modelica_string((&data->localData[0]->realVars[26] /* volA.dynBal.medium.X[1] variable */)[i - 1], ((modelica_integer) 6), ((modelica_integer) 0), 1 /* true */); ^ Buildings_1.6_Buildings.Airflow.Multizone.Examples.NaturalVentilation.c:628:22: error: use of undeclared identifier 'i' switch(i) ^ Buildings_1.6_Buildings.Airflow.Multizone.Examples.NaturalVentilation.c:636: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_1.6_Buildings.Airflow.Multizone.Examples.NaturalVentilation.o] Error 1