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.001084/0.001084, allocations: 109.2 kB / 16.38 MB, free: 6.492 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.152/1.152, allocations: 222.9 MB / 240 MB, free: 4.609 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.001142/0.001142, allocations: 191.1 kB / 290.3 MB, free: 2.324 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03094/0.03094, allocations: 8.797 MB / 349.3 MB, free: 4.688 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.682e-05/1.684e-05, allocations: 3.156 kB / 412.5 MB, free: 41.79 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.TestLongRod): time 0.002204/0.002234, allocations: 2 MB / 414.5 MB, free: 40.69 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002482/0.002494, allocations: 169 kB / 414.6 MB, free: 40.59 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.913e-05/0.002562, allocations: 4.781 kB / 414.6 MB, free: 40.59 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001031/0.002671, allocations: 24.08 kB / 414.6 MB, free: 40.59 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001381/0.002815, allocations: 70.36 kB / 414.7 MB, free: 40.57 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.688e-05/0.002924, allocations: 39.83 kB / 414.8 MB, free: 40.54 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003999/0.003332, allocations: 0.5478 MB / 415.3 MB, free: 40.36 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003089/0.003649, allocations: 290.6 kB / 415.6 MB, free: 40.25 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.003771, allocations: 164.4 kB / 415.7 MB, free: 40.19 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001479/0.003924, allocations: 174.3 kB / 415.9 MB, free: 40.12 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.809e-05/0.003968, allocations: 31.56 kB / 415.9 MB, free: 40.12 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.647e-05/0.004021, allocations: 33.66 kB / 416 MB, free: 40.12 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0002327/0.004258, allocations: 378.7 kB / 416.4 MB, free: 39.91 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.000116/0.00438, allocations: 236.7 kB / 416.6 MB, free: 39.79 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.846e-05/0.004423, allocations: 39.53 kB / 416.6 MB, free: 39.77 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.488e-05/0.004443, allocations: 2.656 kB / 416.6 MB, free: 39.77 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: 76 (50) * Number of variables: 76 (32) Notification: Performance of Bindings: time 0.0008667/0.005314, allocations: 1.304 MB / 417.9 MB, free: 38.83 MB / 286.1 MB Notification: Performance of FunctionAlias: time 4.259e-05/0.005362, allocations: 64.69 kB / 418 MB, free: 38.79 MB / 286.1 MB Notification: Performance of Early Inline: time 0.0004344/0.005802, allocations: 0.7038 MB / 418.7 MB, free: 38.33 MB / 286.1 MB Notification: Performance of simplify1: time 3.055e-05/0.005839, allocations: 38.91 kB / 418.7 MB, free: 38.31 MB / 286.1 MB Notification: Performance of Alias: time 0.0005642/0.006408, allocations: 0.6761 MB / 419.4 MB, free: 37.89 MB / 286.1 MB Notification: Performance of simplify2: time 2.571e-05/0.006444, allocations: 37.05 kB / 419.4 MB, free: 37.88 MB / 286.1 MB Notification: Performance of Events: time 6.569e-05/0.006514, allocations: 65.05 kB / 419.5 MB, free: 37.83 MB / 286.1 MB Notification: Performance of Detect States: time 0.0001566/0.006677, allocations: 187.3 kB / 419.7 MB, free: 37.7 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0002061/0.00689, allocations: 274.6 kB / 420 MB, free: 37.55 MB / 286.1 MB Notification: Performance of Causalize: time 0.001792/0.008689, allocations: 2.469 MB / 422.4 MB, free: 36.65 MB / 286.1 MB Notification: Performance of After Index Reduction Inline: time 0.0003965/0.009095, allocations: 0.6595 MB / 423.1 MB, free: 36.19 MB / 286.1 MB Notification: Performance of Inline: time 0.0006941/0.009795, allocations: 1.188 MB / 424.3 MB, free: 35.1 MB / 286.1 MB Notification: Performance of Partitioning: time 3.536e-05/0.00984, allocations: 54.36 kB / 424.3 MB, free: 35.04 MB / 286.1 MB Notification: Performance of Cleanup: time 3.061e-05/0.009875, allocations: 52.34 kB / 424.4 MB, free: 34.99 MB / 286.1 MB Notification: Performance of Causalize: time 0.001688/0.01157, allocations: 2.977 MB / 427.4 MB, free: 32.27 MB / 286.1 MB Notification: Performance of Tearing: time 0.001591/0.01317, allocations: 2.713 MB / 430.1 MB, free: 29.58 MB / 286.1 MB Notification: Performance of Initialization: time 4.41e-07/0.01318, allocations: 6.812 kB / 430.1 MB, free: 29.57 MB / 286.1 MB Notification: Performance of Tearing: time 0.001507/0.01469, allocations: 2.727 MB / 432.8 MB, free: 26.88 MB / 286.1 MB Notification: Performance of Categorize: time 6.502e-06/0.01471, allocations: 4 kB / 432.8 MB, free: 26.87 MB / 286.1 MB Notification: Performance of Solve: time 0.0002232/0.01493, allocations: 184.7 kB / 433 MB, free: 26.71 MB / 286.1 MB Notification: Performance of Jacobian: time 0.001391/0.01633, allocations: 2.151 MB / 435.1 MB, free: 24.63 MB / 286.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: 0, nonlinear:3) 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: 0, nonlinear:3) Notification: Performance of backend: time 2.544e-05/0.01637, allocations: 28.7 kB / 435.2 MB, free: 24.61 MB / 286.1 MB Notification: Performance of SimCode: time 0.002453/0.01882, allocations: 4.841 MB / 440 MB, free: 20.47 MB / 286.1 MB Notification: Performance of Templates: time 0.006321/0.02516, allocations: 5.83 MB / 445.8 MB, free: 14.65 MB / 286.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:60:13: error: redefinition of 'idx_lst' const int idx_lst[1] = {2}; ^ HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.c:44:13: note: previous definition is here const int idx_lst[1] = {1}; ^ HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.c:70:13: error: redefinition of 'idx_lst' const int idx_lst[1] = {2}; ^ HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.c:44:13: note: previous definition is here const int idx_lst[1] = {1}; ^ HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.c:80:13: error: redefinition of 'idx_lst' const int idx_lst[1] = {2}; ^ HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.c:44:13: note: previous definition is here const int idx_lst[1] = {1}; ^ HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.c:96:13: error: redefinition of 'idx_lst' const int idx_lst[1] = {1}; ^ HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.c:44:13: note: previous definition is here const int idx_lst[1] = {1}; ^ HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.c:106:13: error: redefinition of 'idx_lst' const int idx_lst[1] = {1}; ^ HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.c:44:13: note: previous definition is here const int idx_lst[1] = {1}; ^ HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.c:270:13: error: redefinition of 'idx_lst' const int idx_lst[1] = {1}; ^ HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.c:254:13: note: previous definition is here const int idx_lst[1] = {0}; ^ HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.c:280:13: error: redefinition of 'idx_lst' const int idx_lst[1] = {1}; ^ HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.c:254:13: note: previous definition is here const int idx_lst[1] = {0}; ^ HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.c:290:13: error: redefinition of 'idx_lst' const int idx_lst[1] = {1}; ^ HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.c:254:13: note: previous definition is here const int idx_lst[1] = {0}; ^ HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.c:306:13: error: redefinition of 'idx_lst' const int idx_lst[1] = {0}; ^ HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.c:254:13: note: previous definition is here const int idx_lst[1] = {0}; ^ HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.c:316:13: error: redefinition of 'idx_lst' const int idx_lst[1] = {0}; ^ HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.c:254:13: note: previous definition is here const int idx_lst[1] = {0}; ^ HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.c:480:13: error: redefinition of 'idx_lst' const int idx_lst[1] = {0}; ^ HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.c:460:13: note: previous definition is here const int idx_lst[1] = {0}; ^ HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.c:490:13: error: redefinition of 'idx_lst' const int idx_lst[1] = {0}; ^ HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.c:460:13: note: previous definition is here const int idx_lst[1] = {0}; ^ HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.c:632:13: error: redefinition of 'idx_lst' const int idx_lst[1] = {0}; ^ HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.c:622:13: note: previous definition is here const int idx_lst[1] = {0}; ^ HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.c:642:13: error: redefinition of 'idx_lst' const int idx_lst[1] = {0}; ^ HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.c:622:13: note: previous definition is here const int idx_lst[1] = {0}; ^ HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.c:787:13: error: redefinition of 'idx_lst' const int idx_lst[1] = {2}; ^ HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.c:777:13: note: previous definition is here const int idx_lst[1] = {2}; ^ HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.c:797:13: error: redefinition of 'idx_lst' const int idx_lst[1] = {2}; ^ HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.c:777:13: note: previous definition is here const int idx_lst[1] = {2}; ^ HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.c:813:13: error: redefinition of 'idx_lst' const int idx_lst[1] = {1}; ^ HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.c:777:13: note: previous definition is here const int idx_lst[1] = {2}; ^ HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.c:823:13: error: redefinition of 'idx_lst' const int idx_lst[1] = {1}; ^ HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.c:777:13: note: previous definition is here const int idx_lst[1] = {2}; ^ HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.c:833:13: error: redefinition of 'idx_lst' const int idx_lst[1] = {1}; ^ HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.c:777:13: note: previous definition is here const int idx_lst[1] = {2}; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: HanserModelica_HanserModelica.Thermal.TestLongRod_02nls.o] Error 1