Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_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.001199/0.001199, allocations: 106.4 kB / 18.36 MB, free: 4.754 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.001207/0.001207, allocations: 196.7 kB / 19.3 MB, free: 3.824 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.323/1.323, allocations: 205.1 MB / 225.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.255e-05/4.256e-05, allocations: 2.281 kB / 282.1 MB, free: 2.496 MB / 222.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.03053/0.03059, allocations: 32.58 MB / 314.7 MB, free: 1.789 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.01718/0.04781, allocations: 15.72 MB / 330.4 MB, free: 2.008 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003098/0.04817, allocations: 15.94 kB / 330.4 MB, free: 1.992 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007524/0.04893, allocations: 262.4 kB / 330.6 MB, free: 1.734 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006436/0.04959, allocations: 365.9 kB / 331 MB, free: 1.375 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01364/0.06327, allocations: 5.781 MB / 336.8 MB, free: 11.6 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001368/0.06467, allocations: 1.102 MB / 337.9 MB, free: 10.49 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002466/0.06492, allocations: 121.2 kB / 338 MB, free: 10.37 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004271/0.0692, allocations: 2.216 MB / 340.2 MB, free: 8.125 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003026/0.06952, allocations: 270.9 kB / 340.5 MB, free: 7.859 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.797e-05/0.06958, allocations: 44 kB / 340.5 MB, free: 7.816 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008081/0.07767, allocations: 5.6 MB / 346.1 MB, free: 2.211 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0005429/0.07823, allocations: 0.6461 MB / 346.8 MB, free: 1.559 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002271/0.07847, allocations: 390.7 kB / 347.2 MB, free: 1.172 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001179/0.07859, allocations: 83.81 kB / 347.2 MB, free: 1.09 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.14e-05/0.07867, allocations: 8 kB / 347.2 MB, free: 1.082 MB / 286.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.001916/0.08059, allocations: 2.035 MB / 349.3 MB, free: 14.93 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0001881/0.08079, allocations: 119.7 kB / 349.4 MB, free: 14.82 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0009313/0.08173, allocations: 1.022 MB / 350.4 MB, free: 13.77 MB / 302.1 MB Notification: Performance of simplify1: time 5.851e-05/0.0818, allocations: 63.91 kB / 350.5 MB, free: 13.7 MB / 302.1 MB Notification: Performance of Alias: time 0.001578/0.08338, allocations: 1.539 MB / 352 MB, free: 11.96 MB / 302.1 MB Notification: Performance of simplify2: time 0.0001023/0.08349, allocations: 55.94 kB / 352.1 MB, free: 11.91 MB / 302.1 MB Notification: Performance of Events: time 0.0002948/0.0838, allocations: 190.4 kB / 352.3 MB, free: 11.73 MB / 302.1 MB Notification: Performance of Detect States: time 0.0003416/0.08415, allocations: 278.2 kB / 352.5 MB, free: 11.44 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0004081/0.08456, allocations: 467.5 kB / 353 MB, free: 10.86 MB / 302.1 MB Notification: Performance of Causalize: time 0.00196/0.08653, allocations: 1.996 MB / 355 MB, free: 8.746 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0007116/0.08725, allocations: 0.8115 MB / 355.8 MB, free: 7.91 MB / 302.1 MB Notification: Performance of Inline: time 0.001256/0.08852, allocations: 1.287 MB / 357.1 MB, free: 6.586 MB / 302.1 MB Notification: Performance of Partitioning: time 7.54e-05/0.0886, allocations: 79.94 kB / 357.2 MB, free: 6.5 MB / 302.1 MB Notification: Performance of Cleanup: time 6.739e-05/0.08868, allocations: 67.8 kB / 357.2 MB, free: 6.434 MB / 302.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.003388/0.09207, allocations: 3.508 MB / 360.7 MB, free: 2.941 MB / 302.1 MB Notification: Performance of Tearing: time 0.0002781/0.09236, allocations: 298.1 kB / 361 MB, free: 2.602 MB / 302.1 MB Notification: Performance of Initialization: time 5.01e-07/0.09237, allocations: 0 / 361 MB, free: 2.602 MB / 302.1 MB Notification: Performance of Tearing: time 0.000297/0.09267, allocations: 484.6 kB / 361.5 MB, free: 2.031 MB / 302.1 MB Notification: Performance of Categorize: time 2.007e-05/0.0927, allocations: 3.938 kB / 361.5 MB, free: 2.027 MB / 302.1 MB Notification: Performance of Solve: time 0.0003728/0.09308, allocations: 281.9 kB / 361.8 MB, free: 1.754 MB / 302.1 MB Notification: Performance of Jacobian: time 0.000314/0.0934, allocations: 402.4 kB / 362.2 MB, free: 1.324 MB / 302.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.0001172/0.09353, allocations: 48.16 kB / 362.2 MB, free: 1.285 MB / 302.1 MB Notification: Performance of SimCode: time 0.009497/0.103, allocations: 5.516 MB / 367.7 MB, free: 11.73 MB / 318.1 MB Notification: Performance of Templates: time 0.1505/0.2535, allocations: 28.64 MB / 396.4 MB, free: 41.67 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile make -j1 -f Modelica_3.2.3_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 -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_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.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.o Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.c Modelica_3.2.3_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.3_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.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.c:335:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.3_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.3_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.3_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.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.c:547:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.3_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.3_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.3_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.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.c:759:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.3_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.3_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.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.o] Error 1