Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Airflow.Multizone.Examples.OneOpenDoor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.Examples.OneOpenDoor") translateModel(IDEAS.Airflow.Multizone.Examples.OneOpenDoor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001282/0.001282, allocations: 112 kB / 16.42 MB, free: 6.527 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.001077/0.001077, allocations: 186 kB / 17.36 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.565/1.565, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8923/0.8923, allocations: 135.1 MB / 426.4 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.169e-05/3.171e-05, allocations: 5.125 kB / 0.5862 GB, free: 21.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.OneOpenDoor): time 0.7023/0.7023, allocations: 166.9 MB / 0.7492 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01358/0.716, allocations: 8.486 MB / 0.7575 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002473/0.7185, allocations: 38.78 kB / 0.7575 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002341/0.7208, allocations: 0.5612 MB / 0.7581 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007295/0.7282, allocations: 1.572 MB / 0.7596 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003758/0.732, allocations: 0.9905 MB / 0.7606 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007234/0.7393, allocations: 3.301 MB / 0.7638 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003036/0.7423, allocations: 1.086 MB / 0.7649 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005315/0.7476, allocations: 1.324 MB / 0.7661 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003525/0.7512, allocations: 1.073 MB / 0.7672 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0007512/0.752, allocations: 109.9 kB / 0.7673 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004909/0.7569, allocations: 1.105 MB / 0.7684 GB, free: 3 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.005135/0.762, allocations: 2.12 MB / 0.7705 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of replaceArrayConstructors: time 0.002677/0.7647, allocations: 1.313 MB / 0.7717 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001792/0.7665, allocations: 213.5 kB / 0.7719 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of FrontEnd: time 0.0007513/0.7673, allocations: 32.59 kB / 0.772 GB, free: 1.57 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.0102/0.7775, allocations: 5.82 MB / 0.7777 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of FunctionAlias: time 0.001339/0.7789, allocations: 0.5985 MB / 0.7782 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of Early Inline: time 0.00535/0.7843, allocations: 3.236 MB / 0.7814 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of simplify1: time 0.0003104/0.7846, allocations: 189.1 kB / 0.7816 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of Alias: time 0.006282/0.7909, allocations: 4.408 MB / 0.7859 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of simplify2: time 0.0002879/0.7912, allocations: 153.9 kB / 0.786 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of Detect States: time 0.0009285/0.7921, allocations: 0.7887 MB / 0.7868 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of Events: time 0.0004363/0.7926, allocations: 287.7 kB / 0.7871 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of Partitioning: time 0.001171/0.7938, allocations: 0.9869 MB / 0.788 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of Causalize: time 0.009501/0.8033, allocations: 7.153 MB / 0.795 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of After Index Reduction Inline: time 0.002847/0.8062, allocations: 2.15 MB / 0.7971 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of Inline: time 0.006491/0.8127, allocations: 4.431 MB / 0.8014 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of Partitioning: time 0.0003139/0.813, allocations: 179.6 kB / 0.8016 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of Cleanup: time 0.000223/0.8133, allocations: 170.5 kB / 0.8018 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of Causalize: time 0.01287/0.8262, allocations: 8.932 MB / 0.8105 GB, free: 7.043 MB / 0.5919 GB Notification: Performance of Tearing: time 2.87e-05/0.8262, allocations: 3 kB / 0.8105 GB, free: 7.043 MB / 0.5919 GB Notification: Performance of Initialization: time 1.994e-06/0.8263, allocations: 4 kB / 0.8105 GB, free: 7.039 MB / 0.5919 GB Notification: Performance of Tearing: time 3.599e-05/0.8263, allocations: 3.938 kB / 0.8105 GB, free: 7.035 MB / 0.5919 GB Notification: Performance of Categorize: time 5.041e-05/0.8264, allocations: 5.406 kB / 0.8105 GB, free: 7.035 MB / 0.5919 GB Notification: Performance of Solve: time 0.002877/0.8292, allocations: 1.537 MB / 0.812 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of Jacobian: time 0.005075/0.8343, allocations: 4.01 MB / 0.8159 GB, free: 2.973 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 0.000129/0.8345, allocations: 54.83 kB / 0.816 GB, free: 2.922 MB / 0.5919 GB Notification: Performance of SimCode: time 0.01362/0.8481, allocations: 9.378 MB / 0.8251 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of Templates: time 0.02915/0.8773, allocations: 15.06 MB / 0.8399 GB, free: 13.03 MB / 0.6231 GB make -j1 -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.OneOpenDoor.makefile make -j1 -f IDEAS_dev_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_dev_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_dev_IDEAS.Airflow.Multizone.Examples.OneOpenDoor.o IDEAS_dev_IDEAS.Airflow.Multizone.Examples.OneOpenDoor.c IDEAS_dev_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_dev_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_dev_IDEAS.Airflow.Multizone.Examples.OneOpenDoor.c:575:22: error: use of undeclared identifier 'i' switch(i) ^ IDEAS_dev_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_dev_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_dev_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_dev_IDEAS.Airflow.Multizone.Examples.OneOpenDoor.c:796:22: error: use of undeclared identifier 'i' switch(i) ^ IDEAS_dev_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_dev_IDEAS.Airflow.Multizone.Examples.OneOpenDoor.o] Error 1