Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.001075/0.001075, allocations: 105.8 kB / 16.42 MB, free: 6.461 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.001086/0.001086, allocations: 189.9 kB / 17.36 MB, free: 5.73 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.245/1.245, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.908e-05/1.909e-05, allocations: 6.219 kB / 327.2 MB, free: 3.309 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.3188/0.3188, allocations: 172.7 MB / 499.9 MB, free: 9.211 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003598/0.3224, allocations: 3.213 MB / 0.4914 GB, free: 5.992 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001483/0.3226, allocations: 4 kB / 0.4914 GB, free: 5.988 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005617/0.3232, allocations: 170.9 kB / 0.4915 GB, free: 5.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007954/0.324, allocations: 407.3 kB / 0.4919 GB, free: 5.422 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007783/0.3249, allocations: 345.4 kB / 0.4922 GB, free: 5.086 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009359/0.3258, allocations: 0.9656 MB / 0.4932 GB, free: 4.117 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002394/0.326, allocations: 124.8 kB / 0.4933 GB, free: 4 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001737/0.3278, allocations: 0.8136 MB / 0.4941 GB, free: 3.184 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002945/0.3281, allocations: 246.9 kB / 0.4943 GB, free: 2.941 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.045e-05/0.3282, allocations: 36 kB / 0.4944 GB, free: 2.906 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003324/0.3285, allocations: 147.9 kB / 0.4945 GB, free: 2.762 MB / 398.1 MB Notification: Performance of combineBinaries: time 0.0004587/0.329, allocations: 0.5423 MB / 0.495 GB, free: 2.215 MB / 398.1 MB Notification: Performance of replaceArrayConstructors: time 0.00019/0.3292, allocations: 319.7 kB / 0.4953 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.179e-05/0.3292, allocations: 63.88 kB / 0.4954 GB, free: 1.836 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.891e-05/0.3293, allocations: 11.94 kB / 0.4954 GB, free: 1.824 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.001568/0.3309, allocations: 1.58 MB / 0.497 GB, free: 144 kB / 398.1 MB Notification: Performance of FunctionAlias: time 0.0001004/0.331, allocations: 74.22 kB / 0.497 GB, free: 72 kB / 398.1 MB Notification: Performance of Early Inline: time 0.0006938/0.3317, allocations: 0.7206 MB / 0.4977 GB, free: 15.32 MB / 414.1 MB Notification: Performance of simplify1: time 6.995e-05/0.3317, allocations: 59.91 kB / 0.4978 GB, free: 15.26 MB / 414.1 MB Notification: Performance of Alias: time 0.001498/0.3333, allocations: 1.272 MB / 0.499 GB, free: 13.83 MB / 414.1 MB Notification: Performance of simplify2: time 4.996e-05/0.3333, allocations: 43.94 kB / 0.4991 GB, free: 13.79 MB / 414.1 MB Notification: Performance of Events: time 0.0002136/0.3335, allocations: 148 kB / 0.4992 GB, free: 13.65 MB / 414.1 MB Notification: Performance of Detect States: time 0.0002636/0.3338, allocations: 197.2 kB / 0.4994 GB, free: 13.44 MB / 414.1 MB Notification: Performance of Partitioning: time 0.0003327/0.3342, allocations: 346.9 kB / 0.4997 GB, free: 13 MB / 414.1 MB Notification: Performance of Causalize: time 0.001323/0.3355, allocations: 1.372 MB / 0.5011 GB, free: 11.52 MB / 414.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004642/0.336, allocations: 498.4 kB / 0.5015 GB, free: 11.01 MB / 414.1 MB Notification: Performance of Inline: time 0.001059/0.337, allocations: 0.9988 MB / 0.5025 GB, free: 9.973 MB / 414.1 MB Notification: Performance of Partitioning: time 7.923e-05/0.3371, allocations: 62.36 kB / 0.5026 GB, free: 9.902 MB / 414.1 MB Notification: Performance of Cleanup: time 4.279e-05/0.3372, allocations: 39.91 kB / 0.5026 GB, free: 9.863 MB / 414.1 MB Notification: Performance of Causalize: time 0.001648/0.3388, allocations: 1.804 MB / 0.5044 GB, free: 8.082 MB / 414.1 MB Notification: Performance of Tearing: time 0.0002138/0.339, allocations: 250.1 kB / 0.5046 GB, free: 7.789 MB / 414.1 MB Notification: Performance of Initialization: time 3.9e-07/0.3391, allocations: 448 / 0.5046 GB, free: 7.789 MB / 414.1 MB Notification: Performance of Tearing: time 0.0007732/0.3398, allocations: 0.6604 MB / 0.5053 GB, free: 7.031 MB / 414.1 MB Notification: Performance of Categorize: time 1.878e-05/0.3399, allocations: 4.031 kB / 0.5053 GB, free: 7.027 MB / 414.1 MB Notification: Performance of Solve: time 0.0004593/0.3403, allocations: 0.4925 MB / 0.5057 GB, free: 6.48 MB / 414.1 MB Notification: Performance of Jacobian: time 0.0002587/0.3406, allocations: 358 kB / 0.5061 GB, free: 6.094 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.668e-05/0.3407, allocations: 49.81 kB / 0.5061 GB, free: 6.051 MB / 414.1 MB Notification: Performance of SimCode: time 0.002266/0.3429, allocations: 2.33 MB / 0.5084 GB, free: 3.684 MB / 414.1 MB Notification: Performance of Templates: time 0.009933/0.3529, allocations: 6.445 MB / 0.5147 GB, free: 13.23 MB / 430.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.makefile make -j1 -f Modelica_3.2.1_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 -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_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.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.o Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.c Modelica_3.2.1_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.1_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.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.c:311:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.1_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.1_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.1_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.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.c:517:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.1_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.1_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.1_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.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.c:723:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.1_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.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.o] Error 1