Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.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.DryAirNasa,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 107.4 kB / 16.42 MB, free: 6.484 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.001123/0.001124, allocations: 187.2 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.252/1.252, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.894e-05/1.895e-05, allocations: 2.281 kB / 327.2 MB, free: 3.301 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa): time 0.3282/0.3282, allocations: 172.8 MB / 500 MB, free: 9.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003654/0.3319, allocations: 3.21 MB / 0.4914 GB, free: 5.945 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001383/0.3321, allocations: 4 kB / 0.4914 GB, free: 5.941 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005477/0.3327, allocations: 174.9 kB / 0.4916 GB, free: 5.77 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007645/0.3335, allocations: 411.3 kB / 0.492 GB, free: 5.367 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007304/0.3342, allocations: 341.2 kB / 0.4923 GB, free: 5.035 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008011/0.335, allocations: 0.9694 MB / 0.4932 GB, free: 4.062 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002058/0.3353, allocations: 120.9 kB / 0.4933 GB, free: 3.949 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001398/0.3367, allocations: 0.8222 MB / 0.4941 GB, free: 3.125 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002741/0.3369, allocations: 243 kB / 0.4944 GB, free: 2.887 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.268e-05/0.337, allocations: 32 kB / 0.4944 GB, free: 2.855 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002948/0.3373, allocations: 147.8 kB / 0.4945 GB, free: 2.711 MB / 398.1 MB Notification: Performance of combineBinaries: time 0.0004603/0.3378, allocations: 0.5423 MB / 0.4951 GB, free: 2.164 MB / 398.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001965/0.338, allocations: 327.7 kB / 0.4954 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.955e-05/0.3381, allocations: 63.88 kB / 0.4954 GB, free: 1.777 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.637e-05/0.3381, allocations: 11.88 kB / 0.4955 GB, free: 1.766 MB / 398.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.001374/0.3395, allocations: 1.568 MB / 0.497 GB, free: 96 kB / 398.1 MB Notification: Performance of FunctionAlias: time 0.000105/0.3396, allocations: 78.58 kB / 0.4971 GB, free: 24 kB / 398.1 MB Notification: Performance of Early Inline: time 0.0006262/0.3402, allocations: 0.7245 MB / 0.4978 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simplify1: time 5.124e-05/0.3403, allocations: 47.94 kB / 0.4978 GB, free: 15.22 MB / 414.1 MB Notification: Performance of Alias: time 0.001268/0.3416, allocations: 1.284 MB / 0.4991 GB, free: 13.78 MB / 414.1 MB Notification: Performance of simplify2: time 3.601e-05/0.3416, allocations: 35.95 kB / 0.4991 GB, free: 13.74 MB / 414.1 MB Notification: Performance of Events: time 0.0001967/0.3418, allocations: 148.3 kB / 0.4992 GB, free: 13.6 MB / 414.1 MB Notification: Performance of Detect States: time 0.0002279/0.342, allocations: 205.2 kB / 0.4994 GB, free: 13.38 MB / 414.1 MB Notification: Performance of Partitioning: time 0.000292/0.3423, allocations: 342 kB / 0.4998 GB, free: 12.94 MB / 414.1 MB Notification: Performance of Causalize: time 0.001262/0.3436, allocations: 1.37 MB / 0.5011 GB, free: 11.47 MB / 414.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004646/0.3441, allocations: 0.5027 MB / 0.5016 GB, free: 10.94 MB / 414.1 MB Notification: Performance of Inline: time 0.0009538/0.3451, allocations: 0.995 MB / 0.5026 GB, free: 9.91 MB / 414.1 MB Notification: Performance of Partitioning: time 7.035e-05/0.3451, allocations: 66.33 kB / 0.5026 GB, free: 9.836 MB / 414.1 MB Notification: Performance of Cleanup: time 4.053e-05/0.3452, allocations: 40.09 kB / 0.5027 GB, free: 9.797 MB / 414.1 MB Notification: Performance of Causalize: time 0.00159/0.3468, allocations: 1.802 MB / 0.5044 GB, free: 8.016 MB / 414.1 MB Notification: Performance of Tearing: time 0.000211/0.347, allocations: 246.2 kB / 0.5047 GB, free: 7.727 MB / 414.1 MB Notification: Performance of Initialization: time 4.91e-07/0.347, allocations: 0 / 0.5047 GB, free: 7.727 MB / 414.1 MB Notification: Performance of Tearing: time 0.0007478/0.3478, allocations: 0.6604 MB / 0.5053 GB, free: 6.969 MB / 414.1 MB Notification: Performance of Categorize: time 1.674e-05/0.3478, allocations: 4.031 kB / 0.5053 GB, free: 6.965 MB / 414.1 MB Notification: Performance of Solve: time 0.0004616/0.3483, allocations: 496.4 kB / 0.5058 GB, free: 6.426 MB / 414.1 MB Notification: Performance of Jacobian: time 0.0002679/0.3485, allocations: 370 kB / 0.5061 GB, free: 6.027 MB / 414.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 4 * 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: ........... 33 (scalar:30, 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: ... 3 (linear: 0, nonlinear:3) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 58 (scalar:52, 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.161e-05/0.3486, allocations: 37.48 kB / 0.5062 GB, free: 5.996 MB / 414.1 MB Notification: Performance of SimCode: time 0.002235/0.3508, allocations: 2.326 MB / 0.5084 GB, free: 3.633 MB / 414.1 MB Notification: Performance of Templates: time 0.009498/0.3603, allocations: 6.438 MB / 0.5147 GB, free: 13.18 MB / 430.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.makefile make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.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_DryAirNasa -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 Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.o Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.c Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.c:305: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.DryAirNasa.c:308:127: error: use of undeclared identifier 'i' tmp24 = modelica_real_to_modelica_string((&data->localData[0]->realVars[23] /* 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.DryAirNasa.c:311:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.c:319:107: error: use of undeclared identifier 'i' throwStreamPrint(threadData, "Index %ld out of bounds [1..1] for array {\"Air\"}", (long) i); ^ Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.c:511:59: error: use of undeclared identifier 'i' tmp71 = modelica_integer_to_modelica_string(i, ((modelica_integer) 0), 1 /* true */); ^ Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.c:514:137: error: use of undeclared identifier 'i' tmp75 = modelica_real_to_modelica_string((&data->localData[0]->realVars[16] /* 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.DryAirNasa.c:517:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.c:525:107: error: use of undeclared identifier 'i' throwStreamPrint(threadData, "Index %ld out of bounds [1..1] for array {\"Air\"}", (long) i); ^ Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.c:717:60: error: use of undeclared identifier 'i' tmp122 = modelica_integer_to_modelica_string(i, ((modelica_integer) 0), 1 /* true */); ^ Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.c:720:126: error: use of undeclared identifier 'i' tmp126 = modelica_real_to_modelica_string((&data->localData[0]->realVars[8] /* 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.DryAirNasa.c:723:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.c:731:107: error: use of undeclared identifier 'i' throwStreamPrint(threadData, "Index %ld out of bounds [1..1] for array {\"Air\"}", (long) i); ^ 12 errors generated. make: *** [: Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.o] Error 1