Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_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.00103/0.00103, allocations: 105.9 kB / 18.41 MB, free: 4.688 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.0009586/0.0009586, allocations: 192.3 kB / 19.35 MB, free: 3.762 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.438/1.438, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.117e-05/3.118e-05, allocations: 3.125 kB / 329.2 MB, free: 3.324 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.03721/0.03725, allocations: 32.58 MB / 361.8 MB, free: 2.613 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01879/0.05609, allocations: 15.73 MB / 377.5 MB, free: 2.836 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000369/0.05653, allocations: 4 kB / 377.5 MB, free: 2.832 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000866/0.0574, allocations: 262.4 kB / 377.8 MB, free: 2.574 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007324/0.0582, allocations: 366 kB / 378.1 MB, free: 2.215 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2349/0.2932, allocations: 5.777 MB / 383.9 MB, free: 12.3 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001551/0.2947, allocations: 1.061 MB / 385 MB, free: 12.3 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002645/0.295, allocations: 129.1 kB / 385.1 MB, free: 12.3 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005535/0.3006, allocations: 2.212 MB / 387.3 MB, free: 11.82 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004113/0.301, allocations: 268.5 kB / 387.6 MB, free: 11.82 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.539e-05/0.3011, allocations: 37.47 kB / 387.6 MB, free: 11.82 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006074/0.3071, allocations: 3.619 MB / 391.2 MB, free: 11.81 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0007493/0.3079, allocations: 0.6384 MB / 391.9 MB, free: 11.63 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002657/0.3082, allocations: 387.2 kB / 392.2 MB, free: 11.41 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001528/0.3083, allocations: 81.62 kB / 392.3 MB, free: 11.4 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.12e-05/0.3084, allocations: 6.219 kB / 392.3 MB, free: 11.4 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.001869/0.3103, allocations: 1.999 MB / 394.3 MB, free: 10.53 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0001313/0.3105, allocations: 110 kB / 394.4 MB, free: 10.52 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0008104/0.3113, allocations: 0.9936 MB / 395.4 MB, free: 10.42 MB / 318.1 MB Notification: Performance of simplify1: time 5.249e-05/0.3113, allocations: 58.47 kB / 395.5 MB, free: 10.41 MB / 318.1 MB Notification: Performance of Alias: time 0.001648/0.313, allocations: 1.669 MB / 397.2 MB, free: 9.809 MB / 318.1 MB Notification: Performance of simplify2: time 4.115e-05/0.313, allocations: 50.81 kB / 397.2 MB, free: 9.805 MB / 318.1 MB Notification: Performance of Events: time 0.0001638/0.3132, allocations: 133.5 kB / 397.3 MB, free: 9.781 MB / 318.1 MB Notification: Performance of Detect States: time 0.0002556/0.3135, allocations: 248.7 kB / 397.6 MB, free: 9.727 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0003424/0.3138, allocations: 437.8 kB / 398 MB, free: 9.465 MB / 318.1 MB Notification: Performance of Causalize: time 0.001321/0.3152, allocations: 1.429 MB / 399.4 MB, free: 8.992 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0005755/0.3157, allocations: 0.6795 MB / 400.1 MB, free: 8.895 MB / 318.1 MB Notification: Performance of Inline: time 0.0009351/0.3167, allocations: 1.142 MB / 401.3 MB, free: 8.719 MB / 318.1 MB Notification: Performance of Partitioning: time 7.032e-05/0.3168, allocations: 76.67 kB / 401.3 MB, free: 8.695 MB / 318.1 MB Notification: Performance of Cleanup: time 4.381e-05/0.3168, allocations: 55.78 kB / 401.4 MB, free: 8.688 MB / 318.1 MB Notification: Performance of Causalize: time 0.001633/0.3185, allocations: 1.742 MB / 403.1 MB, free: 8.285 MB / 318.1 MB Notification: Performance of Tearing: time 0.0001854/0.3186, allocations: 244 kB / 403.4 MB, free: 8.059 MB / 318.1 MB Notification: Performance of Initialization: time 4.01e-07/0.3187, allocations: 0 / 403.4 MB, free: 8.059 MB / 318.1 MB Notification: Performance of Tearing: time 0.0002246/0.3189, allocations: 0.4981 MB / 403.9 MB, free: 7.598 MB / 318.1 MB Notification: Performance of Categorize: time 2.181e-05/0.3189, allocations: 6.812 kB / 403.9 MB, free: 7.594 MB / 318.1 MB Notification: Performance of Solve: time 0.0003262/0.3192, allocations: 231 kB / 404.1 MB, free: 7.574 MB / 318.1 MB Notification: Performance of Jacobian: time 0.0003678/0.3196, allocations: 439.3 kB / 404.5 MB, free: 7.34 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.0001563/0.3198, allocations: 45.14 kB / 404.6 MB, free: 7.305 MB / 318.1 MB Notification: Performance of SimCode: time 0.007135/0.3269, allocations: 4.107 MB / 408.7 MB, free: 5.699 MB / 318.1 MB Notification: Performance of Templates: time 0.02526/0.3522, allocations: 19.4 MB / 428.1 MB, free: 4.449 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.makefile make -j1 -f Modelica_3.2.3_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_3_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.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.o Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.c Modelica_3.2.3_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.3_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.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.c:311:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.3_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.3_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.3_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.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.c:462:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.3_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.3_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.3_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.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.c:613:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.3_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.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.o] Error 1