Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001588/0.001593, allocations: 106 kB / 16.42 MB, free: 6.539 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.001628/0.001628, allocations: 183.2 kB / 17.35 MB, free: 5.723 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.656/1.656, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.675/2.675, allocations: 437 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.201e-05/3.202e-05, allocations: 2.281 kB / 1.019 GB, free: 9.453 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneOpenDoor): time 0.9239/0.9239, allocations: 166.9 MB / 1.182 GB, free: 7.59 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01486/0.9388, allocations: 8.48 MB / 1.19 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003179/0.9421, allocations: 41.94 kB / 1.19 GB, free: 0.6406 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002408/0.9445, allocations: 0.5691 MB / 1.191 GB, free: 152 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.005875/0.9504, allocations: 1.574 MB / 1.193 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003344/0.9538, allocations: 0.9878 MB / 1.194 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.005783/0.9596, allocations: 3.305 MB / 1.197 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001836/0.9615, allocations: 1.077 MB / 1.198 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003951/0.9654, allocations: 1.314 MB / 1.199 GB, free: 10.76 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002613/0.9681, allocations: 1.074 MB / 1.2 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002871/0.9684, allocations: 111.2 kB / 1.2 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003339/0.9717, allocations: 1.114 MB / 1.201 GB, free: 9.645 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.002022/0.9738, allocations: 2.114 MB / 1.203 GB, free: 8.195 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 0.0008959/0.9747, allocations: 1.313 MB / 1.205 GB, free: 7.262 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004529/0.9751, allocations: 213.4 kB / 1.205 GB, free: 7.168 MB / 0.9044 GB Notification: Performance of FrontEnd: time 0.0004686/0.9756, allocations: 37.06 kB / 1.205 GB, free: 7.156 MB / 0.9044 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.005603/0.9812, allocations: 5.829 MB / 1.211 GB, free: 2.914 MB / 0.9044 GB Notification: Performance of FunctionAlias: time 0.0008023/0.982, allocations: 0.5981 MB / 1.211 GB, free: 2.508 MB / 0.9044 GB Notification: Performance of Early Inline: time 0.003246/0.9853, allocations: 3.231 MB / 1.214 GB, free: 68 kB / 0.9044 GB Notification: Performance of simplify1: time 0.0002617/0.9856, allocations: 188.2 kB / 1.215 GB, free: 15.92 MB / 0.92 GB Notification: Performance of Alias: time 0.005351/0.9909, allocations: 4.411 MB / 1.219 GB, free: 11.22 MB / 0.92 GB Notification: Performance of simplify2: time 0.0002293/0.9912, allocations: 155.8 kB / 1.219 GB, free: 11.07 MB / 0.92 GB Notification: Performance of Detect States: time 0.0008138/0.992, allocations: 0.7779 MB / 1.22 GB, free: 10.27 MB / 0.92 GB Notification: Performance of Events: time 0.000372/0.9924, allocations: 288.8 kB / 1.22 GB, free: 9.984 MB / 0.92 GB Notification: Performance of Partitioning: time 0.001013/0.9934, allocations: 0.9829 MB / 1.221 GB, free: 8.938 MB / 0.92 GB Notification: Performance of Causalize: time 0.007971/1.001, allocations: 7.162 MB / 1.228 GB, free: 1.762 MB / 0.92 GB Notification: Performance of After Index Reduction Inline: time 0.002933/1.004, allocations: 2.156 MB / 1.23 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of Inline: time 0.007534/1.012, allocations: 4.422 MB / 1.234 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of Partitioning: time 0.0004066/1.012, allocations: 175.7 kB / 1.235 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of Cleanup: time 0.0003876/1.013, allocations: 175.8 kB / 1.235 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of Causalize: time 0.01241/1.025, allocations: 8.929 MB / 1.243 GB, free: 1.961 MB / 0.9356 GB Notification: Performance of Tearing: time 3.115e-05/1.025, allocations: 0 / 1.243 GB, free: 1.961 MB / 0.9356 GB Notification: Performance of Initialization: time 4.618e-06/1.025, allocations: 7.938 kB / 1.243 GB, free: 1.953 MB / 0.9356 GB Notification: Performance of Tearing: time 2.643e-05/1.025, allocations: 0 / 1.243 GB, free: 1.953 MB / 0.9356 GB Notification: Performance of Categorize: time 4.091e-05/1.025, allocations: 4 kB / 1.243 GB, free: 1.949 MB / 0.9356 GB Notification: Performance of Solve: time 0.002444/1.028, allocations: 1.527 MB / 1.245 GB, free: 324 kB / 0.9356 GB Notification: Performance of Jacobian: time 0.004933/1.033, allocations: 3.995 MB / 1.249 GB, free: 12.25 MB / 0.9512 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 0.0001481/1.033, allocations: 81.25 kB / 1.249 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of SimCode: time 0.01259/1.046, allocations: 9.373 MB / 1.258 GB, free: 2.688 MB / 0.9512 GB Notification: Performance of Templates: time 0.02867/1.074, allocations: 15.07 MB / 1.273 GB, free: 3.629 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor.makefile make -j1 -f Buildings_10_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_10_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_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor.o Buildings_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor.c Buildings_10_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_10_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_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor.c:575:22: error: use of undeclared identifier 'i' switch(i) ^ Buildings_10_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_10_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_10_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_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor.c:796:22: error: use of undeclared identifier 'i' switch(i) ^ Buildings_10_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_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor.o] Error 1