Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Incompressible.Examples.TestGlycol.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.Incompressible.Examples.TestGlycol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Incompressible.Examples.TestGlycol") translateModel(Modelica.Media.Incompressible.Examples.TestGlycol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Incompressible.Examples.TestGlycol") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000985/0.0009849, allocations: 105.8 kB / 16.42 MB, free: 6.461 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.0009356/0.0009356, allocations: 189.9 kB / 17.36 MB, free: 5.73 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.273/1.273, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.956e-05/1.958e-05, allocations: 6.219 kB / 327.2 MB, free: 3.355 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.009202/0.009229, allocations: 7.759 MB / 334.9 MB, free: 11.55 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007279/0.009986, allocations: 0.6192 MB / 335.5 MB, free: 10.93 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.981e-05/0.01004, allocations: 4 kB / 335.5 MB, free: 10.92 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001991/0.01024, allocations: 27.83 kB / 335.6 MB, free: 10.89 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1250:3-1403:19:writable] Warning: Pure function 'Modelica.Math.Matrices.leastSquares' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgelsy_vec'. Notification: Performance of NFTyping.typeBindings: time 0.001129/0.01143, allocations: 0.5722 MB / 336.1 MB, free: 10.32 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001922/0.01164, allocations: 91.86 kB / 336.2 MB, free: 10.23 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002221/0.01187, allocations: 191.2 kB / 336.4 MB, free: 10.04 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.33e-05/0.01191, allocations: 4 kB / 336.4 MB, free: 10.04 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009167/0.01283, allocations: 0.6236 MB / 337 MB, free: 9.414 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.837e-05/0.01292, allocations: 39.84 kB / 337.1 MB, free: 9.375 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.01294, allocations: 8 kB / 337.1 MB, free: 9.367 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001138/0.01409, allocations: 0.8578 MB / 338 MB, free: 8.508 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0001254/0.01422, allocations: 154.5 kB / 338.1 MB, free: 8.355 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 6.178e-05/0.01429, allocations: 94.75 kB / 338.2 MB, free: 8.262 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 1.865e-05/0.01432, allocations: 8 kB / 338.2 MB, free: 8.254 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.949e-06/0.01433, allocations: 4 kB / 338.2 MB, free: 8.25 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 (20) * Number of variables: 20 (20) Notification: Performance of Bindings: time 0.0005251/0.01486, allocations: 0.5104 MB / 338.7 MB, free: 7.637 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0001101/0.01498, allocations: 60.8 kB / 338.8 MB, free: 7.578 MB / 286.1 MB Notification: Performance of Early Inline: time 0.0002678/0.01525, allocations: 268.1 kB / 339 MB, free: 7.289 MB / 286.1 MB Notification: Performance of simplify1: time 2.125e-05/0.01528, allocations: 23.95 kB / 339.1 MB, free: 7.266 MB / 286.1 MB Notification: Performance of Alias: time 0.000526/0.01582, allocations: 443.6 kB / 339.5 MB, free: 6.719 MB / 286.1 MB Notification: Performance of simplify2: time 3.101e-05/0.01586, allocations: 19.97 kB / 339.5 MB, free: 6.699 MB / 286.1 MB Notification: Performance of Events: time 8.973e-05/0.01595, allocations: 47.91 kB / 339.6 MB, free: 6.652 MB / 286.1 MB Notification: Performance of Detect States: time 9.259e-05/0.01605, allocations: 72.12 kB / 339.6 MB, free: 6.566 MB / 286.1 MB Notification: Performance of Partitioning: time 0.000145/0.0162, allocations: 136.7 kB / 339.8 MB, free: 6.387 MB / 286.1 MB Notification: Performance of Causalize: time 0.0004735/0.01668, allocations: 498.2 kB / 340.3 MB, free: 5.855 MB / 286.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001691/0.01686, allocations: 188.7 kB / 340.4 MB, free: 5.645 MB / 286.1 MB Notification: Performance of Inline: time 0.0003035/0.01717, allocations: 328.2 kB / 340.8 MB, free: 5.289 MB / 286.1 MB Notification: Performance of Partitioning: time 2.078e-05/0.0172, allocations: 20.12 kB / 340.8 MB, free: 5.262 MB / 286.1 MB Notification: Performance of Cleanup: time 2.323e-05/0.01723, allocations: 23.86 kB / 340.8 MB, free: 5.238 MB / 286.1 MB Notification: Performance of Causalize: time 0.0004219/0.01766, allocations: 463.9 kB / 341.3 MB, free: 4.781 MB / 286.1 MB Notification: Performance of Tearing: time 5.64e-06/0.01767, allocations: 0 / 341.3 MB, free: 4.781 MB / 286.1 MB Notification: Performance of Initialization: time 3.71e-07/0.01768, allocations: 0 / 341.3 MB, free: 4.781 MB / 286.1 MB Notification: Performance of Tearing: time 2.925e-06/0.01769, allocations: 3.938 kB / 341.3 MB, free: 4.777 MB / 286.1 MB Notification: Performance of Categorize: time 1.02e-05/0.0177, allocations: 0.7188 kB / 341.3 MB, free: 4.777 MB / 286.1 MB Notification: Performance of Solve: time 9.017e-05/0.0178, allocations: 47.97 kB / 341.3 MB, free: 4.73 MB / 286.1 MB Notification: Performance of Jacobian: time 2.896e-06/0.01781, allocations: 0 / 341.3 MB, free: 4.73 MB / 286.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 3 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 3 * 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: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 3 (3) {$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: ........... 17 (scalar:16, array:1, 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: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 17 (scalar:16, array:1, 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: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 3.93e-05/0.01785, allocations: 34.88 kB / 341.3 MB, free: 4.695 MB / 286.1 MB Notification: Performance of SimCode: time 0.001053/0.01891, allocations: 1.215 MB / 342.6 MB, free: 3.457 MB / 286.1 MB Notification: Performance of Templates: time 0.005447/0.02437, allocations: 3.094 MB / 345.6 MB, free: 368 kB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Incompressible.Examples.TestGlycol.makefile make -j1 -f Modelica_3.2.1_Modelica.Media.Incompressible.Examples.TestGlycol.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_Incompressible_Examples_TestGlycol -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.1_Modelica.Media.Incompressible.Examples.TestGlycol.o Modelica_3.2.1_Modelica.Media.Incompressible.Examples.TestGlycol.c Modelica_3.2.1_Modelica.Media.Incompressible.Examples.TestGlycol.c:245: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.Incompressible.Examples.TestGlycol.c:248:118: error: use of undeclared identifier 'i' tmp24 = modelica_real_to_modelica_string((&data->localData[0]->realVars[2] /* medium.X[1] variable */)[i - 1], ((modelica_integer) 6), ((modelica_integer) 0), 1 /* true */); ^ Modelica_3.2.1_Modelica.Media.Incompressible.Examples.TestGlycol.c:251:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.1_Modelica.Media.Incompressible.Examples.TestGlycol.c:259:120: error: use of undeclared identifier 'i' throwStreamPrint(threadData, "Index %ld out of bounds [1..1] for array {\"Glycol-Water 47%\"}", (long) i); ^ 4 errors generated. make: *** [: Modelica_3.2.1_Modelica.Media.Incompressible.Examples.TestGlycol.o] Error 1