Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001181/0.001181, allocations: 107.4 kB / 16.42 MB, free: 6.512 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.001143/0.001143, 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.284/1.284, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.709e-05/1.71e-05, allocations: 3.547 kB / 327.2 MB, free: 3.305 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.03736/0.03739, allocations: 39.24 MB / 366.5 MB, free: 11.91 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002337/0.03977, allocations: 2.047 MB / 368.5 MB, free: 9.855 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/0.03991, allocations: 4 kB / 368.5 MB, free: 9.852 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005073/0.04042, allocations: 166.9 kB / 368.7 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004711/0.0409, allocations: 314.2 kB / 369 MB, free: 9.379 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005553/0.04151, allocations: 279.5 kB / 369.3 MB, free: 9.105 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007564/0.04227, allocations: 0.907 MB / 370.2 MB, free: 8.195 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002455/0.04253, allocations: 129.2 kB / 370.3 MB, free: 8.07 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2127/0.2552, allocations: 44.13 MB / 414.4 MB, free: 2.555 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005178/0.2558, allocations: 240.5 kB / 414.7 MB, free: 2.418 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.629e-05/0.2558, allocations: 32 kB / 414.7 MB, free: 2.387 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000223/0.2561, allocations: 62.3 kB / 414.8 MB, free: 2.332 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0004158/0.2565, allocations: 0.5452 MB / 415.3 MB, free: 1.961 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.000144/0.2566, allocations: 320.1 kB / 415.6 MB, free: 1.707 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.993e-05/0.2567, allocations: 70.55 kB / 415.7 MB, free: 1.664 MB / 318.1 MB Notification: Performance of FrontEnd: time 5.93e-05/0.2568, allocations: 4 kB / 415.7 MB, free: 1.66 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.001142/0.258, allocations: 1.546 MB / 417.2 MB, free: 488 kB / 318.1 MB Notification: Performance of FunctionAlias: time 9.067e-05/0.2581, allocations: 90.12 kB / 417.3 MB, free: 440 kB / 318.1 MB Notification: Performance of Early Inline: time 0.0005349/0.2586, allocations: 0.7528 MB / 418.1 MB, free: 15.8 MB / 334.1 MB Notification: Performance of simplify1: time 7.478e-05/0.2587, allocations: 69.3 kB / 418.1 MB, free: 15.74 MB / 334.1 MB Notification: Performance of Alias: time 0.001286/0.26, allocations: 1.21 MB / 419.3 MB, free: 14.43 MB / 334.1 MB Notification: Performance of simplify2: time 4.667e-05/0.26, allocations: 58.16 kB / 419.4 MB, free: 14.38 MB / 334.1 MB Notification: Performance of Events: time 0.0001603/0.2602, allocations: 112.2 kB / 419.5 MB, free: 14.27 MB / 334.1 MB Notification: Performance of Detect States: time 0.0002286/0.2604, allocations: 197.6 kB / 419.7 MB, free: 14.06 MB / 334.1 MB Notification: Performance of Partitioning: time 0.0003047/0.2608, allocations: 350.5 kB / 420.1 MB, free: 13.64 MB / 334.1 MB Notification: Performance of Causalize: time 0.001297/0.2621, allocations: 1.406 MB / 421.5 MB, free: 12.18 MB / 334.1 MB Notification: Performance of After Index Reduction Inline: time 0.00046/0.2625, allocations: 498 kB / 421.9 MB, free: 11.68 MB / 334.1 MB Notification: Performance of Inline: time 0.0009562/0.2635, allocations: 1.027 MB / 423 MB, free: 10.62 MB / 334.1 MB Notification: Performance of Partitioning: time 6.991e-05/0.2636, allocations: 70.19 kB / 423 MB, free: 10.55 MB / 334.1 MB Notification: Performance of Cleanup: time 3.981e-05/0.2636, allocations: 39.91 kB / 423.1 MB, free: 10.52 MB / 334.1 MB Notification: Performance of Causalize: time 0.001668/0.2653, allocations: 1.824 MB / 424.9 MB, free: 8.734 MB / 334.1 MB Notification: Performance of Tearing: time 0.0002011/0.2655, allocations: 242.5 kB / 425.1 MB, free: 8.453 MB / 334.1 MB Notification: Performance of Initialization: time 4.2e-07/0.2655, allocations: 0 / 425.1 MB, free: 8.453 MB / 334.1 MB Notification: Performance of Tearing: time 0.0003462/0.2659, allocations: 0.5425 MB / 425.7 MB, free: 7.816 MB / 334.1 MB Notification: Performance of Categorize: time 1.542e-05/0.2659, allocations: 4.031 kB / 425.7 MB, free: 7.812 MB / 334.1 MB Notification: Performance of Solve: time 0.0002961/0.2662, allocations: 226.8 kB / 425.9 MB, free: 7.598 MB / 334.1 MB Notification: Performance of Jacobian: time 0.0002859/0.2665, allocations: 381.9 kB / 426.3 MB, free: 7.188 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.467e-05/0.2665, allocations: 47.89 kB / 426.3 MB, free: 7.148 MB / 334.1 MB Notification: Performance of SimCode: time 0.001773/0.2683, allocations: 2.04 MB / 428.4 MB, free: 5.098 MB / 334.1 MB Notification: Performance of Templates: time 0.007251/0.2756, allocations: 4.183 MB / 432.6 MB, free: 0.9609 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.makefile make -j1 -f Modelica_3.2.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_2_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.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.o Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.c Modelica_3.2.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.2.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.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.c:311:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.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.2.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.2.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.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.c:462:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.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.2.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.2.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.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.c:613:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.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.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.o] Error 1