Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.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.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 107.5 kB / 18.41 MB, free: 4.629 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.001233/0.001233, allocations: 189.3 kB / 19.35 MB, free: 3.699 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.444/1.444, allocations: 205.1 MB / 225.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.709e-05/2.679e-05, allocations: 3.266 kB / 329.2 MB, free: 3.309 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.4098/0.4099, allocations: 172.7 MB / 0.4902 GB, free: 9.184 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004278/0.4142, allocations: 3.205 MB / 0.4933 GB, free: 5.973 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003871/0.4146, allocations: 7.938 kB / 0.4933 GB, free: 5.965 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007273/0.4154, allocations: 174.9 kB / 0.4935 GB, free: 5.793 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001154/0.4165, allocations: 405.8 kB / 0.4939 GB, free: 5.395 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.4176, allocations: 349.9 kB / 0.4942 GB, free: 5.055 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001334/0.4189, allocations: 0.9578 MB / 0.4951 GB, free: 4.094 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000287/0.4192, allocations: 136.5 kB / 0.4953 GB, free: 3.965 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002183/0.4214, allocations: 0.824 MB / 0.4961 GB, free: 3.141 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000531/0.422, allocations: 243 kB / 0.4963 GB, free: 2.902 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001085/0.4221, allocations: 32 kB / 0.4963 GB, free: 2.871 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004898/0.4226, allocations: 147.8 kB / 0.4965 GB, free: 2.727 MB / 398.1 MB Notification: Performance of combineBinaries: time 0.0005797/0.4232, allocations: 0.5462 MB / 0.497 GB, free: 2.176 MB / 398.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002654/0.4234, allocations: 319.7 kB / 0.4973 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001394/0.4236, allocations: 67.88 kB / 0.4974 GB, free: 1.793 MB / 398.1 MB Notification: Performance of FrontEnd: time 6.813e-05/0.4237, allocations: 4 kB / 0.4974 GB, free: 1.789 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.001796/0.4255, allocations: 1.584 MB / 0.4989 GB, free: 104 kB / 398.1 MB Notification: Performance of FunctionAlias: time 0.0001607/0.4256, allocations: 83.14 kB / 0.499 GB, free: 24 kB / 398.1 MB Notification: Performance of Early Inline: time 0.0007512/0.4264, allocations: 0.7214 MB / 0.4997 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simplify1: time 8.869e-05/0.4265, allocations: 55.92 kB / 0.4997 GB, free: 15.22 MB / 414.1 MB Notification: Performance of Alias: time 0.001823/0.4283, allocations: 1.419 MB / 0.5011 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simplify2: time 7.048e-05/0.4284, allocations: 43.89 kB / 0.5012 GB, free: 13.6 MB / 414.1 MB Notification: Performance of Detect States: time 0.0002649/0.4287, allocations: 168.1 kB / 0.5013 GB, free: 13.42 MB / 414.1 MB Notification: Performance of Events: time 0.000256/0.429, allocations: 151.8 kB / 0.5015 GB, free: 13.27 MB / 414.1 MB Notification: Performance of Partitioning: time 0.0003673/0.4293, allocations: 342.1 kB / 0.5018 GB, free: 12.83 MB / 414.1 MB Notification: Performance of Causalize: time 0.001163/0.4305, allocations: 1.009 MB / 0.5028 GB, free: 11.71 MB / 414.1 MB Notification: Performance of After Index Reduction Inline: time 0.0005155/0.431, allocations: 0.5061 MB / 0.5033 GB, free: 11.18 MB / 414.1 MB Notification: Performance of Inline: time 0.001137/0.4322, allocations: 0.9944 MB / 0.5043 GB, free: 10.15 MB / 414.1 MB Notification: Performance of Partitioning: time 7.945e-05/0.4323, allocations: 66.34 kB / 0.5043 GB, free: 10.07 MB / 414.1 MB Notification: Performance of Cleanup: time 8.094e-05/0.4324, allocations: 39.91 kB / 0.5044 GB, free: 10.04 MB / 414.1 MB Notification: Performance of Causalize: time 0.001888/0.4342, allocations: 1.417 MB / 0.5057 GB, free: 8.609 MB / 414.1 MB Notification: Performance of Tearing: time 0.0002899/0.4345, allocations: 258.2 kB / 0.506 GB, free: 8.309 MB / 414.1 MB Notification: Performance of Initialization: time 7.51e-07/0.4346, allocations: 8.094 kB / 0.506 GB, free: 8.301 MB / 414.1 MB Notification: Performance of Tearing: time 0.001315/0.4359, allocations: 0.8671 MB / 0.5068 GB, free: 7.336 MB / 414.1 MB Notification: Performance of Categorize: time 2.706e-05/0.4359, allocations: 7.969 kB / 0.5069 GB, free: 7.328 MB / 414.1 MB Notification: Performance of Solve: time 0.000579/0.4365, allocations: 0.5617 MB / 0.5074 GB, free: 6.719 MB / 414.1 MB Notification: Performance of Jacobian: time 0.0003094/0.4368, allocations: 350 kB / 0.5077 GB, free: 6.34 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: 2, nonlinear:1) 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: 1, nonlinear:0) Notification: Performance of backend: time 6.932e-05/0.4369, allocations: 43.97 kB / 0.5078 GB, free: 6.297 MB / 414.1 MB Notification: Performance of SimCode: time 0.002751/0.4397, allocations: 2.334 MB / 0.5101 GB, free: 3.922 MB / 414.1 MB Notification: Performance of Templates: time 0.01177/0.4514, allocations: 6.519 MB / 0.5164 GB, free: 13.4 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.makefile make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.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_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Nitrogen -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.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.o Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.c Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.c:305:59: error: use of undeclared identifier 'i' tmp20 = modelica_integer_to_modelica_string(i, ((modelica_integer) 0), 1 /* true */); ^ Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.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.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.c:311:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.c:319:106: error: use of undeclared identifier 'i' throwStreamPrint(threadData, "Index %ld out of bounds [1..1] for array {\"N2\"}", (long) i); ^ Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.c:511:59: error: use of undeclared identifier 'i' tmp71 = modelica_integer_to_modelica_string(i, ((modelica_integer) 0), 1 /* true */); ^ Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.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.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.c:517:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.c:525:106: error: use of undeclared identifier 'i' throwStreamPrint(threadData, "Index %ld out of bounds [1..1] for array {\"N2\"}", (long) i); ^ Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.c:717:60: error: use of undeclared identifier 'i' tmp122 = modelica_integer_to_modelica_string(i, ((modelica_integer) 0), 1 /* true */); ^ Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.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.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.c:723:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.c:731:106: error: use of undeclared identifier 'i' throwStreamPrint(threadData, "Index %ld out of bounds [1..1] for array {\"N2\"}", (long) i); ^ 12 errors generated. make: *** [: Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.o] Error 1