Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Thermal.TestLongRod.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/Modelica 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/HanserModelica 2.0.0-master/package.mo", uses=false) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.Thermal.TestLongRod,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Thermal.TestLongRod") translateModel(HanserModelica.Thermal.TestLongRod,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Thermal.TestLongRod") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 111 kB / 16.42 MB, free: 6.523 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.473/1.473, allocations: 222.9 MB / 240.1 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001688/0.001688, allocations: 192.4 kB / 290.4 MB, free: 2.281 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.0355/0.0355, allocations: 8.802 MB / 349.3 MB, free: 4.625 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.438e-05/2.439e-05, allocations: 4.531 kB / 464.5 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.TestLongRod): time 0.0029/0.002933, allocations: 1.993 MB / 466.5 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003879/0.003334, allocations: 167.5 kB / 466.7 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.869e-05/0.003423, allocations: 0 / 466.7 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001398/0.003569, allocations: 27.72 kB / 466.7 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001838/0.003766, allocations: 67.47 kB / 466.7 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001381/0.003912, allocations: 39.97 kB / 466.8 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006326/0.004556, allocations: 0.5534 MB / 467.3 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004257/0.004992, allocations: 302.4 kB / 467.6 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001806/0.005181, allocations: 167.7 kB / 467.8 MB, free: 10 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002297/0.005417, allocations: 167.6 kB / 468 MB, free: 9.836 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.154e-05/0.005476, allocations: 28 kB / 468 MB, free: 9.809 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.721e-05/0.005548, allocations: 32 kB / 468 MB, free: 9.777 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0003473/0.005902, allocations: 389.1 kB / 468.4 MB, free: 9.395 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001883/0.006097, allocations: 233.7 kB / 468.6 MB, free: 9.164 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.049e-05/0.006165, allocations: 39.81 kB / 468.7 MB, free: 9.125 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.097e-05/0.006202, allocations: 0 / 468.7 MB, free: 9.125 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: 76 (50) * Number of variables: 76 (32) Notification: Performance of Bindings: time 0.001551/0.00776, allocations: 1.308 MB / 470 MB, free: 7.711 MB / 302.1 MB Notification: Performance of FunctionAlias: time 7.03e-05/0.007838, allocations: 59.95 kB / 470 MB, free: 7.652 MB / 302.1 MB Notification: Performance of Early Inline: time 0.00076/0.008604, allocations: 0.7101 MB / 470.7 MB, free: 6.914 MB / 302.1 MB Notification: Performance of simplify1: time 6.008e-05/0.008672, allocations: 39.97 kB / 470.8 MB, free: 6.875 MB / 302.1 MB Notification: Performance of Alias: time 0.0009741/0.009652, allocations: 0.6858 MB / 471.5 MB, free: 6.113 MB / 302.1 MB Notification: Performance of simplify2: time 3.053e-05/0.009697, allocations: 35.97 kB / 471.5 MB, free: 6.078 MB / 302.1 MB Notification: Performance of Detect States: time 0.000251/0.009956, allocations: 184.2 kB / 471.7 MB, free: 5.883 MB / 302.1 MB Notification: Performance of Events: time 9.387e-05/0.01006, allocations: 67.95 kB / 471.8 MB, free: 5.816 MB / 302.1 MB Notification: Performance of Partitioning: time 0.000303/0.01037, allocations: 277.7 kB / 472 MB, free: 5.535 MB / 302.1 MB Notification: Performance of Causalize: time 0.002085/0.01246, allocations: 1.793 MB / 473.8 MB, free: 3.738 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0006642/0.01313, allocations: 0.6672 MB / 474.5 MB, free: 3.043 MB / 302.1 MB Notification: Performance of Inline: time 0.001324/0.01447, allocations: 1.206 MB / 475.7 MB, free: 1.809 MB / 302.1 MB Notification: Performance of Partitioning: time 6.273e-05/0.01454, allocations: 58.34 kB / 475.7 MB, free: 1.742 MB / 302.1 MB Notification: Performance of Cleanup: time 4.788e-05/0.01459, allocations: 51.97 kB / 475.8 MB, free: 1.691 MB / 302.1 MB Notification: Performance of Causalize: time 0.002662/0.01726, allocations: 2.357 MB / 478.2 MB, free: 15.36 MB / 318.1 MB Notification: Performance of Tearing: time 0.003359/0.02065, allocations: 3.097 MB / 481.3 MB, free: 12.09 MB / 318.1 MB Notification: Performance of Initialization: time 6.31e-07/0.02066, allocations: 0 / 481.3 MB, free: 12.09 MB / 318.1 MB Notification: Performance of Tearing: time 0.003211/0.02388, allocations: 3.127 MB / 484.4 MB, free: 8.789 MB / 318.1 MB Notification: Performance of Categorize: time 1.346e-05/0.02391, allocations: 0 / 484.4 MB, free: 8.789 MB / 318.1 MB Notification: Performance of Solve: time 0.0003581/0.02427, allocations: 181.8 kB / 484.6 MB, free: 8.609 MB / 318.1 MB Notification: Performance of Jacobian: time 0.002375/0.02666, allocations: 2.149 MB / 486.7 MB, free: 6.418 MB / 318.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 0 * 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: ............................. 3 (1) {longRod.shortRod.heatCapacitor.T} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 1 (1) {$TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 16 (scalar:15, array:1, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 9 (generic: 9, entwined:0) * Number of algebraic-loop strong components: ... 3 (linear: 3, 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: ......... 16 (generic: 16, entwined:0) * Number of algebraic-loop strong components: ... 3 (linear: 3, nonlinear:0) Notification: Performance of backend: time 6.121e-05/0.02673, allocations: 32.97 kB / 486.7 MB, free: 6.391 MB / 318.1 MB Notification: Performance of SimCode: time 0.004419/0.03116, allocations: 4.792 MB / 491.5 MB, free: 1.555 MB / 318.1 MB Notification: Performance of Templates: time 0.01169/0.04286, allocations: 6.002 MB / 497.5 MB, free: 11.55 MB / 334.1 MB make -j1 -f HanserModelica_HanserModelica.Thermal.TestLongRod.makefile make -j1 -f HanserModelica_HanserModelica.Thermal.TestLongRod.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=HanserModelica_HanserModelica_Thermal_TestLongRod -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o HanserModelica_HanserModelica.Thermal.TestLongRod.o HanserModelica_HanserModelica.Thermal.TestLongRod.c 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=HanserModelica_HanserModelica_Thermal_TestLongRod -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o HanserModelica_HanserModelica.Thermal.TestLongRod_functions.o HanserModelica_HanserModelica.Thermal.TestLongRod_functions.c 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=HanserModelica_HanserModelica_Thermal_TestLongRod -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o HanserModelica_HanserModelica.Thermal.TestLongRod_records.o HanserModelica_HanserModelica.Thermal.TestLongRod_records.c 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=HanserModelica_HanserModelica_Thermal_TestLongRod -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o HanserModelica_HanserModelica.Thermal.TestLongRod_01exo.o HanserModelica_HanserModelica.Thermal.TestLongRod_01exo.c 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=HanserModelica_HanserModelica_Thermal_TestLongRod -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.o HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.c HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.c:53:13: error: redefinition of 'idx_lst' const int idx_lst[1] = {0}; ^ HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.c:43:13: note: previous definition is here const int idx_lst[1] = {0}; ^ HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.c:63:13: error: redefinition of 'idx_lst' const int idx_lst[1] = {0}; ^ HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.c:43:13: note: previous definition is here const int idx_lst[1] = {0}; ^ HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.c:213:13: error: redefinition of 'idx_lst' const int idx_lst[1] = {2}; ^ HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.c:203:13: note: previous definition is here const int idx_lst[1] = {2}; ^ HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.c:223:13: error: redefinition of 'idx_lst' const int idx_lst[1] = {2}; ^ HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.c:203:13: note: previous definition is here const int idx_lst[1] = {2}; ^ HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.c:239:13: error: redefinition of 'idx_lst' const int idx_lst[1] = {1}; ^ HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.c:203:13: note: previous definition is here const int idx_lst[1] = {2}; ^ HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.c:249:13: error: redefinition of 'idx_lst' const int idx_lst[1] = {1}; ^ HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.c:203:13: note: previous definition is here const int idx_lst[1] = {2}; ^ HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.c:259:13: error: redefinition of 'idx_lst' const int idx_lst[1] = {1}; ^ HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.c:203:13: note: previous definition is here const int idx_lst[1] = {2}; ^ HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.c:423:13: error: redefinition of 'idx_lst' const int idx_lst[1] = {1}; ^ HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.c:413:13: note: previous definition is here const int idx_lst[1] = {1}; ^ HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.c:433:13: error: redefinition of 'idx_lst' const int idx_lst[1] = {1}; ^ HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.c:413:13: note: previous definition is here const int idx_lst[1] = {1}; ^ HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.c:449:13: error: redefinition of 'idx_lst' const int idx_lst[1] = {0}; ^ HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.c:413:13: note: previous definition is here const int idx_lst[1] = {1}; ^ HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.c:459:13: error: redefinition of 'idx_lst' const int idx_lst[1] = {0}; ^ HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.c:413:13: note: previous definition is here const int idx_lst[1] = {1}; ^ HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.c:469:13: error: redefinition of 'idx_lst' const int idx_lst[1] = {0}; ^ HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.c:413:13: note: previous definition is here const int idx_lst[1] = {1}; ^ HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.c:627:13: error: redefinition of 'idx_lst' const int idx_lst[1] = {0}; ^ HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.c:617:13: note: previous definition is here const int idx_lst[1] = {0}; ^ HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.c:637:13: error: redefinition of 'idx_lst' const int idx_lst[1] = {0}; ^ HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.c:617:13: note: previous definition is here const int idx_lst[1] = {0}; ^ HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.c:783:13: error: redefinition of 'idx_lst' const int idx_lst[1] = {1}; ^ HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.c:773:13: note: previous definition is here const int idx_lst[1] = {1}; ^ HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.c:793:13: error: redefinition of 'idx_lst' const int idx_lst[1] = {1}; ^ HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.c:773:13: note: previous definition is here const int idx_lst[1] = {1}; ^ HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.c:809:13: error: redefinition of 'idx_lst' const int idx_lst[1] = {2}; ^ HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.c:773:13: note: previous definition is here const int idx_lst[1] = {1}; ^ HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.c:819:13: error: redefinition of 'idx_lst' const int idx_lst[1] = {2}; ^ HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.c:773:13: note: previous definition is here const int idx_lst[1] = {1}; ^ HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.c:829:13: error: redefinition of 'idx_lst' const int idx_lst[1] = {2}; ^ HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.c:773:13: note: previous definition is here const int idx_lst[1] = {1}; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.o] Error 1