Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001292/0.001292, allocations: 112.9 kB / 17.75 MB, free: 5.348 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.001126/0.001126, allocations: 184.7 kB / 18.68 MB, free: 4.426 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.315/1.315, allocations: 205.1 MB / 224.6 MB, free: 12.25 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.985e-05/1.986e-05, allocations: 3.125 kB / 328.5 MB, free: 3.32 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa): time 0.2917/0.2918, allocations: 172.8 MB / 0.4895 GB, free: 9.188 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003383/0.2952, allocations: 3.209 MB / 0.4927 GB, free: 5.973 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001367/0.2953, allocations: 4 kB / 0.4927 GB, free: 5.969 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004896/0.2958, allocations: 178.9 kB / 0.4929 GB, free: 5.793 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007455/0.2966, allocations: 407.3 kB / 0.4932 GB, free: 5.395 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007181/0.2974, allocations: 340.3 kB / 0.4936 GB, free: 5.062 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00083/0.2982, allocations: 0.9617 MB / 0.4945 GB, free: 4.098 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000214/0.2984, allocations: 136.8 kB / 0.4946 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00141/0.2999, allocations: 0.8115 MB / 0.4954 GB, free: 3.156 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002946/0.3002, allocations: 239 kB / 0.4957 GB, free: 2.922 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.014e-05/0.3002, allocations: 39.94 kB / 0.4957 GB, free: 2.883 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002857/0.3005, allocations: 147.9 kB / 0.4958 GB, free: 2.738 MB / 398.1 MB Notification: Performance of combineBinaries: time 0.0004548/0.301, allocations: 0.5423 MB / 0.4964 GB, free: 2.191 MB / 398.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002029/0.3012, allocations: 323.7 kB / 0.4967 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.606e-05/0.3013, allocations: 63.88 kB / 0.4967 GB, free: 1.809 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.652e-05/0.3013, allocations: 11.94 kB / 0.4967 GB, free: 1.797 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.00141/0.3027, allocations: 1.572 MB / 0.4983 GB, free: 124 kB / 398.1 MB Notification: Performance of FunctionAlias: time 0.0001179/0.3028, allocations: 87.94 kB / 0.4984 GB, free: 40 kB / 398.1 MB Notification: Performance of Early Inline: time 0.0006599/0.3035, allocations: 0.7214 MB / 0.4991 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simplify1: time 5.433e-05/0.3036, allocations: 59.91 kB / 0.4991 GB, free: 15.23 MB / 414.1 MB Notification: Performance of Alias: time 0.001317/0.3049, allocations: 1.264 MB / 0.5004 GB, free: 13.8 MB / 414.1 MB Notification: Performance of simplify2: time 3.74e-05/0.3049, allocations: 47.88 kB / 0.5004 GB, free: 13.76 MB / 414.1 MB Notification: Performance of Events: time 0.0001803/0.3051, allocations: 142.3 kB / 0.5005 GB, free: 13.62 MB / 414.1 MB Notification: Performance of Detect States: time 0.0002123/0.3054, allocations: 197.2 kB / 0.5007 GB, free: 13.41 MB / 414.1 MB Notification: Performance of Partitioning: time 0.0003128/0.3057, allocations: 350 kB / 0.5011 GB, free: 12.96 MB / 414.1 MB Notification: Performance of Causalize: time 0.00126/0.3069, allocations: 1.373 MB / 0.5024 GB, free: 11.49 MB / 414.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004358/0.3074, allocations: 0.4908 MB / 0.5029 GB, free: 10.97 MB / 414.1 MB Notification: Performance of Inline: time 0.0009115/0.3083, allocations: 1.002 MB / 0.5039 GB, free: 9.934 MB / 414.1 MB Notification: Performance of Partitioning: time 6.018e-05/0.3084, allocations: 62.36 kB / 0.5039 GB, free: 9.863 MB / 414.1 MB Notification: Performance of Cleanup: time 3.853e-05/0.3084, allocations: 39.91 kB / 0.504 GB, free: 9.824 MB / 414.1 MB Notification: Performance of Causalize: time 0.001609/0.31, allocations: 1.798 MB / 0.5057 GB, free: 8.051 MB / 414.1 MB Notification: Performance of Tearing: time 0.0002064/0.3103, allocations: 250.1 kB / 0.506 GB, free: 7.758 MB / 414.1 MB Notification: Performance of Initialization: time 6.22e-07/0.3103, allocations: 0 / 0.506 GB, free: 7.758 MB / 414.1 MB Notification: Performance of Tearing: time 0.0007327/0.311, allocations: 0.6566 MB / 0.5066 GB, free: 7.004 MB / 414.1 MB Notification: Performance of Categorize: time 1.324e-05/0.311, allocations: 0 / 0.5066 GB, free: 7.004 MB / 414.1 MB Notification: Performance of Solve: time 0.0004373/0.3115, allocations: 0.5003 MB / 0.5071 GB, free: 6.449 MB / 414.1 MB Notification: Performance of Jacobian: time 0.0002529/0.3117, allocations: 358 kB / 0.5074 GB, free: 6.062 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.377e-05/0.3118, allocations: 45.27 kB / 0.5075 GB, free: 6.023 MB / 414.1 MB Notification: Performance of SimCode: time 0.002074/0.3139, allocations: 2.325 MB / 0.5097 GB, free: 3.656 MB / 414.1 MB Notification: Performance of Templates: time 0.009806/0.3237, allocations: 6.434 MB / 0.516 GB, free: 13.21 MB / 430.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.makefile make -j1 -f Modelica_3.2.2_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 -Os -march=native -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_2_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.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.o Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.c Modelica_3.2.2_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.2_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.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.c:311:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.2_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.2_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.2_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.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.c:517:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.2_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.2_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.2_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.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.c:723:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.2_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.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.o] Error 1