Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.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.WaterIF97_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 106.8 kB / 16.42 MB, free: 6.457 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.001109/0.001109, allocations: 190 kB / 17.36 MB, free: 5.707 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.252/1.252, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.047e-05/2.048e-05, allocations: 2.281 kB / 327.2 MB, free: 3.289 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.03019/0.03022, allocations: 32.57 MB / 359.8 MB, free: 2.594 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01631/0.04657, allocations: 15.72 MB / 375.5 MB, free: 2.824 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002702/0.04688, allocations: 4 kB / 375.5 MB, free: 2.82 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007752/0.04766, allocations: 274.3 kB / 375.8 MB, free: 2.551 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006114/0.04829, allocations: 358 kB / 376.1 MB, free: 2.199 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1753/0.2237, allocations: 5.784 MB / 381.9 MB, free: 11.7 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001221/0.2249, allocations: 1.058 MB / 383 MB, free: 11.7 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002363/0.2252, allocations: 126.2 kB / 383.1 MB, free: 11.7 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004745/0.2299, allocations: 2.207 MB / 385.3 MB, free: 11.22 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002991/0.2302, allocations: 268.9 kB / 385.6 MB, free: 11.22 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.941e-05/0.2303, allocations: 37.38 kB / 385.6 MB, free: 11.22 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004725/0.235, allocations: 3.619 MB / 389.2 MB, free: 11.21 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0004766/0.2355, allocations: 0.6415 MB / 389.9 MB, free: 11.03 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001877/0.2357, allocations: 389.9 kB / 390.3 MB, free: 10.81 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001195/0.2358, allocations: 77.88 kB / 390.3 MB, free: 10.8 MB / 318.1 MB Notification: Performance of FrontEnd: time 6.129e-05/0.2359, allocations: 9.812 kB / 390.3 MB, free: 10.8 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 (78) * Number of variables: 78 (78) Notification: Performance of Bindings: time 0.001433/0.2373, allocations: 1.957 MB / 392.3 MB, free: 9.934 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0001082/0.2375, allocations: 111 kB / 392.4 MB, free: 9.922 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0007219/0.2382, allocations: 0.9914 MB / 393.4 MB, free: 9.82 MB / 318.1 MB Notification: Performance of simplify1: time 5.047e-05/0.2382, allocations: 63.3 kB / 393.5 MB, free: 9.82 MB / 318.1 MB Notification: Performance of Alias: time 0.001307/0.2396, allocations: 1.51 MB / 395 MB, free: 9.254 MB / 318.1 MB Notification: Performance of simplify2: time 4.17e-05/0.2396, allocations: 47.92 kB / 395 MB, free: 9.254 MB / 318.1 MB Notification: Performance of Events: time 0.0001546/0.2398, allocations: 132.8 kB / 395.1 MB, free: 9.234 MB / 318.1 MB Notification: Performance of Detect States: time 0.0002461/0.24, allocations: 252.9 kB / 395.4 MB, free: 9.18 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0003051/0.2403, allocations: 434 kB / 395.8 MB, free: 8.922 MB / 318.1 MB Notification: Performance of Causalize: time 0.001343/0.2417, allocations: 1.865 MB / 397.7 MB, free: 8.488 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0005064/0.2422, allocations: 0.6774 MB / 398.4 MB, free: 8.391 MB / 318.1 MB Notification: Performance of Inline: time 0.0008553/0.2431, allocations: 1.142 MB / 399.5 MB, free: 8.223 MB / 318.1 MB Notification: Performance of Partitioning: time 6.349e-05/0.2431, allocations: 84.22 kB / 399.6 MB, free: 8.191 MB / 318.1 MB Notification: Performance of Cleanup: time 3.345e-05/0.2432, allocations: 45.77 kB / 399.6 MB, free: 8.184 MB / 318.1 MB Notification: Performance of Causalize: time 0.001404/0.2446, allocations: 2.093 MB / 401.7 MB, free: 7.762 MB / 318.1 MB Notification: Performance of Tearing: time 0.000142/0.2447, allocations: 234.4 kB / 401.9 MB, free: 7.523 MB / 318.1 MB Notification: Performance of Initialization: time 4.71e-07/0.2447, allocations: 3.062 kB / 402 MB, free: 7.523 MB / 318.1 MB Notification: Performance of Tearing: time 0.0001731/0.2449, allocations: 0.505 MB / 402.5 MB, free: 7.016 MB / 318.1 MB Notification: Performance of Categorize: time 1.766e-05/0.245, allocations: 10.92 kB / 402.5 MB, free: 7.008 MB / 318.1 MB Notification: Performance of Solve: time 0.0002646/0.2452, allocations: 228.1 kB / 402.7 MB, free: 6.938 MB / 318.1 MB Notification: Performance of Jacobian: time 0.0002346/0.2455, allocations: 441.2 kB / 403.1 MB, free: 6.625 MB / 318.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 5 * 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) {volume.medium.state.phase, fixedMassFlowRate.medium.state.phase, ambient.medium.state.phase, $SEV_5[$i1], $SEV_4, $SEV_3[$i1], $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: ........... 45 (scalar:42, 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: ... 2 (linear: 0, nonlinear:2) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 70 (scalar:64, 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.502e-05/0.2455, allocations: 34.39 kB / 403.2 MB, free: 6.605 MB / 318.1 MB Notification: Performance of SimCode: time 0.005186/0.2507, allocations: 4.116 MB / 407.3 MB, free: 4.992 MB / 318.1 MB Notification: Performance of Templates: time 0.02178/0.2725, allocations: 19.28 MB / 426.5 MB, free: 3.91 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.makefile make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.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_WaterIF97_pT -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.o Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.c Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.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.WaterIF97_pT.c:308:127: error: use of undeclared identifier 'i' tmp24 = modelica_real_to_modelica_string((&data->localData[0]->realVars[31] /* 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.WaterIF97_pT.c:311:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.c:319:109: error: use of undeclared identifier 'i' throwStreamPrint(threadData, "Index %ld out of bounds [1..1] for array {\"water\"}", (long) i); ^ Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.c:456:59: error: use of undeclared identifier 'i' tmp59 = modelica_integer_to_modelica_string(i, ((modelica_integer) 0), 1 /* true */); ^ Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.c:459:137: error: use of undeclared identifier 'i' tmp63 = modelica_real_to_modelica_string((&data->localData[0]->realVars[20] /* 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.WaterIF97_pT.c:462:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.c:470:109: error: use of undeclared identifier 'i' throwStreamPrint(threadData, "Index %ld out of bounds [1..1] for array {\"water\"}", (long) i); ^ Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.c:607:59: error: use of undeclared identifier 'i' tmp98 = modelica_integer_to_modelica_string(i, ((modelica_integer) 0), 1 /* true */); ^ Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.c:610:126: error: use of undeclared identifier 'i' tmp102 = 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.WaterIF97_pT.c:613:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.c:621:109: error: use of undeclared identifier 'i' throwStreamPrint(threadData, "Index %ld out of bounds [1..1] for array {\"water\"}", (long) i); ^ 12 errors generated. make: *** [: Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.o] Error 1