Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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(Buildings.Airflow.Multizone.Examples.OneOpenDoor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dooOpe.vAB|dooOpe.vBA|dooOpeClo.vAB|dooOpeClo.vBA|dooOpe.port_a1.m_flow|dooOpe.port_a2.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_a2.m_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor") translateModel(Buildings.Airflow.Multizone.Examples.OneOpenDoor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dooOpe.vAB|dooOpe.vBA|dooOpeClo.vAB|dooOpeClo.vBA|dooOpe.port_a1.m_flow|dooOpe.port_a2.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_a2.m_flow",fileNamePrefix="Buildings_latest_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.001126/0.001126, allocations: 114.8 kB / 16.43 MB, free: 6.504 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.001153/0.001154, allocations: 187.2 kB / 17.36 MB, free: 5.715 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.237/1.237, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.29/2.29, allocations: 461.9 MB / 0.7354 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.932e-05/1.934e-05, allocations: 2.281 kB / 1.055 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneOpenDoor): time 0.6764/0.6764, allocations: 166.9 MB / 1.218 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0115/0.688, allocations: 8.499 MB / 1.226 GB, free: 5.547 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001521/0.6895, allocations: 36.94 kB / 1.226 GB, free: 5.535 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001396/0.6909, allocations: 0.5694 MB / 1.227 GB, free: 5.043 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.003608/0.6946, allocations: 1.536 MB / 1.228 GB, free: 3.812 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002288/0.6969, allocations: 0.9978 MB / 1.229 GB, free: 3.039 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003742/0.7006, allocations: 3.298 MB / 1.232 GB, free: 0.9922 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001316/0.702, allocations: 1.074 MB / 1.233 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002664/0.7046, allocations: 1.316 MB / 1.235 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001337/0.706, allocations: 1.082 MB / 1.236 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001596/0.7062, allocations: 108 kB / 1.236 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002194/0.7084, allocations: 1.104 MB / 1.237 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of combineBinaries: time 0.001477/0.7098, allocations: 2.116 MB / 1.239 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of replaceArrayConstructors: time 0.0007839/0.7106, allocations: 1.317 MB / 1.24 GB, free: 8.824 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002705/0.7109, allocations: 215.4 kB / 1.24 GB, free: 8.613 MB / 0.9512 GB Notification: Performance of FrontEnd: time 0.0002732/0.7112, allocations: 31.94 kB / 1.24 GB, free: 8.582 MB / 0.9512 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.004836/0.716, allocations: 5.827 MB / 1.246 GB, free: 2.578 MB / 0.9512 GB Notification: Performance of FunctionAlias: time 0.0006364/0.7167, allocations: 0.5984 MB / 1.247 GB, free: 2.004 MB / 0.9512 GB Notification: Performance of Early Inline: time 0.002886/0.7196, allocations: 3.239 MB / 1.25 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of simplify1: time 0.0001925/0.7198, allocations: 183.8 kB / 1.25 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of Alias: time 0.004683/0.7245, allocations: 4.415 MB / 1.254 GB, free: 9.738 MB / 0.9669 GB Notification: Performance of simplify2: time 0.0001515/0.7246, allocations: 143.8 kB / 1.254 GB, free: 9.598 MB / 0.9669 GB Notification: Performance of Events: time 0.0004114/0.7251, allocations: 408 kB / 1.255 GB, free: 9.195 MB / 0.9669 GB Notification: Performance of Detect States: time 0.0007992/0.7259, allocations: 0.695 MB / 1.256 GB, free: 8.477 MB / 0.9669 GB Notification: Performance of Partitioning: time 0.0009853/0.7269, allocations: 0.9907 MB / 1.256 GB, free: 7.422 MB / 0.9669 GB Notification: Performance of Causalize: time 0.007296/0.7342, allocations: 7.135 MB / 1.263 GB, free: 280 kB / 0.9669 GB Notification: Performance of After Index Reduction Inline: time 0.002056/0.7362, allocations: 2.152 MB / 1.266 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of Inline: time 0.00442/0.7407, allocations: 4.482 MB / 1.27 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of Partitioning: time 0.0002336/0.7409, allocations: 195.6 kB / 1.27 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of Cleanup: time 0.000174/0.7411, allocations: 171.8 kB / 1.27 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of Causalize: time 0.009493/0.7506, allocations: 9.1 MB / 1.279 GB, free: 244 kB / 0.9825 GB Notification: Performance of Tearing: time 2.03e-05/0.7506, allocations: 7.938 kB / 1.279 GB, free: 236 kB / 0.9825 GB Notification: Performance of Initialization: time 8.72e-07/0.7507, allocations: 0 / 1.279 GB, free: 236 kB / 0.9825 GB Notification: Performance of Tearing: time 1.971e-05/0.7507, allocations: 3.938 kB / 1.279 GB, free: 232 kB / 0.9825 GB Notification: Performance of Categorize: time 2.813e-05/0.7507, allocations: 4 kB / 1.279 GB, free: 228 kB / 0.9825 GB Notification: Performance of Solve: time 0.00193/0.7526, allocations: 1.807 MB / 1.281 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of Jacobian: time 0.0042/0.7569, allocations: 3.983 MB / 1.285 GB, free: 10.25 MB / 0.9981 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.0001074/0.757, allocations: 69.61 kB / 1.285 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of SimCode: time 0.008956/0.7659, allocations: 9.306 MB / 1.294 GB, free: 0.7617 MB / 0.9981 GB Notification: Performance of Templates: time 0.02285/0.7888, allocations: 15.28 MB / 1.309 GB, free: 1.492 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.makefile make -j1 -f Buildings_latest_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_latest_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_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.o Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.c Buildings_latest_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_latest_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_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.c:575:22: error: use of undeclared identifier 'i' switch(i) ^ Buildings_latest_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_latest_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_latest_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_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.c:796:22: error: use of undeclared identifier 'i' switch(i) ^ Buildings_latest_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_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.o] Error 1