Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Airflow.Multizone.Examples.OneOpenDoor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Examples.OneOpenDoor") translateModel(IDEAS.Airflow.Multizone.Examples.OneOpenDoor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001038/0.001038, allocations: 106.1 kB / 16.42 MB, free: 6.418 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.001005/0.001005, allocations: 187.2 kB / 17.36 MB, free: 5.684 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.104/1.104, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6529/0.6529, allocations: 132.2 MB / 423.4 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.108e-05/1.108e-05, allocations: 8.75 kB / 0.5819 GB, free: 23.81 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.OneOpenDoor): time 0.136/0.136, allocations: 166.9 MB / 0.7449 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.2419/0.3779, allocations: 8.478 MB / 0.7532 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007398/0.3787, allocations: 38.78 kB / 0.7532 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009728/0.3797, allocations: 0.5671 MB / 0.7538 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002217/0.3819, allocations: 1.532 MB / 0.7553 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001603/0.3836, allocations: 0.9969 MB / 0.7563 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002919/0.3865, allocations: 3.296 MB / 0.7595 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00114/0.3876, allocations: 1.08 MB / 0.7605 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002324/0.39, allocations: 1.321 MB / 0.7618 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001001/0.391, allocations: 1.068 MB / 0.7629 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001254/0.3911, allocations: 110.5 kB / 0.763 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001763/0.3929, allocations: 1.109 MB / 0.7641 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.001262/0.3942, allocations: 2.118 MB / 0.7661 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of replaceArrayConstructors: time 0.0005849/0.3948, allocations: 1.317 MB / 0.7674 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002652/0.395, allocations: 217.1 kB / 0.7676 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of FrontEnd: time 0.0001914/0.3952, allocations: 31.25 kB / 0.7677 GB, free: 1.562 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.003972/0.3992, allocations: 5.824 MB / 0.7733 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of FunctionAlias: time 0.0004988/0.3997, allocations: 0.6012 MB / 0.7739 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of Early Inline: time 0.002149/0.4019, allocations: 3.228 MB / 0.7771 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of simplify1: time 0.0001327/0.402, allocations: 186.8 kB / 0.7773 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of Alias: time 0.003728/0.4057, allocations: 4.423 MB / 0.7816 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of simplify2: time 0.0001092/0.4059, allocations: 154.6 kB / 0.7817 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of Events: time 0.0003176/0.4062, allocations: 407.9 kB / 0.7821 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of Detect States: time 0.0004814/0.4067, allocations: 0.6811 MB / 0.7828 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of Partitioning: time 0.0008084/0.4075, allocations: 0.9917 MB / 0.7838 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of Causalize: time 0.005744/0.4132, allocations: 7.129 MB / 0.7907 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of After Index Reduction Inline: time 0.001622/0.4149, allocations: 2.155 MB / 0.7928 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of Inline: time 0.003328/0.4182, allocations: 4.483 MB / 0.7972 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of Partitioning: time 0.0001812/0.4184, allocations: 194.7 kB / 0.7974 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of Cleanup: time 0.0001153/0.4185, allocations: 167.8 kB / 0.7975 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of Causalize: time 0.007557/0.4261, allocations: 9.111 MB / 0.8064 GB, free: 8.129 MB / 0.5919 GB Notification: Performance of Tearing: time 6.592e-06/0.4261, allocations: 0 / 0.8064 GB, free: 8.129 MB / 0.5919 GB Notification: Performance of Initialization: time 3.4e-07/0.4261, allocations: 0 / 0.8064 GB, free: 8.129 MB / 0.5919 GB Notification: Performance of Tearing: time 6.944e-06/0.4261, allocations: 0 / 0.8064 GB, free: 8.129 MB / 0.5919 GB Notification: Performance of Categorize: time 1.859e-05/0.4261, allocations: 17.05 kB / 0.8065 GB, free: 8.117 MB / 0.5919 GB Notification: Performance of Solve: time 0.001433/0.4276, allocations: 1.419 MB / 0.8078 GB, free: 7.258 MB / 0.5919 GB Notification: Performance of Jacobian: time 0.003365/0.431, allocations: 3.996 MB / 0.8117 GB, free: 5.141 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: ........... 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 6.558e-05/0.431, allocations: 69.58 kB / 0.8118 GB, free: 5.078 MB / 0.5919 GB Notification: Performance of SimCode: time 0.007398/0.4384, allocations: 9.296 MB / 0.8209 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of Templates: time 0.02004/0.4585, allocations: 15.2 MB / 0.8357 GB, free: 15.63 MB / 0.6231 GB make -j1 -f IDEAS_IDEAS.Airflow.Multizone.Examples.OneOpenDoor.makefile make -j1 -f IDEAS_IDEAS.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=IDEAS_IDEAS_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 IDEAS_IDEAS.Airflow.Multizone.Examples.OneOpenDoor.o IDEAS_IDEAS.Airflow.Multizone.Examples.OneOpenDoor.c IDEAS_IDEAS.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 */); ^ IDEAS_IDEAS.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 */); ^ IDEAS_IDEAS.Airflow.Multizone.Examples.OneOpenDoor.c:575:22: error: use of undeclared identifier 'i' switch(i) ^ IDEAS_IDEAS.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); ^ IDEAS_IDEAS.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 */); ^ IDEAS_IDEAS.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 */); ^ IDEAS_IDEAS.Airflow.Multizone.Examples.OneOpenDoor.c:796:22: error: use of undeclared identifier 'i' switch(i) ^ IDEAS_IDEAS.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: *** [: IDEAS_IDEAS.Airflow.Multizone.Examples.OneOpenDoor.o] Error 1