Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.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.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009502/0.0009504, allocations: 107.4 kB / 16.42 MB, free: 6.484 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.0009297/0.0009297, 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.251/1.251, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.56e-05/1.561e-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.WaterIF97OnePhase_ph): time 0.02988/0.0299, allocations: 32.57 MB / 359.8 MB, free: 2.594 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01749/0.04742, allocations: 15.73 MB / 375.5 MB, free: 2.816 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003262/0.04778, allocations: 8 kB / 375.5 MB, free: 2.809 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007874/0.04858, allocations: 270.4 kB / 375.8 MB, free: 2.543 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006722/0.0493, allocations: 361.9 kB / 376.2 MB, free: 2.188 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1715/0.2208, allocations: 5.777 MB / 381.9 MB, free: 11.75 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001248/0.2221, allocations: 1.088 MB / 383 MB, free: 11.75 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002245/0.2223, allocations: 127.5 kB / 383.1 MB, free: 11.74 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004702/0.227, allocations: 2.226 MB / 385.4 MB, free: 11.27 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003218/0.2274, allocations: 281.5 kB / 385.6 MB, free: 11.27 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.889e-05/0.2274, allocations: 43.16 kB / 385.7 MB, free: 11.27 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008207/0.2357, allocations: 5.589 MB / 391.3 MB, free: 11.25 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0005255/0.2362, allocations: 0.6482 MB / 391.9 MB, free: 11.07 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001632/0.2364, allocations: 389.9 kB / 392.3 MB, free: 10.86 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001103/0.2365, allocations: 83.19 kB / 392.4 MB, free: 10.84 MB / 318.1 MB Notification: Performance of FrontEnd: time 6.112e-05/0.2366, allocations: 5.844 kB / 392.4 MB, free: 10.84 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.001455/0.238, allocations: 2.031 MB / 394.4 MB, free: 9.973 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0001137/0.2381, allocations: 124.1 kB / 394.5 MB, free: 9.957 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0007803/0.2389, allocations: 1.015 MB / 395.6 MB, free: 9.855 MB / 318.1 MB Notification: Performance of simplify1: time 5.473e-05/0.239, allocations: 67.22 kB / 395.6 MB, free: 9.855 MB / 318.1 MB Notification: Performance of Alias: time 0.001224/0.2402, allocations: 1.539 MB / 397.2 MB, free: 9.273 MB / 318.1 MB Notification: Performance of simplify2: time 4.615e-05/0.2403, allocations: 60.48 kB / 397.2 MB, free: 9.27 MB / 318.1 MB Notification: Performance of Events: time 0.0001997/0.2405, allocations: 183.9 kB / 397.4 MB, free: 9.223 MB / 318.1 MB Notification: Performance of Detect States: time 0.0002795/0.2408, allocations: 290.4 kB / 397.7 MB, free: 9.172 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0002938/0.2411, allocations: 462.6 kB / 398.1 MB, free: 8.891 MB / 318.1 MB Notification: Performance of Causalize: time 0.001403/0.2425, allocations: 2.011 MB / 400.1 MB, free: 8.43 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0005914/0.2431, allocations: 0.8055 MB / 401 MB, free: 8.324 MB / 318.1 MB Notification: Performance of Inline: time 0.001003/0.2441, allocations: 1.318 MB / 402.3 MB, free: 7.852 MB / 318.1 MB Notification: Performance of Partitioning: time 6.189e-05/0.2442, allocations: 79.2 kB / 402.4 MB, free: 7.797 MB / 318.1 MB Notification: Performance of Cleanup: time 4.404e-05/0.2442, allocations: 63.2 kB / 402.4 MB, free: 7.758 MB / 318.1 MB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) -((-273.15) - volume.medium.T_degC) = properties.T ($RES_SIM_71) slice: {}; Notification: Performance of Causalize: time 0.002432/0.2467, allocations: 3.532 MB / 405.9 MB, free: 6.121 MB / 318.1 MB Notification: Performance of Tearing: time 0.0001816/0.2468, allocations: 297.6 kB / 406.2 MB, free: 5.855 MB / 318.1 MB Notification: Performance of Initialization: time 6.91e-07/0.2469, allocations: 0 / 406.2 MB, free: 5.855 MB / 318.1 MB Notification: Performance of Tearing: time 0.000168/0.247, allocations: 485.6 kB / 406.7 MB, free: 5.363 MB / 318.1 MB Notification: Performance of Categorize: time 1.833e-05/0.2471, allocations: 6.812 kB / 406.7 MB, free: 5.359 MB / 318.1 MB Notification: Performance of Solve: time 0.0003058/0.2474, allocations: 263.2 kB / 407 MB, free: 5.273 MB / 318.1 MB Notification: Performance of Jacobian: time 0.0002184/0.2476, allocations: 420.4 kB / 407.4 MB, free: 4.973 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: ......... 10 * 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: ................. 12 (12) {volume.medium.state.phase, fixedMassFlowRate.medium.state.phase, ambient.medium.state.phase, $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: ........... 49 (scalar:46, 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: ........... 67 (scalar:61, 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.0001028/0.2477, allocations: 59.06 kB / 407.4 MB, free: 4.93 MB / 318.1 MB Notification: Performance of SimCode: time 0.007777/0.2555, allocations: 5.505 MB / 412.9 MB, free: 1.629 MB / 318.1 MB Notification: Performance of Templates: time 0.03352/0.289, allocations: 28.65 MB / 441.6 MB, free: 5.012 MB / 350.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.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_WaterIF97OnePhase_ph -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.WaterIF97OnePhase_ph.o Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.c Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.c:329: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.WaterIF97OnePhase_ph.c:332:127: error: use of undeclared identifier 'i' tmp24 = modelica_real_to_modelica_string((&data->localData[0]->realVars[30] /* 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.WaterIF97OnePhase_ph.c:335:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.c:343: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.WaterIF97OnePhase_ph.c:541:59: error: use of undeclared identifier 'i' tmp75 = modelica_integer_to_modelica_string(i, ((modelica_integer) 0), 1 /* true */); ^ Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.c:544:137: error: use of undeclared identifier 'i' tmp79 = modelica_real_to_modelica_string((&data->localData[0]->realVars[19] /* 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.WaterIF97OnePhase_ph.c:547:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.c:555: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.WaterIF97OnePhase_ph.c:753:60: error: use of undeclared identifier 'i' tmp130 = modelica_integer_to_modelica_string(i, ((modelica_integer) 0), 1 /* true */); ^ Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.c:756:126: error: use of undeclared identifier 'i' tmp134 = 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.WaterIF97OnePhase_ph.c:759:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.c:767: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.WaterIF97OnePhase_ph.c:936:86: error: use of undeclared identifier 'properties' (data->localData[0]->realVars[14] /* volume.medium.T_degC variable */) = -273.15 + properties._T; ^ 13 errors generated. make: *** [: Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.o] Error 1