Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam,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.Water.IdealSteam") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001499/0.001499, allocations: 107.6 kB / 18.41 MB, free: 4.668 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.00124/0.00124, allocations: 191.1 kB / 19.35 MB, free: 3.742 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.533/1.533, allocations: 205.1 MB / 225.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.743e-05/2.745e-05, allocations: 2.281 kB / 329.2 MB, free: 3.332 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.5124/0.5124, allocations: 173.6 MB / 0.491 GB, free: 8.348 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00474/0.5172, allocations: 3.212 MB / 0.4942 GB, free: 5.129 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002092/0.5174, allocations: 4 kB / 0.4942 GB, free: 5.125 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000812/0.5183, allocations: 174.9 kB / 0.4944 GB, free: 4.953 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008898/0.5192, allocations: 401.4 kB / 0.4947 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008489/0.5201, allocations: 343.8 kB / 0.4951 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001068/0.5212, allocations: 0.9616 MB / 0.496 GB, free: 3.262 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002857/0.5215, allocations: 125.2 kB / 0.4961 GB, free: 3.145 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001827/0.5233, allocations: 0.8213 MB / 0.4969 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003682/0.5237, allocations: 239 kB / 0.4972 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.078e-05/0.5238, allocations: 32 kB / 0.4972 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003627/0.5241, allocations: 147.9 kB / 0.4973 GB, free: 1.91 MB / 398.1 MB Notification: Performance of combineBinaries: time 0.0004908/0.5246, allocations: 0.5462 MB / 0.4979 GB, free: 1.359 MB / 398.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002345/0.5249, allocations: 328.5 kB / 0.4982 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.57e-05/0.525, allocations: 59.88 kB / 0.4982 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of FrontEnd: time 6.608e-05/0.525, allocations: 11.88 kB / 0.4982 GB, free: 0.9648 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.001675/0.5267, allocations: 1.589 MB / 0.4998 GB, free: 15.27 MB / 414.1 MB Notification: Performance of FunctionAlias: time 0.0001205/0.5268, allocations: 81.39 kB / 0.4999 GB, free: 15.2 MB / 414.1 MB Notification: Performance of Early Inline: time 0.0006993/0.5275, allocations: 0.7283 MB / 0.5006 GB, free: 14.45 MB / 414.1 MB Notification: Performance of simplify1: time 5.47e-05/0.5276, allocations: 47.94 kB / 0.5006 GB, free: 14.4 MB / 414.1 MB Notification: Performance of Alias: time 0.001797/0.5294, allocations: 1.423 MB / 0.502 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simplify2: time 4.17e-05/0.5295, allocations: 35.95 kB / 0.502 GB, free: 12.77 MB / 414.1 MB Notification: Performance of Events: time 0.0002464/0.5297, allocations: 142 kB / 0.5022 GB, free: 12.64 MB / 414.1 MB Notification: Performance of Detect States: time 0.0002593/0.53, allocations: 209.1 kB / 0.5024 GB, free: 12.42 MB / 414.1 MB Notification: Performance of Partitioning: time 0.0003637/0.5304, allocations: 333.6 kB / 0.5027 GB, free: 11.98 MB / 414.1 MB Notification: Performance of Causalize: time 0.001256/0.5316, allocations: 1.012 MB / 0.5037 GB, free: 10.86 MB / 414.1 MB Notification: Performance of After Index Reduction Inline: time 0.0005012/0.5321, allocations: 0.5102 MB / 0.5042 GB, free: 10.33 MB / 414.1 MB Notification: Performance of Inline: time 0.001051/0.5332, allocations: 0.9983 MB / 0.5052 GB, free: 9.289 MB / 414.1 MB Notification: Performance of Partitioning: time 7.945e-05/0.5333, allocations: 74.27 kB / 0.5052 GB, free: 9.211 MB / 414.1 MB Notification: Performance of Cleanup: time 4.551e-05/0.5333, allocations: 39.91 kB / 0.5053 GB, free: 9.172 MB / 414.1 MB Notification: Performance of Causalize: time 0.001995/0.5353, allocations: 1.421 MB / 0.5067 GB, free: 7.746 MB / 414.1 MB Notification: Performance of Tearing: time 0.0002707/0.5356, allocations: 234.2 kB / 0.5069 GB, free: 7.469 MB / 414.1 MB Notification: Performance of Initialization: time 2.234e-06/0.5356, allocations: 0 / 0.5069 GB, free: 7.469 MB / 414.1 MB Notification: Performance of Tearing: time 0.0008173/0.5365, allocations: 0.6604 MB / 0.5075 GB, free: 6.711 MB / 414.1 MB Notification: Performance of Categorize: time 2.253e-05/0.5365, allocations: 11.95 kB / 0.5075 GB, free: 6.699 MB / 414.1 MB Notification: Performance of Solve: time 0.0004945/0.537, allocations: 496.4 kB / 0.508 GB, free: 6.16 MB / 414.1 MB Notification: Performance of Jacobian: time 0.0003012/0.5373, allocations: 354 kB / 0.5084 GB, free: 5.777 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.685e-05/0.5374, allocations: 40.05 kB / 0.5084 GB, free: 5.738 MB / 414.1 MB Notification: Performance of SimCode: time 0.002951/0.5403, allocations: 2.318 MB / 0.5107 GB, free: 3.383 MB / 414.1 MB Notification: Performance of Templates: time 0.01226/0.5526, allocations: 6.578 MB / 0.5171 GB, free: 12.8 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.makefile make -j1 -f Modelica_3.2.3_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_3_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.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.o Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.c Modelica_3.2.3_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.3_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.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.c:311:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.3_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.3_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.3_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.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.c:517:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.3_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.3_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.3_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.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.c:723:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.3_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.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.o] Error 1