Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.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.Water.IdealSteam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 115.6 kB / 17.76 MB, free: 5.191 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.0009338/0.0009337, allocations: 193.8 kB / 18.68 MB, free: 4.273 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.299/1.299, allocations: 205.1 MB / 224.6 MB, free: 12.24 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.701e-05/2.701e-05, allocations: 3.125 kB / 328.5 MB, free: 3.297 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.343/0.3431, allocations: 173.6 MB / 0.4904 GB, free: 8.309 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003496/0.3466, allocations: 3.212 MB / 0.4935 GB, free: 5.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001476/0.3468, allocations: 4 kB / 0.4935 GB, free: 5.086 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005148/0.3473, allocations: 174.9 kB / 0.4937 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007218/0.348, allocations: 413.3 kB / 0.4941 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007087/0.3488, allocations: 345.7 kB / 0.4944 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009647/0.3497, allocations: 0.9656 MB / 0.4954 GB, free: 3.207 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002138/0.35, allocations: 117.2 kB / 0.4955 GB, free: 3.098 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001458/0.3514, allocations: 0.8135 MB / 0.4963 GB, free: 2.281 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002507/0.3517, allocations: 247 kB / 0.4965 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.542e-05/0.3518, allocations: 32 kB / 0.4965 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00028/0.352, allocations: 143.8 kB / 0.4967 GB, free: 1.867 MB / 398.1 MB Notification: Performance of combineBinaries: time 0.0004072/0.3525, allocations: 0.5462 MB / 0.4972 GB, free: 1.316 MB / 398.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002311/0.3527, allocations: 323.6 kB / 0.4975 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.32e-05/0.3528, allocations: 67.81 kB / 0.4976 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.219e-05/0.3528, allocations: 12 kB / 0.4976 GB, free: 0.918 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.001324/0.3541, allocations: 1.577 MB / 0.4991 GB, free: 15.23 MB / 414.1 MB Notification: Performance of FunctionAlias: time 9.664e-05/0.3542, allocations: 81.2 kB / 0.4992 GB, free: 15.16 MB / 414.1 MB Notification: Performance of Early Inline: time 0.0005909/0.3548, allocations: 0.7215 MB / 0.4999 GB, free: 14.41 MB / 414.1 MB Notification: Performance of simplify1: time 4.758e-05/0.3549, allocations: 51.94 kB / 0.5 GB, free: 14.36 MB / 414.1 MB Notification: Performance of Alias: time 0.001393/0.3563, allocations: 1.28 MB / 0.5012 GB, free: 12.92 MB / 414.1 MB Notification: Performance of simplify2: time 3.703e-05/0.3563, allocations: 35.95 kB / 0.5013 GB, free: 12.88 MB / 414.1 MB Notification: Performance of Events: time 0.0001902/0.3565, allocations: 145.1 kB / 0.5014 GB, free: 12.74 MB / 414.1 MB Notification: Performance of Detect States: time 0.0002207/0.3568, allocations: 202 kB / 0.5016 GB, free: 12.53 MB / 414.1 MB Notification: Performance of Partitioning: time 0.0002798/0.357, allocations: 333.6 kB / 0.5019 GB, free: 12.1 MB / 414.1 MB Notification: Performance of Causalize: time 0.001236/0.3583, allocations: 1.384 MB / 0.5033 GB, free: 10.61 MB / 414.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004304/0.3587, allocations: 0.4984 MB / 0.5037 GB, free: 10.09 MB / 414.1 MB Notification: Performance of Inline: time 0.0009669/0.3597, allocations: 0.9914 MB / 0.5047 GB, free: 9.059 MB / 414.1 MB Notification: Performance of Partitioning: time 6.493e-05/0.3598, allocations: 70.3 kB / 0.5048 GB, free: 8.98 MB / 414.1 MB Notification: Performance of Cleanup: time 4.564e-05/0.3598, allocations: 43.83 kB / 0.5048 GB, free: 8.938 MB / 414.1 MB Notification: Performance of Causalize: time 0.001704/0.3615, allocations: 1.81 MB / 0.5066 GB, free: 7.152 MB / 414.1 MB Notification: Performance of Tearing: time 0.0002495/0.3618, allocations: 238.1 kB / 0.5068 GB, free: 6.871 MB / 414.1 MB Notification: Performance of Initialization: time 1.684e-06/0.3618, allocations: 8.094 kB / 0.5068 GB, free: 6.863 MB / 414.1 MB Notification: Performance of Tearing: time 0.0007093/0.3625, allocations: 0.6487 MB / 0.5075 GB, free: 6.117 MB / 414.1 MB Notification: Performance of Categorize: time 1.683e-05/0.3626, allocations: 3.938 kB / 0.5075 GB, free: 6.113 MB / 414.1 MB Notification: Performance of Solve: time 0.0004285/0.363, allocations: 0.4925 MB / 0.5079 GB, free: 5.57 MB / 414.1 MB Notification: Performance of Jacobian: time 0.0002522/0.3633, allocations: 362 kB / 0.5083 GB, free: 5.18 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.028e-05/0.3633, allocations: 44.83 kB / 0.5083 GB, free: 5.141 MB / 414.1 MB Notification: Performance of SimCode: time 0.001957/0.3653, allocations: 2.319 MB / 0.5106 GB, free: 2.781 MB / 414.1 MB Notification: Performance of Templates: time 0.009117/0.3744, allocations: 6.443 MB / 0.5169 GB, free: 12.33 MB / 430.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.makefile make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.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_Water_IdealSteam -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.Water.IdealSteam.o Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.c Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.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.Water.IdealSteam.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.Water.IdealSteam.c:311:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.c:319:107: error: use of undeclared identifier 'i' throwStreamPrint(threadData, "Index %ld out of bounds [1..1] for array {\"H2O\"}", (long) i); ^ Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.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.Water.IdealSteam.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.Water.IdealSteam.c:517:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.c:525:107: error: use of undeclared identifier 'i' throwStreamPrint(threadData, "Index %ld out of bounds [1..1] for array {\"H2O\"}", (long) i); ^ Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.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.Water.IdealSteam.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.Water.IdealSteam.c:723:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.c:731:107: error: use of undeclared identifier 'i' throwStreamPrint(threadData, "Index %ld out of bounds [1..1] for array {\"H2O\"}", (long) i); ^ 12 errors generated. make: *** [: Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.o] Error 1