Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="mat",numberOfIntervals=5000,variableFilter="time|medium.T|eta|lambda|s|cv|u|h|d",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol") translateModel(Modelica.Media.Incompressible.Examples.TestGlycol,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|eta|lambda|s|cv|u|h|d",fileNamePrefix="Modelica_4.0.0_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.001142/0.001142, allocations: 108 kB / 17.7 MB, free: 5.266 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.00116/0.00116, allocations: 192.1 kB / 18.64 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.21/1.21, allocations: 222.9 MB / 242.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.352e-05/3.371e-05, allocations: 6.219 kB / 302 MB, free: 5.203 MB / 238.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.006239/0.006293, allocations: 4.846 MB / 306.9 MB, free: 352 kB / 238.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007432/0.007054, allocations: 0.6269 MB / 307.5 MB, free: 15.71 MB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.625e-05/0.007116, allocations: 4 kB / 307.5 MB, free: 15.71 MB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002015/0.007326, allocations: 35.77 kB / 307.5 MB, free: 15.68 MB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001143/0.008477, allocations: 0.5722 MB / 308.1 MB, free: 15.1 MB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002005/0.008705, allocations: 91.78 kB / 308.2 MB, free: 15.01 MB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002007/0.008914, allocations: 195.3 kB / 308.4 MB, free: 14.82 MB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.854e-05/0.00896, allocations: 7.984 kB / 308.4 MB, free: 14.81 MB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000903/0.009868, allocations: 0.6236 MB / 309 MB, free: 14.19 MB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.919e-05/0.00995, allocations: 43.78 kB / 309 MB, free: 14.14 MB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 1.724e-05/0.009973, allocations: 4 kB / 309.1 MB, free: 14.14 MB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001108/0.01109, allocations: 0.8579 MB / 309.9 MB, free: 13.28 MB / 254.1 MB Notification: Performance of combineBinaries: time 0.0001248/0.01122, allocations: 142.6 kB / 310 MB, free: 13.14 MB / 254.1 MB Notification: Performance of replaceArrayConstructors: time 4.903e-05/0.01128, allocations: 86.86 kB / 310.1 MB, free: 13.05 MB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 2.218e-05/0.01131, allocations: 19.94 kB / 310.2 MB, free: 13.04 MB / 254.1 MB Notification: Performance of FrontEnd: time 1.228e-05/0.01132, allocations: 0 / 310.2 MB, free: 13.04 MB / 254.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.0005347/0.01186, allocations: 0.5103 MB / 310.7 MB, free: 12.42 MB / 254.1 MB Notification: Performance of FunctionAlias: time 9.97e-05/0.01197, allocations: 70.66 kB / 310.7 MB, free: 12.36 MB / 254.1 MB Notification: Performance of Early Inline: time 0.000263/0.01224, allocations: 268.2 kB / 311 MB, free: 12.07 MB / 254.1 MB Notification: Performance of simplify1: time 1.828e-05/0.01227, allocations: 15.98 kB / 311 MB, free: 12.05 MB / 254.1 MB Notification: Performance of Alias: time 0.0005201/0.01279, allocations: 443.6 kB / 311.4 MB, free: 11.5 MB / 254.1 MB Notification: Performance of simplify2: time 1.584e-05/0.01282, allocations: 11.98 kB / 311.5 MB, free: 11.49 MB / 254.1 MB Notification: Performance of Events: time 7.278e-05/0.0129, allocations: 47.91 kB / 311.5 MB, free: 11.45 MB / 254.1 MB Notification: Performance of Detect States: time 8.423e-05/0.01299, allocations: 74.22 kB / 311.6 MB, free: 11.36 MB / 254.1 MB Notification: Performance of Partitioning: time 0.0001254/0.01312, allocations: 132.7 kB / 311.7 MB, free: 11.18 MB / 254.1 MB Notification: Performance of Causalize: time 0.0004951/0.01362, allocations: 0.4931 MB / 312.2 MB, free: 10.64 MB / 254.1 MB Notification: Performance of After Index Reduction Inline: time 0.000163/0.0138, allocations: 189.8 kB / 312.4 MB, free: 10.43 MB / 254.1 MB Notification: Performance of Inline: time 0.0003125/0.01412, allocations: 324.2 kB / 312.7 MB, free: 10.08 MB / 254.1 MB Notification: Performance of Partitioning: time 2.063e-05/0.01415, allocations: 24.11 kB / 312.7 MB, free: 10.05 MB / 254.1 MB Notification: Performance of Cleanup: time 1.717e-05/0.01417, allocations: 15.94 kB / 312.7 MB, free: 10.04 MB / 254.1 MB Notification: Performance of Causalize: time 0.0003948/0.01458, allocations: 437.8 kB / 313.2 MB, free: 9.605 MB / 254.1 MB Notification: Performance of Tearing: time 3.026e-06/0.01459, allocations: 96 / 313.2 MB, free: 9.605 MB / 254.1 MB Notification: Performance of Initialization: time 3.01e-07/0.01459, allocations: 0 / 313.2 MB, free: 9.605 MB / 254.1 MB Notification: Performance of Tearing: time 5.64e-06/0.0146, allocations: 11.92 kB / 313.2 MB, free: 9.594 MB / 254.1 MB Notification: Performance of Categorize: time 4.929e-06/0.01461, allocations: 0 / 313.2 MB, free: 9.594 MB / 254.1 MB Notification: Performance of Solve: time 0.0001085/0.01473, allocations: 55.98 kB / 313.2 MB, free: 9.539 MB / 254.1 MB Notification: Performance of Jacobian: time 2.034e-06/0.01474, allocations: 0 / 313.2 MB, free: 9.539 MB / 254.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: ........... 18 (scalar:17, 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 4.124e-05/0.01478, allocations: 33.73 kB / 313.3 MB, free: 9.508 MB / 254.1 MB Notification: Performance of SimCode: time 0.001073/0.01586, allocations: 1.219 MB / 314.5 MB, free: 8.254 MB / 254.1 MB Notification: Performance of Templates: time 0.005483/0.02135, allocations: 3.032 MB / 317.5 MB, free: 5.23 MB / 254.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.makefile make -j1 -f Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.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_4_0_0_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_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.o Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.c Modelica_4.0.0_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_4.0.0_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_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.c:251:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_4.0.0_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_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.o] Error 1