Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.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) 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(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 107.9 kB / 16.42 MB, free: 6.5 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.001195/0.001195, allocations: 187.8 kB / 17.35 MB, free: 5.754 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.259/1.259, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.695e-05/2.696e-05, allocations: 3.547 kB / 327.2 MB, free: 3.312 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.3165/0.3166, allocations: 144 MB / 471.2 MB, free: 6.012 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002184/0.3188, allocations: 1.72 MB / 472.9 MB, free: 4.293 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001487/0.319, allocations: 7.938 kB / 473 MB, free: 4.285 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005565/0.3195, allocations: 186.9 kB / 473.1 MB, free: 4.102 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000488/0.32, allocations: 314.3 kB / 473.4 MB, free: 3.793 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008154/0.3209, allocations: 421.4 kB / 473.9 MB, free: 3.383 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007406/0.3216, allocations: 0.911 MB / 474.8 MB, free: 2.469 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001968/0.3219, allocations: 125.4 kB / 474.9 MB, free: 2.344 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005037/0.3224, allocations: 422.6 kB / 475.3 MB, free: 1.93 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003298/0.3227, allocations: 294.9 kB / 475.6 MB, free: 1.641 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.663e-05/0.3228, allocations: 32 kB / 475.6 MB, free: 1.609 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003683/0.3231, allocations: 183.7 kB / 475.8 MB, free: 1.43 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.0004146/0.3236, allocations: 0.55 MB / 476.3 MB, free: 0.875 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001769/0.3237, allocations: 315.7 kB / 476.7 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.203e-05/0.3238, allocations: 73.69 kB / 476.7 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.51e-05/0.3239, allocations: 4 kB / 476.7 MB, free: 500 kB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 (60) * Number of variables: 60 (60) Notification: Performance of Bindings: time 0.001326/0.3252, allocations: 1.585 MB / 478.3 MB, free: 14.8 MB / 382.1 MB Notification: Performance of FunctionAlias: time 0.0001002/0.3253, allocations: 86.48 kB / 478.4 MB, free: 14.72 MB / 382.1 MB Notification: Performance of Early Inline: time 0.0006402/0.3259, allocations: 0.7206 MB / 479.1 MB, free: 13.97 MB / 382.1 MB Notification: Performance of simplify1: time 9.029e-05/0.326, allocations: 55.92 kB / 479.2 MB, free: 13.92 MB / 382.1 MB Notification: Performance of Alias: time 0.001393/0.3274, allocations: 1.359 MB / 480.5 MB, free: 12.41 MB / 382.1 MB Notification: Performance of simplify2: time 3.927e-05/0.3275, allocations: 43.94 kB / 480.6 MB, free: 12.36 MB / 382.1 MB Notification: Performance of Events: time 0.000193/0.3277, allocations: 144.6 kB / 480.7 MB, free: 12.22 MB / 382.1 MB Notification: Performance of Detect States: time 0.0002094/0.3279, allocations: 187 kB / 480.9 MB, free: 12.03 MB / 382.1 MB Notification: Performance of Partitioning: time 0.0002829/0.3282, allocations: 350.7 kB / 481.2 MB, free: 11.56 MB / 382.1 MB Notification: Performance of Causalize: time 0.00113/0.3293, allocations: 1.283 MB / 482.5 MB, free: 10.16 MB / 382.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004145/0.3298, allocations: 0.4893 MB / 483 MB, free: 9.652 MB / 382.1 MB Notification: Performance of Inline: time 0.0008845/0.3306, allocations: 0.9963 MB / 484 MB, free: 8.621 MB / 382.1 MB Notification: Performance of Partitioning: time 6.108e-05/0.3307, allocations: 62.3 kB / 484.1 MB, free: 8.551 MB / 382.1 MB Notification: Performance of Cleanup: time 3.793e-05/0.3308, allocations: 35.91 kB / 484.1 MB, free: 8.516 MB / 382.1 MB Notification: Performance of Causalize: time 0.001638/0.3324, allocations: 1.775 MB / 485.9 MB, free: 6.762 MB / 382.1 MB Notification: Performance of Tearing: time 0.0002148/0.3326, allocations: 250.1 kB / 486.1 MB, free: 6.469 MB / 382.1 MB Notification: Performance of Initialization: time 3.9e-07/0.3326, allocations: 0 / 486.1 MB, free: 6.469 MB / 382.1 MB Notification: Performance of Tearing: time 0.0001668/0.3328, allocations: 258.2 kB / 486.4 MB, free: 6.168 MB / 382.1 MB Notification: Performance of Categorize: time 1.651e-05/0.3328, allocations: 7.969 kB / 486.4 MB, free: 6.16 MB / 382.1 MB Notification: Performance of Solve: time 0.0004579/0.3333, allocations: 0.512 MB / 486.9 MB, free: 5.598 MB / 382.1 MB Notification: Performance of Jacobian: time 0.0002358/0.3336, allocations: 322 kB / 487.2 MB, free: 5.246 MB / 382.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 6 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 9 * 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: ............................. 2 (2) {volume.m, volume.U} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 9 (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: ........... 32 (scalar:29, array:3, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, 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: ........... 57 (scalar:51, array:6, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 0, nonlinear:1) Notification: Performance of backend: time 4.216e-05/0.3336, allocations: 40.66 kB / 487.3 MB, free: 5.211 MB / 382.1 MB Notification: Performance of SimCode: time 0.001863/0.3355, allocations: 2.127 MB / 489.4 MB, free: 3.043 MB / 382.1 MB Notification: Performance of Templates: time 0.007901/0.3434, allocations: 4.91 MB / 494.3 MB, free: 14.13 MB / 398.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.makefile make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.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=Modelica_3_2_1_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.o Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.c Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.c:353:59: error: use of undeclared identifier 'i' tmp20 = modelica_integer_to_modelica_string(i, ((modelica_integer) 0), 1 /* true */); ^ Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.c:356:127: error: use of undeclared identifier 'i' tmp24 = modelica_real_to_modelica_string((&data->localData[0]->realVars[20] /* ambient.medium.X[1] variable */)[i - 1], ((modelica_integer) 6), ((modelica_integer) 0), 1 /* true */); ^ Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.c:359:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.c:367:113: error: use of undeclared identifier 'i' throwStreamPrint(threadData, "Index %ld out of bounds [1..1] for array {\"SimpleAir\"}", (long) i); ^ Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.c:574:59: error: use of undeclared identifier 'i' tmp79 = modelica_integer_to_modelica_string(i, ((modelica_integer) 0), 1 /* true */); ^ Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.c:577:137: error: use of undeclared identifier 'i' tmp83 = modelica_real_to_modelica_string((&data->localData[0]->realVars[14] /* fixedMassFlowRate.medium.X[1] variable */)[i - 1], ((modelica_integer) 6), ((modelica_integer) 0), 1 /* true */); ^ Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.c:580:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.c:588:113: error: use of undeclared identifier 'i' throwStreamPrint(threadData, "Index %ld out of bounds [1..1] for array {\"SimpleAir\"}", (long) i); ^ Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.c:795:60: error: use of undeclared identifier 'i' tmp138 = modelica_integer_to_modelica_string(i, ((modelica_integer) 0), 1 /* true */); ^ Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.c:798:126: error: use of undeclared identifier 'i' tmp142 = modelica_real_to_modelica_string((&data->localData[0]->realVars[7] /* volume.medium.X[1] variable */)[i - 1], ((modelica_integer) 6), ((modelica_integer) 0), 1 /* true */); ^ Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.c:801:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.c:809:113: error: use of undeclared identifier 'i' throwStreamPrint(threadData, "Index %ld out of bounds [1..1] for array {\"SimpleAir\"}", (long) i); ^ 12 errors generated. make: *** [: Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.o] Error 1