Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_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.LinearFluid.LinearWater_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 111.4 kB / 18.42 MB, free: 4.664 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.001033/0.001033, allocations: 193.4 kB / 19.35 MB, free: 3.738 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.452/1.452, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.564e-05/2.564e-05, allocations: 2.281 kB / 329.2 MB, free: 3.301 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.04585/0.04588, allocations: 39.25 MB / 368.5 MB, free: 11.91 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002734/0.04867, allocations: 2.031 MB / 370.5 MB, free: 9.863 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001545/0.04884, allocations: 7.938 kB / 370.5 MB, free: 9.855 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005838/0.04943, allocations: 171 kB / 370.7 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005441/0.05005, allocations: 314.2 kB / 371 MB, free: 9.379 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005971/0.05066, allocations: 283.4 kB / 371.2 MB, free: 9.102 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008288/0.0515, allocations: 0.9148 MB / 372.2 MB, free: 8.184 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002185/0.05172, allocations: 125.2 kB / 372.3 MB, free: 8.062 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2655/0.3173, allocations: 44.12 MB / 416.4 MB, free: 2.582 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000651/0.318, allocations: 250.3 kB / 416.6 MB, free: 2.441 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.723e-05/0.3181, allocations: 28 kB / 416.7 MB, free: 2.414 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002302/0.3183, allocations: 57.88 kB / 416.7 MB, free: 2.363 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0003893/0.3187, allocations: 0.5367 MB / 417.3 MB, free: 1.992 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001608/0.3189, allocations: 342 kB / 417.6 MB, free: 1.727 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.775e-05/0.319, allocations: 64.25 kB / 417.7 MB, free: 1.688 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.288e-05/0.319, allocations: 4 kB / 417.7 MB, free: 1.684 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.001149/0.3202, allocations: 1.557 MB / 419.2 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of FunctionAlias: time 9.509e-05/0.3203, allocations: 83.61 kB / 419.3 MB, free: 460 kB / 318.1 MB Notification: Performance of Early Inline: time 0.0005834/0.3209, allocations: 0.7517 MB / 420.1 MB, free: 15.84 MB / 334.1 MB Notification: Performance of simplify1: time 6.277e-05/0.3209, allocations: 67.75 kB / 420.1 MB, free: 15.78 MB / 334.1 MB Notification: Performance of Alias: time 0.001545/0.3225, allocations: 1.36 MB / 421.5 MB, free: 14.33 MB / 334.1 MB Notification: Performance of simplify2: time 5.516e-05/0.3226, allocations: 47.95 kB / 421.5 MB, free: 14.28 MB / 334.1 MB Notification: Performance of Events: time 0.0001638/0.3227, allocations: 126.6 kB / 421.7 MB, free: 14.17 MB / 334.1 MB Notification: Performance of Detect States: time 0.0002253/0.323, allocations: 198.2 kB / 421.8 MB, free: 13.96 MB / 334.1 MB Notification: Performance of Partitioning: time 0.000305/0.3233, allocations: 345.2 kB / 422.2 MB, free: 13.54 MB / 334.1 MB Notification: Performance of Causalize: time 0.001091/0.3244, allocations: 1.045 MB / 423.2 MB, free: 12.44 MB / 334.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004411/0.3248, allocations: 0.4949 MB / 423.7 MB, free: 11.93 MB / 334.1 MB Notification: Performance of Inline: time 0.0009872/0.3258, allocations: 1.017 MB / 424.7 MB, free: 10.88 MB / 334.1 MB Notification: Performance of Partitioning: time 9.401e-05/0.3259, allocations: 66.36 kB / 424.8 MB, free: 10.81 MB / 334.1 MB Notification: Performance of Cleanup: time 4.674e-05/0.326, allocations: 42.8 kB / 424.8 MB, free: 10.77 MB / 334.1 MB Notification: Performance of Causalize: time 0.001592/0.3276, allocations: 1.431 MB / 426.3 MB, free: 9.359 MB / 334.1 MB Notification: Performance of Tearing: time 0.0002385/0.3278, allocations: 245.4 kB / 426.5 MB, free: 9.074 MB / 334.1 MB Notification: Performance of Initialization: time 4.71e-07/0.3278, allocations: 0 / 426.5 MB, free: 9.074 MB / 334.1 MB Notification: Performance of Tearing: time 0.0003842/0.3282, allocations: 0.5448 MB / 427.1 MB, free: 8.438 MB / 334.1 MB Notification: Performance of Categorize: time 1.532e-05/0.3283, allocations: 0 / 427.1 MB, free: 8.438 MB / 334.1 MB Notification: Performance of Solve: time 0.0003142/0.3286, allocations: 221.9 kB / 427.3 MB, free: 8.219 MB / 334.1 MB Notification: Performance of Jacobian: time 0.0003041/0.3289, allocations: 374 kB / 427.6 MB, free: 7.816 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 5.537e-05/0.329, allocations: 46.31 kB / 427.7 MB, free: 7.773 MB / 334.1 MB Notification: Performance of SimCode: time 0.002002/0.331, allocations: 2.051 MB / 429.7 MB, free: 5.711 MB / 334.1 MB Notification: Performance of Templates: time 0.008121/0.3391, allocations: 4.303 MB / 434 MB, free: 1.449 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.makefile make -j1 -f Modelica_3.2.3_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 -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_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.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.o Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.c Modelica_3.2.3_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.3_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.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.c:311:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.3_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.3_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.3_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.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.c:462:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.3_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.3_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.3_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.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.c:613:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.3_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.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.o] Error 1