Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.001032/0.001032, allocations: 102.6 kB / 16.42 MB, free: 6.473 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.0009505/0.0009504, allocations: 186 kB / 17.36 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.206/1.206, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.195e-05/2.196e-05, allocations: 3.125 kB / 327.2 MB, free: 3.293 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.325/0.325, allocations: 173.6 MB / 0.4891 GB, free: 8.305 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003863/0.3289, allocations: 3.209 MB / 0.4922 GB, free: 5.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002/0.3291, allocations: 4 kB / 0.4922 GB, free: 5.086 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007076/0.3298, allocations: 174.9 kB / 0.4924 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008488/0.3307, allocations: 411.2 kB / 0.4928 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008285/0.3316, allocations: 340.8 kB / 0.4931 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000918/0.3325, allocations: 0.9655 MB / 0.4941 GB, free: 3.211 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002385/0.3328, allocations: 128.9 kB / 0.4942 GB, free: 3.094 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001628/0.3344, allocations: 0.8135 MB / 0.495 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000267/0.3347, allocations: 243 kB / 0.4952 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.895e-05/0.3347, allocations: 32 kB / 0.4952 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003125/0.335, allocations: 147.8 kB / 0.4954 GB, free: 1.863 MB / 398.1 MB Notification: Performance of combineBinaries: time 0.0004637/0.3355, allocations: 0.5462 MB / 0.4959 GB, free: 1.312 MB / 398.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001913/0.3357, allocations: 319.7 kB / 0.4962 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.343e-05/0.3358, allocations: 75.75 kB / 0.4963 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.831e-05/0.3359, allocations: 8 kB / 0.4963 GB, free: 0.9141 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.001566/0.3374, allocations: 1.572 MB / 0.4978 GB, free: 15.23 MB / 414.1 MB Notification: Performance of FunctionAlias: time 0.000106/0.3375, allocations: 80.97 kB / 0.4979 GB, free: 15.16 MB / 414.1 MB Notification: Performance of Early Inline: time 0.000606/0.3381, allocations: 0.7254 MB / 0.4986 GB, free: 14.41 MB / 414.1 MB Notification: Performance of simplify1: time 5.064e-05/0.3382, allocations: 51.92 kB / 0.4987 GB, free: 14.36 MB / 414.1 MB Notification: Performance of Alias: time 0.001392/0.3396, allocations: 1.272 MB / 0.4999 GB, free: 12.92 MB / 414.1 MB Notification: Performance of simplify2: time 3.891e-05/0.3397, allocations: 35.95 kB / 0.5 GB, free: 12.89 MB / 414.1 MB Notification: Performance of Events: time 0.0002069/0.3399, allocations: 149.1 kB / 0.5001 GB, free: 12.74 MB / 414.1 MB Notification: Performance of Detect States: time 0.0002518/0.3401, allocations: 205.2 kB / 0.5003 GB, free: 12.53 MB / 414.1 MB Notification: Performance of Partitioning: time 0.0003215/0.3405, allocations: 341.5 kB / 0.5006 GB, free: 12.09 MB / 414.1 MB Notification: Performance of Causalize: time 0.001274/0.3417, allocations: 1.377 MB / 0.502 GB, free: 10.61 MB / 414.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004732/0.3422, allocations: 0.4947 MB / 0.5024 GB, free: 10.09 MB / 414.1 MB Notification: Performance of Inline: time 0.0009242/0.3432, allocations: 0.9873 MB / 0.5034 GB, free: 9.062 MB / 414.1 MB Notification: Performance of Partitioning: time 7.505e-05/0.3433, allocations: 74.33 kB / 0.5035 GB, free: 8.98 MB / 414.1 MB Notification: Performance of Cleanup: time 4.51e-05/0.3433, allocations: 39.91 kB / 0.5035 GB, free: 8.941 MB / 414.1 MB Notification: Performance of Causalize: time 0.001643/0.345, allocations: 1.805 MB / 0.5053 GB, free: 7.16 MB / 414.1 MB Notification: Performance of Tearing: time 0.0002235/0.3452, allocations: 238.2 kB / 0.5055 GB, free: 6.879 MB / 414.1 MB Notification: Performance of Initialization: time 4.51e-07/0.3452, allocations: 4.406 kB / 0.5055 GB, free: 6.875 MB / 414.1 MB Notification: Performance of Tearing: time 0.0007429/0.3459, allocations: 0.6604 MB / 0.5062 GB, free: 6.117 MB / 414.1 MB Notification: Performance of Categorize: time 2.003e-05/0.346, allocations: 8.016 kB / 0.5062 GB, free: 6.109 MB / 414.1 MB Notification: Performance of Solve: time 0.0004667/0.3464, allocations: 496.4 kB / 0.5066 GB, free: 5.574 MB / 414.1 MB Notification: Performance of Jacobian: time 0.0002705/0.3467, allocations: 365.9 kB / 0.507 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 4.388e-05/0.3468, allocations: 44.83 kB / 0.507 GB, free: 5.141 MB / 414.1 MB Notification: Performance of SimCode: time 0.002185/0.349, allocations: 2.323 MB / 0.5093 GB, free: 2.781 MB / 414.1 MB Notification: Performance of Templates: time 0.009944/0.3589, allocations: 6.439 MB / 0.5156 GB, free: 12.33 MB / 430.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.makefile make -j1 -f Modelica_3.2.1_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 -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_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.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.o Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.c Modelica_3.2.1_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.1_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.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.c:311:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.1_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.1_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.1_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.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.c:517:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.1_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.1_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.1_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.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.c:723:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.1_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.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.o] Error 1