Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev.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.TestSplitRev,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev") translateModel(ThermoPower.Test.WaterComponents.TestSplitRev,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001741/0.001741, allocations: 117.1 kB / 17.76 MB, free: 5.297 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.001941/0.001941, allocations: 188.5 kB / 18.68 MB, free: 4.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.04/2.04, allocations: 205.1 MB / 224.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3867/0.3867, allocations: 48.84 MB / 320.8 MB, free: 11.01 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.826e-05/2.827e-05, allocations: 2.281 kB / 451.1 MB, free: 8.617 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestSplitRev): time 0.4641/0.4641, allocations: 109.9 MB / 0.5479 GB, free: 7.168 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01686/0.481, allocations: 11.71 MB / 0.5593 GB, free: 6.922 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001407/0.4825, allocations: 22.47 kB / 0.5593 GB, free: 6.922 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001807/0.4843, allocations: 0.5751 MB / 0.5599 GB, free: 6.918 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001583/0.4859, allocations: 0.6607 MB / 0.5606 GB, free: 6.898 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02153/0.5075, allocations: 5.707 MB / 0.5661 GB, free: 6.75 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004179/0.5117, allocations: 2.084 MB / 0.5682 GB, free: 6.52 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001515/0.5132, allocations: 0.7248 MB / 0.5689 GB, free: 6.453 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001635/0.5148, allocations: 0.7138 MB / 0.5696 GB, free: 6.32 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007522/0.5156, allocations: 0.6408 MB / 0.5702 GB, free: 6.168 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001125/0.5157, allocations: 80.16 kB / 0.5703 GB, free: 6.168 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01261/0.5283, allocations: 5.945 MB / 0.5761 GB, free: 5.406 MB / 414.1 MB Notification: Performance of combineBinaries: time 0.001659/0.53, allocations: 1.509 MB / 0.5775 GB, free: 4.539 MB / 414.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005229/0.5306, allocations: 0.9268 MB / 0.5785 GB, free: 3.906 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004414/0.531, allocations: 171.6 kB / 0.5786 GB, free: 3.875 MB / 414.1 MB Notification: Performance of FrontEnd: time 0.0003351/0.5314, allocations: 26.22 kB / 0.5786 GB, free: 3.867 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: 174 (150) * Number of variables: 174 (174) Notification: Performance of Bindings: time 0.003064/0.5344, allocations: 4.135 MB / 0.5827 GB, free: 1.895 MB / 414.1 MB Notification: Performance of FunctionAlias: time 0.000139/0.5346, allocations: 171.8 kB / 0.5828 GB, free: 1.848 MB / 414.1 MB Notification: Performance of Early Inline: time 0.002173/0.5368, allocations: 2.659 MB / 0.5854 GB, free: 1.262 MB / 414.1 MB Notification: Performance of simplify1: time 0.0001604/0.5369, allocations: 177.4 kB / 0.5856 GB, free: 1.148 MB / 414.1 MB Notification: Performance of Alias: time 0.004939/0.5419, allocations: 4.066 MB / 0.5896 GB, free: 14.59 MB / 430.1 MB Notification: Performance of simplify2: time 0.0001565/0.5421, allocations: 106.2 kB / 0.5897 GB, free: 14.52 MB / 430.1 MB Notification: Performance of Events: time 0.0006229/0.5427, allocations: 417.8 kB / 0.5901 GB, free: 14.23 MB / 430.1 MB Notification: Performance of Detect States: time 0.0006904/0.5434, allocations: 0.5374 MB / 0.5906 GB, free: 13.8 MB / 430.1 MB Notification: Performance of Partitioning: time 0.0009076/0.5443, allocations: 0.5949 MB / 0.5912 GB, free: 13.4 MB / 430.1 MB Notification: Performance of Causalize: time 0.003125/0.5475, allocations: 2.357 MB / 0.5935 GB, free: 11.92 MB / 430.1 MB Notification: Performance of After Index Reduction Inline: time 0.00216/0.5496, allocations: 1.727 MB / 0.5952 GB, free: 10.18 MB / 430.1 MB Notification: Performance of Inline: time 0.004462/0.5541, allocations: 3.293 MB / 0.5984 GB, free: 6.859 MB / 430.1 MB Notification: Performance of Partitioning: time 0.0001927/0.5543, allocations: 131.7 kB / 0.5985 GB, free: 6.715 MB / 430.1 MB Notification: Performance of Cleanup: time 0.0003287/0.5546, allocations: 323.7 kB / 0.5988 GB, free: 6.398 MB / 430.1 MB Notification: Performance of Causalize: time 0.009368/0.564, allocations: 6.979 MB / 0.6056 GB, free: 15.36 MB / 446.1 MB Notification: Performance of Tearing: time 2.27e-05/0.5641, allocations: 0 / 0.6056 GB, free: 15.36 MB / 446.1 MB Notification: Performance of Initialization: time 8.52e-07/0.5641, allocations: 0 / 0.6056 GB, free: 15.36 MB / 446.1 MB Notification: Performance of Tearing: time 1.306e-05/0.5641, allocations: 3.938 kB / 0.6056 GB, free: 15.35 MB / 446.1 MB Notification: Performance of Categorize: time 3.427e-05/0.5641, allocations: 4 kB / 0.6056 GB, free: 15.35 MB / 446.1 MB Notification: Performance of Solve: time 0.001108/0.5652, allocations: 0.4958 MB / 0.6061 GB, free: 14.84 MB / 446.1 MB Notification: Performance of Jacobian: time 5.069e-06/0.5653, allocations: 0 / 0.6061 GB, free: 14.84 MB / 446.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) {Sine2.T_start, Sine2.count, Sine1.count, Sine1.T_start, Sine4.T_start, Sine4.count, Sine3.T_start, Sine3.count} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 36 (36) {T4.fluidState.phase, T5.fluidState.phase, T6.fluidState.phase, T1.fluidState.phase, T2.fluidState.phase, T3.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: ........... 88 (scalar:88, 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: ........... 142 (scalar:142, 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: ........... 142 (scalar:142, 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.0002578/0.5655, allocations: 84.2 kB / 0.6062 GB, free: 14.77 MB / 446.1 MB Notification: Performance of SimCode: time 0.0145/0.58, allocations: 6.273 MB / 0.6123 GB, free: 8.691 MB / 446.1 MB Notification: Performance of Templates: time 0.04648/0.6266, allocations: 32.08 MB / 0.6437 GB, free: 8.602 MB / 478.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev.makefile make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev.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_TestSplitRev -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.TestSplitRev.o ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev.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_TestSplitRev -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.TestSplitRev_functions.o ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev_functions.c ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev_functions.c:1647:63: error: use of undeclared identifier '_OMC_LIT18' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT18)); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev_functions.c:1695:42: error: use of undeclared identifier '_OMC_LIT15' tmpMeta47 = stringAppend(_OMC_LIT15,tmp46); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev_functions.c:1696:52: error: use of undeclared identifier '_OMC_LIT16' tmpMeta48 = stringAppend(tmpMeta47,_OMC_LIT16); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev_functions.c:1699:52: error: use of undeclared identifier '_OMC_LIT17' tmpMeta51 = stringAppend(tmpMeta50,_OMC_LIT17); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev_functions.c:1780:25: error: use of undeclared identifier '_OMC_LIT19' real_array_alloc_copy(_OMC_LIT19, _n); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev_functions.c:1782:25: error: use of undeclared identifier '_OMC_LIT20' real_array_alloc_copy(_OMC_LIT20, _I); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev_functions.c:1784:25: error: use of undeclared identifier '_OMC_LIT21' real_array_alloc_copy(_OMC_LIT21, _J); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev_functions.c:1970:25: error: use of undeclared identifier '_OMC_LIT22' real_array_alloc_copy(_OMC_LIT22, _n); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev_functions.c:1972:25: error: use of undeclared identifier '_OMC_LIT23' real_array_alloc_copy(_OMC_LIT23, _I); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev_functions.c:1974:25: error: use of undeclared identifier '_OMC_LIT24' real_array_alloc_copy(_OMC_LIT24, _J); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev_functions.c:2773:31: error: use of undeclared identifier '_OMC_LIT27' tmpMeta2 = stringAppend(_OMC_LIT27,tmp1); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev_functions.c:2774:40: error: use of undeclared identifier '_OMC_LIT28' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT28); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev_functions.c:2775:40: error: use of undeclared identifier '_OMC_LIT29' tmpMeta4 = stringAppend(tmpMeta3,_OMC_LIT29); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev_functions.c:2776:40: error: use of undeclared identifier '_OMC_LIT30' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT30); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev_functions.c:2788:31: error: use of undeclared identifier '_OMC_LIT31' tmpMeta8 = stringAppend(_OMC_LIT31,tmp7); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev_functions.c:2789:40: error: use of undeclared identifier '_OMC_LIT32' tmpMeta9 = stringAppend(tmpMeta8,_OMC_LIT32); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev_functions.c:2801:32: error: use of undeclared identifier '_OMC_LIT33' tmpMeta12 = stringAppend(_OMC_LIT33,tmp11); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev_functions.c:2802:42: error: use of undeclared identifier '_OMC_LIT34' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT34); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev_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.TestSplitRev_functions.o] Error 1