Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.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.LinearColdWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 109.6 kB / 16.42 MB, free: 6.469 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.001305/0.001305, allocations: 187.1 kB / 17.35 MB, free: 5.707 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.336/1.336, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.389e-05/2.389e-05, allocations: 2.281 kB / 327.2 MB, free: 3.289 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.01497/0.015, allocations: 15.84 MB / 343.1 MB, free: 3.383 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002325/0.01736, allocations: 1.908 MB / 345 MB, free: 1.469 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001356/0.01751, allocations: 8 kB / 345 MB, free: 1.461 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005541/0.01808, allocations: 174.9 kB / 345.2 MB, free: 1.289 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005179/0.0186, allocations: 314.2 kB / 345.5 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005944/0.01926, allocations: 283.4 kB / 345.7 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000836/0.02011, allocations: 0.9109 MB / 346.6 MB, free: 15.79 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002499/0.02037, allocations: 133.2 kB / 346.8 MB, free: 15.65 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008288/0.0212, allocations: 0.5253 MB / 347.3 MB, free: 15.12 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002851/0.0215, allocations: 242.9 kB / 347.5 MB, free: 14.89 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.866e-05/0.02156, allocations: 32 kB / 347.6 MB, free: 14.86 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000175/0.02174, allocations: 59.98 kB / 347.6 MB, free: 14.8 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0004631/0.02221, allocations: 0.5456 MB / 348.2 MB, free: 14.25 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002037/0.02242, allocations: 319.7 kB / 348.5 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.366e-05/0.02249, allocations: 67.81 kB / 348.6 MB, free: 13.86 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.948e-05/0.02253, allocations: 11.94 kB / 348.6 MB, free: 13.85 MB / 302.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.001426/0.02397, allocations: 1.545 MB / 350.1 MB, free: 12.2 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0001065/0.02408, allocations: 87.8 kB / 350.2 MB, free: 12.11 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0006683/0.02475, allocations: 0.7479 MB / 350.9 MB, free: 11.34 MB / 302.1 MB Notification: Performance of simplify1: time 6.314e-05/0.02483, allocations: 67.91 kB / 351 MB, free: 11.27 MB / 302.1 MB Notification: Performance of Alias: time 0.001347/0.02618, allocations: 1.225 MB / 352.2 MB, free: 9.902 MB / 302.1 MB Notification: Performance of simplify2: time 4.747e-05/0.02624, allocations: 47.95 kB / 352.3 MB, free: 9.855 MB / 302.1 MB Notification: Performance of Events: time 0.000177/0.02642, allocations: 115.2 kB / 352.4 MB, free: 9.742 MB / 302.1 MB Notification: Performance of Detect States: time 0.0002312/0.02666, allocations: 213 kB / 352.6 MB, free: 9.516 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0003172/0.02699, allocations: 333.5 kB / 352.9 MB, free: 9.09 MB / 302.1 MB Notification: Performance of Causalize: time 0.001335/0.02833, allocations: 1.399 MB / 354.3 MB, free: 7.598 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004364/0.02878, allocations: 499.3 kB / 354.8 MB, free: 7.086 MB / 302.1 MB Notification: Performance of Inline: time 0.0009801/0.02977, allocations: 1.034 MB / 355.8 MB, free: 6.016 MB / 302.1 MB Notification: Performance of Partitioning: time 6.095e-05/0.02984, allocations: 66.3 kB / 355.9 MB, free: 5.945 MB / 302.1 MB Notification: Performance of Cleanup: time 4.303e-05/0.02989, allocations: 43.89 kB / 356 MB, free: 5.902 MB / 302.1 MB Notification: Performance of Causalize: time 0.001665/0.03156, allocations: 1.822 MB / 357.8 MB, free: 4.105 MB / 302.1 MB Notification: Performance of Tearing: time 0.0002288/0.0318, allocations: 254.1 kB / 358 MB, free: 3.809 MB / 302.1 MB Notification: Performance of Initialization: time 5.41e-07/0.03181, allocations: 0 / 358 MB, free: 3.809 MB / 302.1 MB Notification: Performance of Tearing: time 0.000354/0.03216, allocations: 0.5318 MB / 358.6 MB, free: 3.18 MB / 302.1 MB Notification: Performance of Categorize: time 1.864e-05/0.03219, allocations: 7.969 kB / 358.6 MB, free: 3.172 MB / 302.1 MB Notification: Performance of Solve: time 0.0003005/0.0325, allocations: 215.4 kB / 358.8 MB, free: 2.965 MB / 302.1 MB Notification: Performance of Jacobian: time 0.0003042/0.03281, allocations: 382 kB / 359.1 MB, free: 2.555 MB / 302.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.54e-05/0.03286, allocations: 51.16 kB / 359.2 MB, free: 2.512 MB / 302.1 MB Notification: Performance of SimCode: time 0.001872/0.03474, allocations: 2.052 MB / 361.3 MB, free: 432 kB / 302.1 MB Notification: Performance of Templates: time 0.00761/0.04236, allocations: 4.181 MB / 365.4 MB, free: 12.24 MB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.makefile make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.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_LinearColdWater -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.LinearColdWater.o Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.c Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.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.LinearColdWater.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.LinearColdWater.c:311:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.c:319:121: error: use of undeclared identifier 'i' throwStreamPrint(threadData, "Index %ld out of bounds [1..1] for array {\"Linear cold water\"}", (long) i); ^ Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.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.LinearColdWater.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.LinearColdWater.c:462:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.c:470:121: error: use of undeclared identifier 'i' throwStreamPrint(threadData, "Index %ld out of bounds [1..1] for array {\"Linear cold water\"}", (long) i); ^ Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.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.LinearColdWater.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.LinearColdWater.c:613:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.c:621:121: error: use of undeclared identifier 'i' throwStreamPrint(threadData, "Index %ld out of bounds [1..1] for array {\"Linear cold water\"}", (long) i); ^ 12 errors generated. make: *** [: Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.o] Error 1