Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) 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(ThermoPower.Test.WaterComponents.TestJoinRev,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev") translateModel(ThermoPower.Test.WaterComponents.TestJoinRev,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 109.1 kB / 17.75 MB, free: 5.352 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.001083/0.001083, allocations: 188.6 kB / 18.68 MB, free: 4.43 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.154/1.154, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2256/0.2256, allocations: 48.85 MB / 320.8 MB, free: 11.03 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.154e-05/1.156e-05, allocations: 2.281 kB / 451.2 MB, free: 8.629 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoinRev): time 0.2333/0.2333, allocations: 105.2 MB / 0.5433 GB, free: 7.164 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01006/0.2434, allocations: 11.68 MB / 0.5547 GB, free: 6.996 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004354/0.2438, allocations: 26.47 kB / 0.5547 GB, free: 6.992 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001049/0.2449, allocations: 0.5571 MB / 0.5553 GB, free: 6.984 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007772/0.2457, allocations: 0.6321 MB / 0.5559 GB, free: 6.973 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01189/0.2576, allocations: 5.699 MB / 0.5615 GB, free: 6.828 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002236/0.2599, allocations: 2.029 MB / 0.5634 GB, free: 6.766 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000685/0.2606, allocations: 0.6957 MB / 0.5641 GB, free: 6.707 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000642/0.2612, allocations: 0.6998 MB / 0.5648 GB, free: 6.625 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000459/0.2617, allocations: 0.6326 MB / 0.5654 GB, free: 6.508 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.341e-05/0.2618, allocations: 80.41 kB / 0.5655 GB, free: 6.508 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007639/0.2694, allocations: 5.943 MB / 0.5713 GB, free: 6.219 MB / 414.1 MB Notification: Performance of combineBinaries: time 0.0008011/0.2702, allocations: 1.481 MB / 0.5728 GB, free: 5.363 MB / 414.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002891/0.2705, allocations: 0.8965 MB / 0.5736 GB, free: 4.754 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001691/0.2707, allocations: 166.8 kB / 0.5738 GB, free: 4.727 MB / 414.1 MB Notification: Performance of FrontEnd: time 0.0001243/0.2708, allocations: 24.38 kB / 0.5738 GB, free: 4.719 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 (142) * Number of variables: 166 (166) Notification: Performance of Bindings: time 0.002266/0.2731, allocations: 4.067 MB / 0.5778 GB, free: 2.777 MB / 414.1 MB Notification: Performance of FunctionAlias: time 0.0001112/0.2732, allocations: 167.4 kB / 0.5779 GB, free: 2.734 MB / 414.1 MB Notification: Performance of Early Inline: time 0.00174/0.275, allocations: 2.67 MB / 0.5806 GB, free: 2.141 MB / 414.1 MB Notification: Performance of simplify1: time 0.0001145/0.2751, allocations: 190.5 kB / 0.5807 GB, free: 2.074 MB / 414.1 MB Notification: Performance of Alias: time 0.002913/0.278, allocations: 3.87 MB / 0.5845 GB, free: 432 kB / 414.1 MB Notification: Performance of simplify2: time 7.257e-05/0.2781, allocations: 117.5 kB / 0.5846 GB, free: 348 kB / 414.1 MB Notification: Performance of Events: time 0.0003552/0.2785, allocations: 408.2 kB / 0.585 GB, free: 64 kB / 414.1 MB Notification: Performance of Detect States: time 0.0005094/0.279, allocations: 0.5426 MB / 0.5855 GB, free: 15.65 MB / 430.1 MB Notification: Performance of Partitioning: time 0.0005279/0.2795, allocations: 0.5898 MB / 0.5861 GB, free: 15.25 MB / 430.1 MB Notification: Performance of Causalize: time 0.002185/0.2817, allocations: 2.338 MB / 0.5884 GB, free: 14.21 MB / 430.1 MB Notification: Performance of After Index Reduction Inline: time 0.001414/0.2831, allocations: 1.772 MB / 0.5901 GB, free: 12.87 MB / 430.1 MB Notification: Performance of Inline: time 0.002888/0.286, allocations: 3.371 MB / 0.5934 GB, free: 9.695 MB / 430.1 MB Notification: Performance of Partitioning: time 0.0001412/0.2862, allocations: 135.4 kB / 0.5936 GB, free: 9.555 MB / 430.1 MB Notification: Performance of Cleanup: time 0.0002675/0.2865, allocations: 335.1 kB / 0.5939 GB, free: 9.223 MB / 430.1 MB Notification: Performance of Causalize: time 0.006927/0.2934, allocations: 6.935 MB / 0.6006 GB, free: 2.23 MB / 430.1 MB Notification: Performance of Tearing: time 8.185e-06/0.2934, allocations: 4 kB / 0.6007 GB, free: 2.227 MB / 430.1 MB Notification: Performance of Initialization: time 7.32e-07/0.2934, allocations: 0 / 0.6007 GB, free: 2.227 MB / 430.1 MB Notification: Performance of Tearing: time 3.967e-06/0.2934, allocations: 4 kB / 0.6007 GB, free: 2.223 MB / 430.1 MB Notification: Performance of Categorize: time 1.781e-05/0.2934, allocations: 7.938 kB / 0.6007 GB, free: 2.215 MB / 430.1 MB Notification: Performance of Solve: time 0.0007134/0.2942, allocations: 0.4924 MB / 0.6011 GB, free: 1.719 MB / 430.1 MB Notification: Performance of Jacobian: time 2.795e-06/0.2942, allocations: 4 kB / 0.6011 GB, free: 1.715 MB / 430.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: ............... 0 * Number of algebraic event partitions: ......... 8 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 8 (8) {Sine4.T_start, Sine4.count, Sine3.T_start, Sine3.count, Sine2.T_start, Sine2.count, Sine1.count, Sine1.T_start} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 36 (36) {T1.fluidState.phase, T2.fluidState.phase, T3.fluidState.phase, T4.fluidState.phase, T5.fluidState.phase, T6.fluidState.phase, $SEV_29, $SEV_28, $SEV_27, $SEV_26, $SEV_25, $SEV_24, $SEV_23, $SEV_22, $SEV_21, $SEV_20, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 86 (scalar:86, array:0, record:0) * Number of multi strong components: ............ 8 (algorithm:0, when:8, 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: ........... 140 (scalar:140, array:0, record:0) * Number of multi strong components: ............ 4 (algorithm:4, 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 (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 140 (scalar:140, array:0, record:0) * Number of multi strong components: ............ 4 (algorithm:4, 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 0.0001184/0.2943, allocations: 92.38 kB / 0.6012 GB, free: 1.629 MB / 430.1 MB Notification: Performance of SimCode: time 0.00922/0.3035, allocations: 6.259 MB / 0.6073 GB, free: 11.56 MB / 446.1 MB Notification: Performance of Templates: time 0.03708/0.3406, allocations: 32.41 MB / 0.639 GB, free: 11.15 MB / 478.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev.makefile make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev.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=ThermoPower_ThermoPower_Test_WaterComponents_TestJoinRev -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 ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev.o ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev.c 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=ThermoPower_ThermoPower_Test_WaterComponents_TestJoinRev -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 ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev_functions.o ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev_functions.c ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev_functions.c:1647:63: error: use of undeclared identifier '_OMC_LIT18' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT18)); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev_functions.c:1695:42: error: use of undeclared identifier '_OMC_LIT15' tmpMeta47 = stringAppend(_OMC_LIT15,tmp46); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev_functions.c:1696:52: error: use of undeclared identifier '_OMC_LIT16' tmpMeta48 = stringAppend(tmpMeta47,_OMC_LIT16); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev_functions.c:1699:52: error: use of undeclared identifier '_OMC_LIT17' tmpMeta51 = stringAppend(tmpMeta50,_OMC_LIT17); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev_functions.c:1780:25: error: use of undeclared identifier '_OMC_LIT19' real_array_alloc_copy(_OMC_LIT19, _n); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev_functions.c:1782:25: error: use of undeclared identifier '_OMC_LIT20' real_array_alloc_copy(_OMC_LIT20, _I); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev_functions.c:1784:25: error: use of undeclared identifier '_OMC_LIT21' real_array_alloc_copy(_OMC_LIT21, _J); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev_functions.c:1970:25: error: use of undeclared identifier '_OMC_LIT22' real_array_alloc_copy(_OMC_LIT22, _n); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev_functions.c:1972:25: error: use of undeclared identifier '_OMC_LIT23' real_array_alloc_copy(_OMC_LIT23, _I); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev_functions.c:1974:25: error: use of undeclared identifier '_OMC_LIT24' real_array_alloc_copy(_OMC_LIT24, _J); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev_functions.c:2773:31: error: use of undeclared identifier '_OMC_LIT27' tmpMeta2 = stringAppend(_OMC_LIT27,tmp1); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev_functions.c:2774:40: error: use of undeclared identifier '_OMC_LIT28' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT28); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev_functions.c:2775:40: error: use of undeclared identifier '_OMC_LIT29' tmpMeta4 = stringAppend(tmpMeta3,_OMC_LIT29); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev_functions.c:2776:40: error: use of undeclared identifier '_OMC_LIT30' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT30); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev_functions.c:2788:31: error: use of undeclared identifier '_OMC_LIT31' tmpMeta8 = stringAppend(_OMC_LIT31,tmp7); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev_functions.c:2789:40: error: use of undeclared identifier '_OMC_LIT32' tmpMeta9 = stringAppend(tmpMeta8,_OMC_LIT32); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev_functions.c:2801:32: error: use of undeclared identifier '_OMC_LIT33' tmpMeta12 = stringAppend(_OMC_LIT33,tmp11); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev_functions.c:2802:42: error: use of undeclared identifier '_OMC_LIT34' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT34); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev_functions.c:3057:31: error: use of undeclared identifier '_OMC_LIT35' tmpMeta2 = stringAppend(_OMC_LIT35,tmp1); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev_functions.o] Error 1