Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestST1.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.TestST1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestST1") translateModel(ThermoPower.Test.WaterComponents.TestST1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestST1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 106.8 kB / 17.69 MB, free: 5.52 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.001091/0.001091, allocations: 192 kB / 18.63 MB, free: 4.59 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.172/1.172, allocations: 205.1 MB / 224.5 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2328/0.2328, allocations: 48.84 MB / 320.7 MB, free: 11.04 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.349e-05/3.375e-05, allocations: 7.281 kB / 391.5 MB, free: 48.58 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST1): time 0.04225/0.04232, allocations: 44.08 MB / 435.5 MB, free: 7.902 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02165/0.06401, allocations: 15.5 MB / 451 MB, free: 8.383 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003803/0.06444, allocations: 7.938 kB / 451 MB, free: 8.375 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007616/0.06521, allocations: 190.7 kB / 451.2 MB, free: 8.188 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000607/0.06583, allocations: 254.3 kB / 451.5 MB, free: 7.938 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01706/0.08294, allocations: 6.591 MB / 458.1 MB, free: 1.359 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008617/0.08382, allocations: 0.7351 MB / 458.8 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003681/0.08419, allocations: 266.4 kB / 459.1 MB, free: 368 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000265/0.08447, allocations: 239.1 kB / 459.3 MB, free: 128 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002349/0.08471, allocations: 238.9 kB / 459.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.715e-05/0.08476, allocations: 28 kB / 459.6 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01082/0.09558, allocations: 8.042 MB / 467.6 MB, free: 7.816 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.000622/0.09625, allocations: 0.6838 MB / 468.3 MB, free: 7.125 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002227/0.09648, allocations: 433.7 kB / 468.7 MB, free: 6.695 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001107/0.0966, allocations: 71.81 kB / 468.8 MB, free: 6.625 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0001159/0.09672, allocations: 15.94 kB / 468.8 MB, free: 6.609 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 (67) * Number of variables: 75 (75) Notification: Performance of Bindings: time 0.001468/0.09819, allocations: 1.815 MB / 470.6 MB, free: 4.676 MB / 350.1 MB Notification: Performance of FunctionAlias: time 5.985e-05/0.09826, allocations: 67.83 kB / 470.7 MB, free: 4.609 MB / 350.1 MB Notification: Performance of Early Inline: time 0.0009541/0.09922, allocations: 0.9313 MB / 471.6 MB, free: 3.652 MB / 350.1 MB Notification: Performance of simplify1: time 6.258e-05/0.09929, allocations: 71.91 kB / 471.7 MB, free: 3.582 MB / 350.1 MB Notification: Performance of Alias: time 0.00142/0.1007, allocations: 1.501 MB / 473.2 MB, free: 1.922 MB / 350.1 MB Notification: Performance of simplify2: time 2.821e-05/0.1008, allocations: 27.97 kB / 473.2 MB, free: 1.895 MB / 350.1 MB Notification: Performance of Events: time 9.108e-05/0.1009, allocations: 61 kB / 473.3 MB, free: 1.836 MB / 350.1 MB Notification: Performance of Detect States: time 0.0001855/0.101, allocations: 165.5 kB / 473.4 MB, free: 1.664 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0001764/0.1012, allocations: 192.2 kB / 473.6 MB, free: 1.457 MB / 350.1 MB Notification: Performance of Causalize: time 0.0007898/0.102, allocations: 0.9186 MB / 474.5 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 0.0003566/0.1024, allocations: 433.7 kB / 475 MB, free: 72 kB / 350.1 MB Notification: Performance of Inline: time 0.001072/0.1035, allocations: 1.147 MB / 476.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of Partitioning: time 7.082e-05/0.1036, allocations: 83.53 kB / 476.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of Cleanup: time 8.598e-05/0.1036, allocations: 111.7 kB / 476.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of Causalize: time 0.005213/0.1089, allocations: 6.233 MB / 482.5 MB, free: 8.621 MB / 366.1 MB Notification: Performance of Tearing: time 0.0003436/0.1092, allocations: 484.5 kB / 483 MB, free: 8.051 MB / 366.1 MB Notification: Performance of Initialization: time 8.22e-07/0.1092, allocations: 3.938 kB / 483 MB, free: 8.047 MB / 366.1 MB Notification: Performance of Tearing: time 0.0001385/0.1094, allocations: 250.2 kB / 483.3 MB, free: 7.754 MB / 366.1 MB Notification: Performance of Categorize: time 1.109e-05/0.1094, allocations: 0 / 483.3 MB, free: 7.754 MB / 366.1 MB Notification: Performance of Solve: time 0.0003822/0.1098, allocations: 270.7 kB / 483.5 MB, free: 7.492 MB / 366.1 MB Notification: Performance of Jacobian: time 0.0002657/0.1101, allocations: 378.5 kB / 483.9 MB, free: 7.086 MB / 366.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: ......... 2 * 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: ............................. 4 (4) {Inertia1.phi, Inertia1.w, ST.P_HP, ST.P_LP} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 5 (5) {ST.fluidState_in.phase, SensT1.fluidState.phase, $SEV_1, $SEV_0, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 28 (scalar:28, array:0, 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: ... 1 (linear: 0, nonlinear:1) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 73 (scalar:73, array:0, 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: ... 1 (linear: 0, nonlinear:1) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 73 (scalar:73, array:0, 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: ... 1 (linear: 0, nonlinear:1) Notification: Performance of backend: time 4.137e-05/0.1101, allocations: 37.69 kB / 483.9 MB, free: 7.062 MB / 366.1 MB Notification: Performance of SimCode: time 0.01096/0.1211, allocations: 6.29 MB / 490.2 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of Templates: time 0.03906/0.1602, allocations: 34.98 MB / 0.5129 GB, free: 13.78 MB / 414.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestST1.makefile make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestST1.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_TestST1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ThermoPower_ThermoPower.Test.WaterComponents.TestST1.o ThermoPower_ThermoPower.Test.WaterComponents.TestST1.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_TestST1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ThermoPower_ThermoPower.Test.WaterComponents.TestST1_functions.o ThermoPower_ThermoPower.Test.WaterComponents.TestST1_functions.c ThermoPower_ThermoPower.Test.WaterComponents.TestST1_functions.c:2256:63: error: use of undeclared identifier '_OMC_LIT19' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT19)); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestST1_functions.c:2304:42: error: use of undeclared identifier '_OMC_LIT16' tmpMeta47 = stringAppend(_OMC_LIT16,tmp46); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestST1_functions.c:2305:52: error: use of undeclared identifier '_OMC_LIT17' tmpMeta48 = stringAppend(tmpMeta47,_OMC_LIT17); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestST1_functions.c:2308:52: error: use of undeclared identifier '_OMC_LIT18' tmpMeta51 = stringAppend(tmpMeta50,_OMC_LIT18); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestST1_functions.c:2689:63: error: use of undeclared identifier '_OMC_LIT19' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT19)); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestST1_functions.c:2739:42: error: use of undeclared identifier '_OMC_LIT16' tmpMeta47 = stringAppend(_OMC_LIT16,tmp46); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestST1_functions.c:2740:52: error: use of undeclared identifier '_OMC_LIT20' tmpMeta48 = stringAppend(tmpMeta47,_OMC_LIT20); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestST1_functions.c:2743:52: error: use of undeclared identifier '_OMC_LIT18' tmpMeta51 = stringAppend(tmpMeta50,_OMC_LIT18); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestST1_functions.c:2824:25: error: use of undeclared identifier '_OMC_LIT21' real_array_alloc_copy(_OMC_LIT21, _n); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestST1_functions.c:2826:25: error: use of undeclared identifier '_OMC_LIT22' real_array_alloc_copy(_OMC_LIT22, _I); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestST1_functions.c:2828:25: error: use of undeclared identifier '_OMC_LIT23' real_array_alloc_copy(_OMC_LIT23, _J); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestST1_functions.c:3014:25: error: use of undeclared identifier '_OMC_LIT24' real_array_alloc_copy(_OMC_LIT24, _n); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestST1_functions.c:3016:25: error: use of undeclared identifier '_OMC_LIT25' real_array_alloc_copy(_OMC_LIT25, _I); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestST1_functions.c:3018:25: error: use of undeclared identifier '_OMC_LIT26' real_array_alloc_copy(_OMC_LIT26, _J); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestST1_functions.c:3204:25: error: use of undeclared identifier '_OMC_LIT27' real_array_alloc_copy(_OMC_LIT27, _n); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestST1_functions.c:3206:25: error: use of undeclared identifier '_OMC_LIT28' real_array_alloc_copy(_OMC_LIT28, _I); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestST1_functions.c:3208:25: error: use of undeclared identifier '_OMC_LIT29' real_array_alloc_copy(_OMC_LIT29, _J); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestST1_functions.c:3394:25: error: use of undeclared identifier '_OMC_LIT30' real_array_alloc_copy(_OMC_LIT30, _n); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestST1_functions.c:3396:25: error: use of undeclared identifier '_OMC_LIT31' real_array_alloc_copy(_OMC_LIT31, _I); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: ThermoPower_ThermoPower.Test.WaterComponents.TestST1_functions.o] Error 1