Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.00127/0.00127, allocations: 108.8 kB / 16.42 MB, free: 6.461 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.001369/0.001369, allocations: 189.5 kB / 17.36 MB, free: 5.73 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.358/1.358, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.782e-05/2.782e-05, allocations: 2.281 kB / 327.2 MB, free: 3.312 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.03319/0.03323, allocations: 32.58 MB / 359.8 MB, free: 2.609 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01772/0.05099, allocations: 15.73 MB / 375.5 MB, free: 2.828 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003893/0.05141, allocations: 7.938 kB / 375.5 MB, free: 2.82 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008238/0.05224, allocations: 266.4 kB / 375.8 MB, free: 2.559 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006758/0.05293, allocations: 361.9 kB / 376.2 MB, free: 2.203 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2242/0.2772, allocations: 5.774 MB / 381.9 MB, free: 11.8 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001924/0.2791, allocations: 1.094 MB / 383 MB, free: 11.8 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003252/0.2795, allocations: 132.3 kB / 383.2 MB, free: 11.79 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006079/0.2855, allocations: 2.218 MB / 385.4 MB, free: 11.32 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007716/0.2863, allocations: 273.6 kB / 385.6 MB, free: 11.32 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001542/0.2865, allocations: 43.12 kB / 385.7 MB, free: 11.32 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01092/0.2974, allocations: 5.599 MB / 391.3 MB, free: 11.3 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0009503/0.2984, allocations: 0.6527 MB / 391.9 MB, free: 11.12 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003186/0.2987, allocations: 384.2 kB / 392.3 MB, free: 10.9 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002218/0.299, allocations: 84.53 kB / 392.4 MB, free: 10.89 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.15e-05/0.2991, allocations: 8.688 kB / 392.4 MB, free: 10.89 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.002254/0.3013, allocations: 2.032 MB / 394.4 MB, free: 10.02 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0002303/0.3016, allocations: 118.8 kB / 394.5 MB, free: 10.01 MB / 318.1 MB Notification: Performance of Early Inline: time 0.001256/0.3028, allocations: 1.019 MB / 395.6 MB, free: 9.906 MB / 318.1 MB Notification: Performance of simplify1: time 0.0001216/0.3029, allocations: 63.89 kB / 395.6 MB, free: 9.906 MB / 318.1 MB Notification: Performance of Alias: time 0.001636/0.3046, allocations: 1.539 MB / 397.2 MB, free: 9.324 MB / 318.1 MB Notification: Performance of simplify2: time 0.0001054/0.3047, allocations: 56.67 kB / 397.2 MB, free: 9.32 MB / 318.1 MB Notification: Performance of Events: time 0.0002997/0.305, allocations: 194.1 kB / 397.4 MB, free: 9.27 MB / 318.1 MB Notification: Performance of Detect States: time 0.0004609/0.3055, allocations: 282.2 kB / 397.7 MB, free: 9.223 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0004451/0.3059, allocations: 465.5 kB / 398.1 MB, free: 8.941 MB / 318.1 MB Notification: Performance of Causalize: time 0.001777/0.3077, allocations: 2.009 MB / 400.1 MB, free: 8.477 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.000852/0.3086, allocations: 0.8027 MB / 401 MB, free: 8.375 MB / 318.1 MB Notification: Performance of Inline: time 0.001409/0.31, allocations: 1.324 MB / 402.3 MB, free: 7.863 MB / 318.1 MB Notification: Performance of Partitioning: time 7.57e-05/0.3101, allocations: 73.45 kB / 402.3 MB, free: 7.812 MB / 318.1 MB Notification: Performance of Cleanup: time 9.465e-05/0.3102, allocations: 62.12 kB / 402.4 MB, free: 7.773 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.003094/0.3133, allocations: 3.538 MB / 405.9 MB, free: 6.141 MB / 318.1 MB Notification: Performance of Tearing: time 0.0002296/0.3135, allocations: 293.2 kB / 406.2 MB, free: 5.875 MB / 318.1 MB Notification: Performance of Initialization: time 9.82e-07/0.3135, allocations: 0 / 406.2 MB, free: 5.875 MB / 318.1 MB Notification: Performance of Tearing: time 0.0001961/0.3137, allocations: 489.6 kB / 406.7 MB, free: 5.383 MB / 318.1 MB Notification: Performance of Categorize: time 2.517e-05/0.3138, allocations: 7.062 kB / 406.7 MB, free: 5.379 MB / 318.1 MB Notification: Performance of Solve: time 0.0003563/0.3141, allocations: 262.1 kB / 407 MB, free: 5.293 MB / 318.1 MB Notification: Performance of Jacobian: time 0.0002965/0.3144, allocations: 414.5 kB / 407.4 MB, free: 4.996 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.0001423/0.3146, allocations: 54.47 kB / 407.4 MB, free: 4.953 MB / 318.1 MB Notification: Performance of SimCode: time 0.01196/0.3266, allocations: 5.506 MB / 412.9 MB, free: 1.664 MB / 318.1 MB Notification: Performance of Templates: time 0.04218/0.3688, allocations: 28.65 MB / 441.6 MB, free: 5.047 MB / 350.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile make -j1 -f Modelica_3.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_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.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.o Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.c Modelica_3.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.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.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.c:335:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.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.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.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.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.c:547:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.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.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.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.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.c:759:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.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.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.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.o] Error 1