Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.1_Modelica.Media.Incompressible.Examples.TestGlycol") translateModel(Modelica.Media.Incompressible.Examples.TestGlycol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.00128/0.00128, allocations: 104.3 kB / 16.42 MB, free: 6.516 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.001178/0.001179, allocations: 194 kB / 17.36 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.346/1.346, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.378e-05/3.379e-05, allocations: 6.219 kB / 327.2 MB, free: 3.363 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.009572/0.009614, allocations: 7.755 MB / 334.9 MB, free: 11.56 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007825/0.01044, allocations: 0.6193 MB / 335.5 MB, free: 10.94 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.319e-05/0.0105, allocations: 3.938 kB / 335.5 MB, free: 10.93 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002445/0.01076, allocations: 35.83 kB / 335.6 MB, free: 10.9 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.001279/0.01208, allocations: 0.5644 MB / 336.1 MB, free: 10.33 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002078/0.0123, allocations: 99.84 kB / 336.2 MB, free: 10.23 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002412/0.01255, allocations: 191.2 kB / 336.4 MB, free: 10.05 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.93e-05/0.0126, allocations: 4 kB / 336.4 MB, free: 10.04 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009876/0.01359, allocations: 0.6198 MB / 337 MB, free: 9.422 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.534e-05/0.01369, allocations: 51.77 kB / 337.1 MB, free: 9.371 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.01372, allocations: 7.938 kB / 337.1 MB, free: 9.363 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001247/0.01497, allocations: 0.854 MB / 338 MB, free: 8.508 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0001463/0.01513, allocations: 146.6 kB / 338.1 MB, free: 8.363 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 6.122e-05/0.0152, allocations: 94.7 kB / 338.2 MB, free: 8.27 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.293e-05/0.01522, allocations: 12 kB / 338.2 MB, free: 8.258 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.299e-05/0.01524, allocations: 0 / 338.2 MB, free: 8.258 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.0006122/0.01586, allocations: 0.5026 MB / 338.7 MB, free: 7.652 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.000115/0.01598, allocations: 76.66 kB / 338.8 MB, free: 7.578 MB / 286.1 MB Notification: Performance of Early Inline: time 0.000304/0.0163, allocations: 272.1 kB / 339.1 MB, free: 7.285 MB / 286.1 MB Notification: Performance of simplify1: time 2.343e-05/0.01633, allocations: 19.98 kB / 339.1 MB, free: 7.266 MB / 286.1 MB Notification: Performance of Alias: time 0.0005645/0.01691, allocations: 439.7 kB / 339.5 MB, free: 6.723 MB / 286.1 MB Notification: Performance of simplify2: time 1.952e-05/0.01693, allocations: 15.98 kB / 339.5 MB, free: 6.707 MB / 286.1 MB Notification: Performance of Events: time 9.139e-05/0.01703, allocations: 51.89 kB / 339.6 MB, free: 6.656 MB / 286.1 MB Notification: Performance of Detect States: time 9.916e-05/0.01714, allocations: 76.12 kB / 339.6 MB, free: 6.566 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0001473/0.0173, allocations: 128.7 kB / 339.8 MB, free: 6.395 MB / 286.1 MB Notification: Performance of Causalize: time 0.0005157/0.01782, allocations: 0.4929 MB / 340.3 MB, free: 5.855 MB / 286.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001602/0.01799, allocations: 185.2 kB / 340.4 MB, free: 5.648 MB / 286.1 MB Notification: Performance of Inline: time 0.000334/0.01833, allocations: 320.2 kB / 340.8 MB, free: 5.301 MB / 286.1 MB Notification: Performance of Partitioning: time 1.854e-05/0.01836, allocations: 20.5 kB / 340.8 MB, free: 5.273 MB / 286.1 MB Notification: Performance of Cleanup: time 2.602e-05/0.01839, allocations: 19.92 kB / 340.8 MB, free: 5.254 MB / 286.1 MB Notification: Performance of Causalize: time 0.0004764/0.01887, allocations: 463.2 kB / 341.2 MB, free: 4.797 MB / 286.1 MB Notification: Performance of Tearing: time 8.025e-06/0.01889, allocations: 0 / 341.2 MB, free: 4.797 MB / 286.1 MB Notification: Performance of Initialization: time 3.4e-07/0.01889, allocations: 3.938 kB / 341.2 MB, free: 4.793 MB / 286.1 MB Notification: Performance of Tearing: time 2.505e-06/0.0189, allocations: 3.938 kB / 341.3 MB, free: 4.789 MB / 286.1 MB Notification: Performance of Categorize: time 9.818e-06/0.01892, allocations: 4 kB / 341.3 MB, free: 4.785 MB / 286.1 MB Notification: Performance of Solve: time 0.0001178/0.01904, allocations: 52 kB / 341.3 MB, free: 4.734 MB / 286.1 MB Notification: Performance of Jacobian: time 4.338e-06/0.01906, allocations: 1.281 kB / 341.3 MB, free: 4.734 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 5.304e-05/0.01912, allocations: 37.27 kB / 341.3 MB, free: 4.699 MB / 286.1 MB Notification: Performance of SimCode: time 0.001296/0.02042, allocations: 1.206 MB / 342.6 MB, free: 3.469 MB / 286.1 MB Notification: Performance of Templates: time 0.005968/0.0264, allocations: 3.094 MB / 345.6 MB, free: 380 kB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Incompressible.Examples.TestGlycol.makefile make -j1 -f Modelica_3.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_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.1_Modelica.Media.Incompressible.Examples.TestGlycol.o Modelica_3.1_Modelica.Media.Incompressible.Examples.TestGlycol.c Modelica_3.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.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.1_Modelica.Media.Incompressible.Examples.TestGlycol.c:251:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.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.1_Modelica.Media.Incompressible.Examples.TestGlycol.o] Error 1