Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Media.Examples.AirTestImplementation.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Media.Examples.AirTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.AirTestImplementation") translateModel(Annex60.Media.Examples.AirTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.AirTestImplementation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 108.3 kB / 16.42 MB, free: 5.98 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.001148/0.001148, allocations: 193 kB / 17.36 MB, free: 5.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.295/1.295, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.249/0.249, allocations: 54.96 MB / 325.6 MB, free: 4.828 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.386e-05/2.388e-05, allocations: 2.281 kB / 456.9 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Examples.AirTestImplementation): time 0.3968/0.3968, allocations: 165.3 MB / 0.6076 GB, free: 2.023 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003105/0.4, allocations: 2.561 MB / 0.6101 GB, free: 15.93 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001475/0.4002, allocations: 2.75 kB / 0.6101 GB, free: 15.93 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000669/0.4008, allocations: 254.4 kB / 0.6103 GB, free: 15.72 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007268/0.4016, allocations: 450.9 kB / 0.6108 GB, free: 15.36 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006457/0.4023, allocations: 331.9 kB / 0.6111 GB, free: 15.11 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008607/0.4032, allocations: 1.102 MB / 0.6122 GB, free: 14.5 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003325/0.4035, allocations: 147.8 kB / 0.6123 GB, free: 14.42 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001128/0.4046, allocations: 0.7114 MB / 0.613 GB, free: 13.98 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000323/0.405, allocations: 316.9 kB / 0.6133 GB, free: 13.81 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.709e-05/0.405, allocations: 48.09 kB / 0.6133 GB, free: 13.81 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000291/0.4053, allocations: 152.4 kB / 0.6135 GB, free: 13.75 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.0006465/0.406, allocations: 0.798 MB / 0.6143 GB, free: 13.23 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003089/0.4063, allocations: 477.8 kB / 0.6147 GB, free: 12.91 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.965e-05/0.4064, allocations: 91.06 kB / 0.6148 GB, free: 12.88 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.341e-05/0.4065, allocations: 11.19 kB / 0.6148 GB, free: 12.88 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 (89) * Number of variables: 92 (86) Notification: Performance of Bindings: time 0.002016/0.4085, allocations: 2.282 MB / 0.617 GB, free: 11.15 MB / 446.1 MB Notification: Performance of FunctionAlias: time 0.0001985/0.4087, allocations: 178.2 kB / 0.6172 GB, free: 11.02 MB / 446.1 MB Notification: Performance of Early Inline: time 0.001211/0.4099, allocations: 1.172 MB / 0.6184 GB, free: 10.11 MB / 446.1 MB Notification: Performance of simplify1: time 9.641e-05/0.41, allocations: 96.22 kB / 0.6184 GB, free: 10.04 MB / 446.1 MB Notification: Performance of Alias: time 0.001762/0.4118, allocations: 1.66 MB / 0.6201 GB, free: 8.559 MB / 446.1 MB Notification: Performance of simplify2: time 7.678e-05/0.4119, allocations: 79.89 kB / 0.6201 GB, free: 8.48 MB / 446.1 MB Notification: Performance of Events: time 0.0002216/0.4121, allocations: 175.4 kB / 0.6203 GB, free: 8.312 MB / 446.1 MB Notification: Performance of Detect States: time 0.0003636/0.4125, allocations: 326.3 kB / 0.6206 GB, free: 7.977 MB / 446.1 MB Notification: Performance of Partitioning: time 0.0004665/0.4129, allocations: 482.6 kB / 0.6211 GB, free: 7.434 MB / 446.1 MB Notification: Performance of Causalize: time 0.002542/0.4155, allocations: 2.713 MB / 0.6237 GB, free: 4.684 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 0.0008539/0.4164, allocations: 0.9143 MB / 0.6246 GB, free: 3.742 MB / 446.1 MB Notification: Performance of Inline: time 0.00156/0.4179, allocations: 1.725 MB / 0.6263 GB, free: 1.98 MB / 446.1 MB Notification: Performance of Partitioning: time 9.872e-05/0.418, allocations: 95.61 kB / 0.6264 GB, free: 1.879 MB / 446.1 MB Notification: Performance of Cleanup: time 6.013e-05/0.4181, allocations: 67.86 kB / 0.6265 GB, free: 1.812 MB / 446.1 MB Notification: Performance of Causalize: time 0.0029/0.421, allocations: 3.394 MB / 0.6298 GB, free: 14.52 MB / 462.1 MB Notification: Performance of Tearing: time 0.0005553/0.4216, allocations: 0.6644 MB / 0.6304 GB, free: 13.75 MB / 462.1 MB Notification: Performance of Initialization: time 6.11e-07/0.4216, allocations: 0 / 0.6304 GB, free: 13.75 MB / 462.1 MB Notification: Performance of Tearing: time 0.0004502/0.422, allocations: 0.6683 MB / 0.6311 GB, free: 12.98 MB / 462.1 MB Notification: Performance of Categorize: time 1.468e-05/0.4221, allocations: 0 / 0.6311 GB, free: 12.98 MB / 462.1 MB Notification: Performance of Solve: time 0.0005458/0.4226, allocations: 418.7 kB / 0.6315 GB, free: 12.57 MB / 462.1 MB Notification: Performance of Jacobian: time 0.0009167/0.4235, allocations: 0.987 MB / 0.6324 GB, free: 11.54 MB / 462.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 3 * 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: ............................. 3 (3) {volume.m, volume.mXi, volume.U} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 12 (9) {$SEV_8, $SEV_7[$i1], $SEV_6, $SEV_5, $SEV_4[$i1], $SEV_3, $SEV_2, $SEV_1[$i1], $SEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 58 (scalar:46, array:12, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 3 (generic: 3, 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: ........... 84 (scalar:68, array:16, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 3 (generic: 3, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 0, nonlinear:2) Notification: Performance of backend: time 5.653e-05/0.4236, allocations: 40.73 kB / 0.6325 GB, free: 11.5 MB / 462.1 MB Notification: Performance of SimCode: time 0.002699/0.4263, allocations: 3.414 MB / 0.6358 GB, free: 8.02 MB / 462.1 MB Notification: Performance of Templates: time 0.01054/0.4369, allocations: 6.733 MB / 0.6424 GB, free: 1.316 MB / 462.1 MB make -j1 -f Annex60_1.0.0_Annex60.Media.Examples.AirTestImplementation.makefile make -j1 -f Annex60_1.0.0_Annex60.Media.Examples.AirTestImplementation.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=Annex60_1_0_0_Annex60_Media_Examples_AirTestImplementation -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Annex60_1.0.0_Annex60.Media.Examples.AirTestImplementation.o Annex60_1.0.0_Annex60.Media.Examples.AirTestImplementation.c Annex60_1.0.0_Annex60.Media.Examples.AirTestImplementation.c:377:59: error: use of undeclared identifier 'i' tmp20 = modelica_integer_to_modelica_string(i, ((modelica_integer) 0), 1 /* true */); ^ Annex60_1.0.0_Annex60.Media.Examples.AirTestImplementation.c:380:127: error: use of undeclared identifier 'i' tmp24 = modelica_real_to_modelica_string((&data->localData[0]->realVars[40] /* ambient.medium.X[1] variable */)[i - 1], ((modelica_integer) 6), ((modelica_integer) 0), 1 /* true */); ^ Annex60_1.0.0_Annex60.Media.Examples.AirTestImplementation.c:383:22: error: use of undeclared identifier 'i' switch(i) ^ Annex60_1.0.0_Annex60.Media.Examples.AirTestImplementation.c:396:118: error: use of undeclared identifier 'i' throwStreamPrint(threadData, "Index %ld out of bounds [1..2] for array {\"water\", \"air\"}", (long) i); ^ Annex60_1.0.0_Annex60.Media.Examples.AirTestImplementation.c:588:59: error: use of undeclared identifier 'i' tmp72 = modelica_integer_to_modelica_string(i, ((modelica_integer) 0), 1 /* true */); ^ Annex60_1.0.0_Annex60.Media.Examples.AirTestImplementation.c:591:137: error: use of undeclared identifier 'i' tmp76 = modelica_real_to_modelica_string((&data->localData[0]->realVars[24] /* fixedMassFlowRate.medium.X[1] variable */)[i - 1], ((modelica_integer) 6), ((modelica_integer) 0), 1 /* true */); ^ Annex60_1.0.0_Annex60.Media.Examples.AirTestImplementation.c:594:22: error: use of undeclared identifier 'i' switch(i) ^ Annex60_1.0.0_Annex60.Media.Examples.AirTestImplementation.c:607:118: error: use of undeclared identifier 'i' throwStreamPrint(threadData, "Index %ld out of bounds [1..2] for array {\"water\", \"air\"}", (long) i); ^ Annex60_1.0.0_Annex60.Media.Examples.AirTestImplementation.c:799:60: error: use of undeclared identifier 'i' tmp124 = modelica_integer_to_modelica_string(i, ((modelica_integer) 0), 1 /* true */); ^ Annex60_1.0.0_Annex60.Media.Examples.AirTestImplementation.c:802:127: error: use of undeclared identifier 'i' tmp128 = modelica_real_to_modelica_string((&data->localData[0]->realVars[11] /* volume.medium.X[1] variable */)[i - 1], ((modelica_integer) 6), ((modelica_integer) 0), 1 /* true */); ^ Annex60_1.0.0_Annex60.Media.Examples.AirTestImplementation.c:805:22: error: use of undeclared identifier 'i' switch(i) ^ Annex60_1.0.0_Annex60.Media.Examples.AirTestImplementation.c:818:118: error: use of undeclared identifier 'i' throwStreamPrint(threadData, "Index %ld out of bounds [1..2] for array {\"water\", \"air\"}", (long) i); ^ 12 errors generated. make: *** [: Annex60_1.0.0_Annex60.Media.Examples.AirTestImplementation.o] Error 1