Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_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.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 105.1 kB / 16.42 MB, free: 6.492 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.001205/0.001205, allocations: 189.9 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.359/1.359, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.098e-05/2.098e-05, allocations: 6.219 kB / 327.2 MB, free: 3.316 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.04132/0.04135, allocations: 39.26 MB / 366.5 MB, free: 11.91 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002733/0.04412, allocations: 2.043 MB / 368.5 MB, free: 9.859 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001537/0.04429, allocations: 4 kB / 368.5 MB, free: 9.855 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005746/0.04488, allocations: 158.9 kB / 368.7 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005127/0.0454, allocations: 322.2 kB / 369 MB, free: 9.383 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006022/0.04607, allocations: 271.5 kB / 369.3 MB, free: 9.117 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008588/0.04694, allocations: 0.9187 MB / 370.2 MB, free: 8.195 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002413/0.04719, allocations: 125.2 kB / 370.3 MB, free: 8.074 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2612/0.3084, allocations: 44.12 MB / 414.4 MB, free: 2.637 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004817/0.3089, allocations: 249.4 kB / 414.7 MB, free: 2.496 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.377e-05/0.309, allocations: 32 kB / 414.7 MB, free: 2.465 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001894/0.3092, allocations: 55.56 kB / 414.7 MB, free: 2.418 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0003476/0.3095, allocations: 0.5478 MB / 415.3 MB, free: 2.043 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001326/0.3097, allocations: 323.4 kB / 415.6 MB, free: 1.785 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.741e-05/0.3097, allocations: 69.06 kB / 415.7 MB, free: 1.742 MB / 318.1 MB Notification: Performance of FrontEnd: time 5.769e-05/0.3098, allocations: 9.859 kB / 415.7 MB, free: 1.734 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: 60 (60) * Number of variables: 60 (60) Notification: Performance of Bindings: time 0.00105/0.3109, allocations: 1.547 MB / 417.2 MB, free: 0.543 MB / 318.1 MB Notification: Performance of FunctionAlias: time 9.489e-05/0.311, allocations: 86.73 kB / 417.3 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of Early Inline: time 0.000527/0.3115, allocations: 0.7594 MB / 418.1 MB, free: 15.89 MB / 334.1 MB Notification: Performance of simplify1: time 6.14e-05/0.3116, allocations: 58.59 kB / 418.1 MB, free: 15.83 MB / 334.1 MB Notification: Performance of Alias: time 0.001357/0.3129, allocations: 1.221 MB / 419.4 MB, free: 14.51 MB / 334.1 MB Notification: Performance of simplify2: time 4.681e-05/0.313, allocations: 50.61 kB / 419.4 MB, free: 14.46 MB / 334.1 MB Notification: Performance of Events: time 0.0001822/0.3132, allocations: 126.1 kB / 419.5 MB, free: 14.35 MB / 334.1 MB Notification: Performance of Detect States: time 0.0003868/0.3136, allocations: 199.7 kB / 419.7 MB, free: 14.14 MB / 334.1 MB Notification: Performance of Partitioning: time 0.0003227/0.3139, allocations: 329.7 kB / 420 MB, free: 13.73 MB / 334.1 MB Notification: Performance of Causalize: time 0.001333/0.3152, allocations: 1.413 MB / 421.5 MB, free: 12.27 MB / 334.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004436/0.3157, allocations: 495.8 kB / 421.9 MB, free: 11.77 MB / 334.1 MB Notification: Performance of Inline: time 0.0009868/0.3167, allocations: 1.031 MB / 423 MB, free: 10.71 MB / 334.1 MB Notification: Performance of Partitioning: time 6.492e-05/0.3168, allocations: 66.34 kB / 423 MB, free: 10.64 MB / 334.1 MB Notification: Performance of Cleanup: time 4.228e-05/0.3168, allocations: 42.7 kB / 423.1 MB, free: 10.6 MB / 334.1 MB Notification: Performance of Causalize: time 0.001698/0.3185, allocations: 1.836 MB / 424.9 MB, free: 8.816 MB / 334.1 MB Notification: Performance of Tearing: time 0.000224/0.3188, allocations: 238.1 kB / 425.1 MB, free: 8.535 MB / 334.1 MB Notification: Performance of Initialization: time 3.91e-07/0.3188, allocations: 0 / 425.1 MB, free: 8.535 MB / 334.1 MB Notification: Performance of Tearing: time 0.0003776/0.3191, allocations: 0.5368 MB / 425.7 MB, free: 7.906 MB / 334.1 MB Notification: Performance of Categorize: time 1.847e-05/0.3192, allocations: 4.031 kB / 425.7 MB, free: 7.902 MB / 334.1 MB Notification: Performance of Solve: time 0.0003023/0.3195, allocations: 234 kB / 425.9 MB, free: 7.68 MB / 334.1 MB Notification: Performance of Jacobian: time 0.0003195/0.3198, allocations: 387.2 kB / 426.3 MB, free: 7.266 MB / 334.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 6 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 6 * 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: ................. 6 (6) {$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: ........... 33 (scalar:30, 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: ........... 58 (scalar:52, 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 4.545e-05/0.3199, allocations: 40.67 kB / 426.3 MB, free: 7.234 MB / 334.1 MB Notification: Performance of SimCode: time 0.001927/0.3218, allocations: 2.035 MB / 428.4 MB, free: 5.184 MB / 334.1 MB Notification: Performance of Templates: time 0.008116/0.3299, allocations: 4.185 MB / 432.6 MB, free: 1.043 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.makefile make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.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_LinearFluid_LinearWater_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.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.o Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.c Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.c:305: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.LinearFluid.LinearWater_pT.c:308:127: error: use of undeclared identifier 'i' tmp24 = modelica_real_to_modelica_string((&data->localData[0]->realVars[25] /* ambient.medium.X[1] variable */)[i - 1], ((modelica_integer) 6), ((modelica_integer) 0), 1 /* true */); ^ Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.c:311:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.c:319:123: error: use of undeclared identifier 'i' throwStreamPrint(threadData, "Index %ld out of bounds [1..1] for array {\"Liquid linear water\"}", (long) i); ^ Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.c:456:59: error: use of undeclared identifier 'i' tmp59 = modelica_integer_to_modelica_string(i, ((modelica_integer) 0), 1 /* true */); ^ Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.c:459:137: error: use of undeclared identifier 'i' tmp63 = modelica_real_to_modelica_string((&data->localData[0]->realVars[17] /* fixedMassFlowRate.medium.X[1] variable */)[i - 1], ((modelica_integer) 6), ((modelica_integer) 0), 1 /* true */); ^ Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.c:462:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.c:470:123: error: use of undeclared identifier 'i' throwStreamPrint(threadData, "Index %ld out of bounds [1..1] for array {\"Liquid linear water\"}", (long) i); ^ Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.c:607:59: error: use of undeclared identifier 'i' tmp98 = modelica_integer_to_modelica_string(i, ((modelica_integer) 0), 1 /* true */); ^ Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_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.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.c:613:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.c:621:123: error: use of undeclared identifier 'i' throwStreamPrint(threadData, "Index %ld out of bounds [1..1] for array {\"Liquid linear water\"}", (long) i); ^ 12 errors generated. make: *** [: Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.o] Error 1