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.001178/0.001178, allocations: 107.3 kB / 18.41 MB, free: 4.688 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.001191/0.001191, allocations: 193.4 kB / 19.35 MB, free: 3.762 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.288/1.288, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.015e-05/2.015e-05, allocations: 3.344 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.3679/0.368, allocations: 172.7 MB / 0.4902 GB, free: 9.332 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003739/0.3717, allocations: 3.193 MB / 0.4933 GB, free: 6.133 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000151/0.3719, allocations: 8 kB / 0.4933 GB, free: 6.125 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005544/0.3725, allocations: 174.8 kB / 0.4935 GB, free: 5.953 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00072/0.3733, allocations: 407.3 kB / 0.4938 GB, free: 5.555 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008019/0.3741, allocations: 345.9 kB / 0.4942 GB, free: 5.219 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008995/0.375, allocations: 0.9617 MB / 0.4951 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002341/0.3752, allocations: 129 kB / 0.4952 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001509/0.3767, allocations: 0.8174 MB / 0.496 GB, free: 3.312 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002742/0.377, allocations: 250.9 kB / 0.4963 GB, free: 3.066 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.114e-05/0.3771, allocations: 32 kB / 0.4963 GB, free: 3.035 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003468/0.3774, allocations: 143.9 kB / 0.4964 GB, free: 2.895 MB / 398.1 MB Notification: Performance of combineBinaries: time 0.0004526/0.3779, allocations: 0.5462 MB / 0.497 GB, free: 2.344 MB / 398.1 MB Notification: Performance of replaceArrayConstructors: time 0.000187/0.3781, allocations: 323.7 kB / 0.4973 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.448e-05/0.3782, allocations: 63.88 kB / 0.4973 GB, free: 1.961 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.938e-05/0.3782, allocations: 8 kB / 0.4974 GB, free: 1.953 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.001381/0.3796, allocations: 1.573 MB / 0.4989 GB, free: 284 kB / 398.1 MB Notification: Performance of FunctionAlias: time 9.856e-05/0.3797, allocations: 89.44 kB / 0.499 GB, free: 200 kB / 398.1 MB Notification: Performance of Early Inline: time 0.0006106/0.3803, allocations: 0.7089 MB / 0.4997 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simplify1: time 5.678e-05/0.3804, allocations: 63.91 kB / 0.4997 GB, free: 15.39 MB / 414.1 MB Notification: Performance of Alias: time 0.001318/0.3817, allocations: 1.269 MB / 0.501 GB, free: 13.96 MB / 414.1 MB Notification: Performance of simplify2: time 3.984e-05/0.3818, allocations: 47.88 kB / 0.501 GB, free: 13.92 MB / 414.1 MB Notification: Performance of Events: time 0.000197/0.382, allocations: 139.7 kB / 0.5011 GB, free: 13.79 MB / 414.1 MB Notification: Performance of Detect States: time 0.0002349/0.3822, allocations: 205.2 kB / 0.5013 GB, free: 13.57 MB / 414.1 MB Notification: Performance of Partitioning: time 0.0003279/0.3825, allocations: 346.9 kB / 0.5017 GB, free: 13.12 MB / 414.1 MB Notification: Performance of Causalize: time 0.001277/0.3838, allocations: 1.366 MB / 0.503 GB, free: 11.66 MB / 414.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004496/0.3843, allocations: 0.4945 MB / 0.5035 GB, free: 11.14 MB / 414.1 MB Notification: Performance of Inline: time 0.0009366/0.3852, allocations: 1.002 MB / 0.5045 GB, free: 10.1 MB / 414.1 MB Notification: Performance of Partitioning: time 6.41e-05/0.3853, allocations: 58.38 kB / 0.5045 GB, free: 10.03 MB / 414.1 MB Notification: Performance of Cleanup: time 4.044e-05/0.3854, allocations: 43.89 kB / 0.5046 GB, free: 9.988 MB / 414.1 MB Notification: Performance of Causalize: time 0.001664/0.387, allocations: 1.804 MB / 0.5063 GB, free: 8.207 MB / 414.1 MB Notification: Performance of Tearing: time 0.0002352/0.3873, allocations: 238.1 kB / 0.5066 GB, free: 7.926 MB / 414.1 MB Notification: Performance of Initialization: time 4.51e-07/0.3873, allocations: 3.938 kB / 0.5066 GB, free: 7.922 MB / 414.1 MB Notification: Performance of Tearing: time 0.0007725/0.3881, allocations: 0.6722 MB / 0.5072 GB, free: 7.152 MB / 414.1 MB Notification: Performance of Categorize: time 1.598e-05/0.3881, allocations: 0 / 0.5072 GB, free: 7.152 MB / 414.1 MB Notification: Performance of Solve: time 0.0004476/0.3885, allocations: 0.4925 MB / 0.5077 GB, free: 6.605 MB / 414.1 MB Notification: Performance of Jacobian: time 0.0002786/0.3888, allocations: 358.4 kB / 0.508 GB, free: 6.219 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.026e-05/0.3889, allocations: 45.09 kB / 0.5081 GB, free: 6.18 MB / 414.1 MB Notification: Performance of SimCode: time 0.002252/0.3911, allocations: 2.323 MB / 0.5103 GB, free: 3.816 MB / 414.1 MB Notification: Performance of Templates: time 0.01012/0.4013, allocations: 6.451 MB / 0.5166 GB, free: 13.36 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