Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.001341/0.001341, allocations: 111 kB / 16.42 MB, free: 6.516 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.001381/0.001381, allocations: 187.2 kB / 17.35 MB, free: 5.754 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.335/1.335, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.373e-05/2.373e-05, allocations: 2.281 kB / 327.2 MB, free: 3.297 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.3949/0.3949, allocations: 173.6 MB / 0.4891 GB, free: 8.305 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003659/0.3986, allocations: 3.219 MB / 0.4922 GB, free: 5.078 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001545/0.3988, allocations: 7.938 kB / 0.4923 GB, free: 5.07 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005528/0.3994, allocations: 163 kB / 0.4924 GB, free: 4.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000778/0.4002, allocations: 411.2 kB / 0.4928 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007907/0.401, allocations: 344.2 kB / 0.4931 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008822/0.4019, allocations: 0.9578 MB / 0.4941 GB, free: 3.211 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002301/0.4021, allocations: 124.9 kB / 0.4942 GB, free: 3.098 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001535/0.4037, allocations: 0.822 MB / 0.495 GB, free: 2.273 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00027/0.404, allocations: 239 kB / 0.4952 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.654e-05/0.404, allocations: 32 kB / 0.4952 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003106/0.4043, allocations: 147.9 kB / 0.4954 GB, free: 1.863 MB / 398.1 MB Notification: Performance of combineBinaries: time 0.0004797/0.4048, allocations: 0.5539 MB / 0.4959 GB, free: 1.305 MB / 398.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002125/0.4051, allocations: 320.6 kB / 0.4962 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.421e-05/0.4051, allocations: 71.81 kB / 0.4963 GB, free: 0.918 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.099e-05/0.4052, allocations: 4 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.001484/0.4067, allocations: 1.579 MB / 0.4978 GB, free: 15.23 MB / 414.1 MB Notification: Performance of FunctionAlias: time 0.0001164/0.4068, allocations: 80.98 kB / 0.4979 GB, free: 15.15 MB / 414.1 MB Notification: Performance of Early Inline: time 0.0006482/0.4074, allocations: 0.7175 MB / 0.4986 GB, free: 14.41 MB / 414.1 MB Notification: Performance of simplify1: time 5.09e-05/0.4075, allocations: 47.94 kB / 0.4987 GB, free: 14.36 MB / 414.1 MB Notification: Performance of Alias: time 0.001406/0.4089, allocations: 1.284 MB / 0.4999 GB, free: 12.92 MB / 414.1 MB Notification: Performance of simplify2: time 5.078e-05/0.409, allocations: 39.95 kB / 0.5 GB, free: 12.88 MB / 414.1 MB Notification: Performance of Events: time 0.0002096/0.4092, allocations: 137.4 kB / 0.5001 GB, free: 12.75 MB / 414.1 MB Notification: Performance of Detect States: time 0.0002582/0.4095, allocations: 205.1 kB / 0.5003 GB, free: 12.53 MB / 414.1 MB Notification: Performance of Partitioning: time 0.0003154/0.4098, allocations: 338.2 kB / 0.5006 GB, free: 12.09 MB / 414.1 MB Notification: Performance of Causalize: time 0.001345/0.4111, allocations: 1.377 MB / 0.502 GB, free: 10.62 MB / 414.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004677/0.4116, allocations: 0.5065 MB / 0.5024 GB, free: 10.08 MB / 414.1 MB Notification: Performance of Inline: time 0.000957/0.4126, allocations: 0.9906 MB / 0.5034 GB, free: 9.055 MB / 414.1 MB Notification: Performance of Partitioning: time 7.592e-05/0.4127, allocations: 70.33 kB / 0.5035 GB, free: 8.977 MB / 414.1 MB Notification: Performance of Cleanup: time 4.03e-05/0.4127, allocations: 43.84 kB / 0.5035 GB, free: 8.934 MB / 414.1 MB Notification: Performance of Causalize: time 0.001699/0.4144, allocations: 1.791 MB / 0.5053 GB, free: 7.164 MB / 414.1 MB Notification: Performance of Tearing: time 0.0002231/0.4146, allocations: 238.3 kB / 0.5055 GB, free: 6.883 MB / 414.1 MB Notification: Performance of Initialization: time 4.01e-07/0.4147, allocations: 7.875 kB / 0.5055 GB, free: 6.875 MB / 414.1 MB Notification: Performance of Tearing: time 0.0007807/0.4154, allocations: 0.6644 MB / 0.5062 GB, free: 6.113 MB / 414.1 MB Notification: Performance of Categorize: time 2.605e-05/0.4155, allocations: 7.969 kB / 0.5062 GB, free: 6.105 MB / 414.1 MB Notification: Performance of Solve: time 0.0005227/0.416, allocations: 492.4 kB / 0.5066 GB, free: 5.574 MB / 414.1 MB Notification: Performance of Jacobian: time 0.0002773/0.4163, allocations: 362 kB / 0.507 GB, free: 5.184 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 6.354e-05/0.4164, allocations: 45.28 kB / 0.507 GB, free: 5.145 MB / 414.1 MB Notification: Performance of SimCode: time 0.002293/0.4187, allocations: 2.33 MB / 0.5093 GB, free: 2.777 MB / 414.1 MB Notification: Performance of Templates: time 0.009995/0.4287, allocations: 6.437 MB / 0.5156 GB, free: 12.33 MB / 430.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.makefile make -j1 -f Modelica_3.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_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.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.o Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.c Modelica_3.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.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.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.c:311:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.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.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.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.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.c:517:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.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.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.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.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.c:723:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.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.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.o] Error 1