Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.0009343/0.0009343, allocations: 113 kB / 17.75 MB, free: 5.336 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.0008779/0.0008779, allocations: 184.7 kB / 18.68 MB, free: 4.414 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.286/1.286, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.105e-05/2.106e-05, allocations: 5.234 kB / 328.5 MB, free: 3.309 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.03022/0.03025, allocations: 32.57 MB / 361.1 MB, free: 2.609 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01593/0.04621, allocations: 15.73 MB / 376.8 MB, free: 2.828 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002618/0.04651, allocations: 8 kB / 376.9 MB, free: 2.82 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007568/0.04727, allocations: 262.4 kB / 377.1 MB, free: 2.562 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006081/0.04789, allocations: 358 kB / 377.5 MB, free: 2.211 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1775/0.2254, allocations: 5.78 MB / 383.2 MB, free: 11.73 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001279/0.2267, allocations: 1.064 MB / 384.3 MB, free: 11.73 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002186/0.227, allocations: 123.8 kB / 384.4 MB, free: 11.73 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004625/0.2316, allocations: 2.204 MB / 386.6 MB, free: 11.26 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003024/0.2319, allocations: 268.8 kB / 386.9 MB, free: 11.26 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.602e-05/0.232, allocations: 37.81 kB / 386.9 MB, free: 11.26 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004912/0.2369, allocations: 3.621 MB / 390.6 MB, free: 11.25 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0005138/0.2374, allocations: 0.6408 MB / 391.2 MB, free: 11.06 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002004/0.2376, allocations: 389.1 kB / 391.6 MB, free: 10.84 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.2377, allocations: 79.16 kB / 391.7 MB, free: 10.83 MB / 318.1 MB Notification: Performance of FrontEnd: time 5.411e-05/0.2378, allocations: 5.562 kB / 391.7 MB, free: 10.83 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.00145/0.2393, allocations: 1.96 MB / 393.6 MB, free: 9.977 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0001197/0.2394, allocations: 122.1 kB / 393.7 MB, free: 9.965 MB / 318.1 MB Notification: Performance of Early Inline: time 0.000749/0.2401, allocations: 0.983 MB / 394.7 MB, free: 9.863 MB / 318.1 MB Notification: Performance of simplify1: time 4.645e-05/0.2402, allocations: 62.27 kB / 394.8 MB, free: 9.859 MB / 318.1 MB Notification: Performance of Alias: time 0.001327/0.2415, allocations: 1.509 MB / 396.3 MB, free: 9.301 MB / 318.1 MB Notification: Performance of simplify2: time 4.178e-05/0.2416, allocations: 45.5 kB / 396.3 MB, free: 9.301 MB / 318.1 MB Notification: Performance of Events: time 0.0001595/0.2417, allocations: 137.3 kB / 396.5 MB, free: 9.273 MB / 318.1 MB Notification: Performance of Detect States: time 0.000237/0.242, allocations: 241.1 kB / 396.7 MB, free: 9.23 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0003141/0.2423, allocations: 440.2 kB / 397.1 MB, free: 8.965 MB / 318.1 MB Notification: Performance of Causalize: time 0.001393/0.2437, allocations: 1.874 MB / 399 MB, free: 8.531 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004774/0.2442, allocations: 0.6778 MB / 399.7 MB, free: 8.434 MB / 318.1 MB Notification: Performance of Inline: time 0.0008657/0.2451, allocations: 1.135 MB / 400.8 MB, free: 8.27 MB / 318.1 MB Notification: Performance of Partitioning: time 6.72e-05/0.2451, allocations: 84.17 kB / 400.9 MB, free: 8.238 MB / 318.1 MB Notification: Performance of Cleanup: time 4.029e-05/0.2452, allocations: 48.98 kB / 400.9 MB, free: 8.23 MB / 318.1 MB Notification: Performance of Causalize: time 0.001511/0.2467, allocations: 2.096 MB / 403 MB, free: 7.789 MB / 318.1 MB Notification: Performance of Tearing: time 0.0001485/0.2469, allocations: 237.6 kB / 403.3 MB, free: 7.547 MB / 318.1 MB Notification: Performance of Initialization: time 1.223e-06/0.2469, allocations: 0 / 403.3 MB, free: 7.547 MB / 318.1 MB Notification: Performance of Tearing: time 0.0001785/0.2471, allocations: 0.4961 MB / 403.8 MB, free: 7.051 MB / 318.1 MB Notification: Performance of Categorize: time 1.622e-05/0.2471, allocations: 6.875 kB / 403.8 MB, free: 7.047 MB / 318.1 MB Notification: Performance of Solve: time 0.0002677/0.2474, allocations: 241.4 kB / 404 MB, free: 6.965 MB / 318.1 MB Notification: Performance of Jacobian: time 0.0002383/0.2476, allocations: 439.4 kB / 404.4 MB, free: 6.656 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 0.0001038/0.2477, allocations: 32 kB / 404.5 MB, free: 6.637 MB / 318.1 MB Notification: Performance of SimCode: time 0.005286/0.253, allocations: 4.115 MB / 408.6 MB, free: 5.008 MB / 318.1 MB Notification: Performance of Templates: time 0.02273/0.2758, allocations: 19.29 MB / 427.9 MB, free: 3.922 MB / 334.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.makefile make -j1 -f Modelica_3.2.2_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 -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_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.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.o Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.c Modelica_3.2.2_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.2_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.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.c:311:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.2_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.2_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.2_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.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.c:462:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.2_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.2_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.2_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.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.c:613:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.2_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.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.o] Error 1