Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.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.IdealGases.Air,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 106.6 kB / 16.42 MB, free: 6.453 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.001372/0.001372, allocations: 192.3 kB / 17.35 MB, free: 5.711 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.336/1.336, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.712e-05/2.713e-05, allocations: 6.219 kB / 327.2 MB, free: 3.297 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.3911/0.3912, allocations: 172.7 MB / 500 MB, free: 9.172 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005667/0.3969, allocations: 3.218 MB / 0.4914 GB, free: 5.949 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004418/0.3974, allocations: 4 kB / 0.4914 GB, free: 5.945 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007529/0.3981, allocations: 170.9 kB / 0.4916 GB, free: 5.777 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001098/0.3993, allocations: 407.2 kB / 0.4919 GB, free: 5.379 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001005/0.4003, allocations: 343.8 kB / 0.4923 GB, free: 5.043 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001112/0.4014, allocations: 0.9617 MB / 0.4932 GB, free: 4.078 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002764/0.4017, allocations: 128.9 kB / 0.4933 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002108/0.4038, allocations: 0.8183 MB / 0.4941 GB, free: 3.137 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003307/0.4042, allocations: 239 kB / 0.4944 GB, free: 2.902 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.967e-05/0.4043, allocations: 36 kB / 0.4944 GB, free: 2.867 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004064/0.4047, allocations: 143.9 kB / 0.4945 GB, free: 2.727 MB / 398.1 MB Notification: Performance of combineBinaries: time 0.0005816/0.4053, allocations: 0.5462 MB / 0.4951 GB, free: 2.176 MB / 398.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002262/0.4055, allocations: 327.6 kB / 0.4954 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.185e-05/0.4056, allocations: 67.88 kB / 0.4954 GB, free: 1.785 MB / 398.1 MB Notification: Performance of FrontEnd: time 6.368e-05/0.4056, allocations: 7.938 kB / 0.4955 GB, free: 1.777 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.001542/0.4072, allocations: 1.576 MB / 0.497 GB, free: 100 kB / 398.1 MB Notification: Performance of FunctionAlias: time 0.0001171/0.4073, allocations: 88.45 kB / 0.4971 GB, free: 16 kB / 398.1 MB Notification: Performance of Early Inline: time 0.0007032/0.408, allocations: 0.7206 MB / 0.4978 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simplify1: time 5.492e-05/0.4081, allocations: 47.94 kB / 0.4978 GB, free: 15.22 MB / 414.1 MB Notification: Performance of Alias: time 0.001478/0.4096, allocations: 1.277 MB / 0.4991 GB, free: 13.78 MB / 414.1 MB Notification: Performance of simplify2: time 4.087e-05/0.4096, allocations: 39.95 kB / 0.4991 GB, free: 13.74 MB / 414.1 MB Notification: Performance of Events: time 0.0002302/0.4099, allocations: 146.3 kB / 0.4993 GB, free: 13.61 MB / 414.1 MB Notification: Performance of Detect States: time 0.0004058/0.4103, allocations: 197.2 kB / 0.4994 GB, free: 13.4 MB / 414.1 MB Notification: Performance of Partitioning: time 0.0003413/0.4106, allocations: 342.9 kB / 0.4998 GB, free: 12.96 MB / 414.1 MB Notification: Performance of Causalize: time 0.001342/0.412, allocations: 1.375 MB / 0.5011 GB, free: 11.48 MB / 414.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004895/0.4125, allocations: 0.5023 MB / 0.5016 GB, free: 10.95 MB / 414.1 MB Notification: Performance of Inline: time 0.001038/0.4135, allocations: 0.9869 MB / 0.5026 GB, free: 9.93 MB / 414.1 MB Notification: Performance of Partitioning: time 6.76e-05/0.4136, allocations: 70.34 kB / 0.5026 GB, free: 9.852 MB / 414.1 MB Notification: Performance of Cleanup: time 5.528e-05/0.4137, allocations: 39.91 kB / 0.5027 GB, free: 9.812 MB / 414.1 MB Notification: Performance of Causalize: time 0.001687/0.4154, allocations: 1.811 MB / 0.5044 GB, free: 8.023 MB / 414.1 MB Notification: Performance of Tearing: time 0.0002381/0.4156, allocations: 238.2 kB / 0.5047 GB, free: 7.742 MB / 414.1 MB Notification: Performance of Initialization: time 5.11e-07/0.4156, allocations: 0 / 0.5047 GB, free: 7.742 MB / 414.1 MB Notification: Performance of Tearing: time 0.0007894/0.4164, allocations: 0.6527 MB / 0.5053 GB, free: 6.992 MB / 414.1 MB Notification: Performance of Categorize: time 1.881e-05/0.4165, allocations: 4.031 kB / 0.5053 GB, free: 6.988 MB / 414.1 MB Notification: Performance of Solve: time 0.000484/0.4169, allocations: 0.4964 MB / 0.5058 GB, free: 6.438 MB / 414.1 MB Notification: Performance of Jacobian: time 0.0002813/0.4172, allocations: 362 kB / 0.5061 GB, free: 6.047 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 5.076e-05/0.4173, allocations: 46.45 kB / 0.5062 GB, free: 6.008 MB / 414.1 MB Notification: Performance of SimCode: time 0.002387/0.4197, allocations: 2.321 MB / 0.5084 GB, free: 3.648 MB / 414.1 MB Notification: Performance of Templates: time 0.01024/0.4299, allocations: 6.446 MB / 0.5147 GB, free: 13.2 MB / 430.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.makefile make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.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_1_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Air -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.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.o Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.c Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.c:305:59: error: use of undeclared identifier 'i' tmp20 = modelica_integer_to_modelica_string(i, ((modelica_integer) 0), 1 /* true */); ^ Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.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.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.c:311:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.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.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.c:511:59: error: use of undeclared identifier 'i' tmp71 = modelica_integer_to_modelica_string(i, ((modelica_integer) 0), 1 /* true */); ^ Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.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.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.c:517:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.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.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.c:717:60: error: use of undeclared identifier 'i' tmp122 = modelica_integer_to_modelica_string(i, ((modelica_integer) 0), 1 /* true */); ^ Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.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.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.c:723:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.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.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.o] Error 1