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.001299/0.001299, allocations: 110.3 kB / 17.1 MB, free: 5.941 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.000855/0.0008549, allocations: 196.8 kB / 18.04 MB, free: 5.016 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.118/1.118, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.654/0.654, allocations: 122.9 MB / 414.8 MB, free: 15.77 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.465e-05/1.466e-05, allocations: 2.281 kB / 0.5691 GB, free: 28.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.OneOpenDoor): time 0.1428/0.1428, allocations: 166.9 MB / 0.732 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01023/0.1531, allocations: 8.489 MB / 0.7403 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001064/0.1542, allocations: 35.81 kB / 0.7404 GB, free: 6.926 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001361/0.1555, allocations: 0.5745 MB / 0.7409 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003235/0.1588, allocations: 1.57 MB / 0.7425 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002056/0.1609, allocations: 1.004 MB / 0.7434 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003234/0.1641, allocations: 3.305 MB / 0.7467 GB, free: 468 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.2387/0.4029, allocations: 1.065 MB / 0.7477 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0027/0.4056, allocations: 1.32 MB / 0.749 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001279/0.4069, allocations: 1.068 MB / 0.75 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001815/0.4071, allocations: 109.3 kB / 0.7501 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002093/0.4092, allocations: 1.108 MB / 0.7512 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.001579/0.4108, allocations: 2.126 MB / 0.7533 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of replaceArrayConstructors: time 0.0007006/0.4115, allocations: 1.312 MB / 0.7546 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002765/0.4118, allocations: 212.3 kB / 0.7548 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of FrontEnd: time 0.000228/0.412, allocations: 35.42 kB / 0.7548 GB, free: 4.07 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.004152/0.4162, allocations: 5.836 MB / 0.7605 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of FunctionAlias: time 0.000589/0.4168, allocations: 0.5872 MB / 0.7611 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of Early Inline: time 0.002641/0.4194, allocations: 3.232 MB / 0.7642 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of simplify1: time 0.000208/0.4196, allocations: 190.4 kB / 0.7644 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of Alias: time 0.004462/0.4241, allocations: 4.412 MB / 0.7687 GB, free: 392 kB / 0.5762 GB Notification: Performance of simplify2: time 0.0001412/0.4243, allocations: 157.8 kB / 0.7689 GB, free: 388 kB / 0.5762 GB Notification: Performance of Detect States: time 0.000604/0.4249, allocations: 0.7733 MB / 0.7696 GB, free: 264 kB / 0.5762 GB Notification: Performance of Events: time 0.0002913/0.4252, allocations: 287.9 kB / 0.7699 GB, free: 240 kB / 0.5762 GB Notification: Performance of Partitioning: time 0.0009137/0.4261, allocations: 0.9827 MB / 0.7709 GB, free: 40 kB / 0.5762 GB Notification: Performance of Causalize: time 0.006181/0.4323, allocations: 7.158 MB / 0.7779 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of After Index Reduction Inline: time 0.00157/0.4339, allocations: 2.16 MB / 0.78 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of Inline: time 0.003523/0.4374, allocations: 4.422 MB / 0.7843 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of Partitioning: time 0.0002151/0.4376, allocations: 186 kB / 0.7845 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of Cleanup: time 0.0001589/0.4378, allocations: 168.9 kB / 0.7846 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of Causalize: time 0.007555/0.4453, allocations: 8.935 MB / 0.7934 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of Tearing: time 1.762e-05/0.4454, allocations: 0 / 0.7934 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of Initialization: time 8.01e-07/0.4454, allocations: 0 / 0.7934 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of Tearing: time 1.486e-05/0.4454, allocations: 6.906 kB / 0.7934 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of Categorize: time 2.242e-05/0.4454, allocations: 5.531 kB / 0.7934 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of Solve: time 0.001627/0.4471, allocations: 1.529 MB / 0.7949 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of Jacobian: time 0.003343/0.4504, allocations: 3.997 MB / 0.7988 GB, free: 9.426 MB / 0.5919 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 7.809e-05/0.4505, allocations: 78.89 kB / 0.7988 GB, free: 9.359 MB / 0.5919 GB Notification: Performance of SimCode: time 0.007323/0.4578, allocations: 9.375 MB / 0.808 GB, free: 6.289 MB / 0.5919 GB Notification: Performance of Templates: time 0.02068/0.4785, allocations: 15.06 MB / 0.8227 GB, free: 11.88 MB / 0.6075 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