Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.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.TestValveChoked,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked") translateModel(ThermoPower.Test.WaterComponents.TestValveChoked,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 113 kB / 17.75 MB, free: 5.328 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.001143/0.001143, allocations: 188.6 kB / 18.68 MB, free: 4.402 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.155/1.155, allocations: 205.1 MB / 224.6 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2303/0.2303, allocations: 48.84 MB / 320.8 MB, free: 11.01 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.514e-05/1.515e-05, allocations: 2.281 kB / 451.1 MB, free: 8.617 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValveChoked): time 0.03683/0.03686, allocations: 44.33 MB / 495.5 MB, free: 12.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00973/0.04662, allocations: 9.278 MB / 0.4929 GB, free: 2.816 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003341/0.047, allocations: 11.94 kB / 0.4929 GB, free: 2.805 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005903/0.04759, allocations: 210.5 kB / 0.4931 GB, free: 2.598 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000484/0.04809, allocations: 282.1 kB / 0.4934 GB, free: 2.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01101/0.05914, allocations: 5.033 MB / 0.4983 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009246/0.06008, allocations: 0.8877 MB / 0.4992 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000307/0.06039, allocations: 262.6 kB / 0.4994 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005625/0.06096, allocations: 406.3 kB / 0.4998 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002407/0.06121, allocations: 274.7 kB / 0.5001 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.39e-05/0.06126, allocations: 32 kB / 0.5001 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00703/0.0683, allocations: 5.639 MB / 0.5056 GB, free: 5.773 MB / 398.1 MB Notification: Performance of combineBinaries: time 0.0005949/0.06891, allocations: 0.7994 MB / 0.5064 GB, free: 4.965 MB / 398.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003049/0.06922, allocations: 0.512 MB / 0.5069 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001169/0.06935, allocations: 91.75 kB / 0.507 GB, free: 4.355 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.404e-05/0.06945, allocations: 19.92 kB / 0.507 GB, free: 4.336 MB / 398.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.001739/0.07119, allocations: 2.075 MB / 0.509 GB, free: 2.141 MB / 398.1 MB Notification: Performance of FunctionAlias: time 0.0001659/0.07137, allocations: 127.7 kB / 0.5092 GB, free: 2.016 MB / 398.1 MB Notification: Performance of Early Inline: time 0.001041/0.07241, allocations: 1.12 MB / 0.5103 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of simplify1: time 7.472e-05/0.0725, allocations: 79.89 kB / 0.5103 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of Alias: time 0.001928/0.07444, allocations: 1.819 MB / 0.5121 GB, free: 14.78 MB / 414.1 MB Notification: Performance of simplify2: time 6.949e-05/0.07452, allocations: 55.92 kB / 0.5122 GB, free: 14.73 MB / 414.1 MB Notification: Performance of Events: time 0.0001306/0.07466, allocations: 99.11 kB / 0.5123 GB, free: 14.63 MB / 414.1 MB Notification: Performance of Detect States: time 0.0001524/0.07482, allocations: 165.2 kB / 0.5124 GB, free: 14.45 MB / 414.1 MB Notification: Performance of Partitioning: time 0.0002707/0.07509, allocations: 289 kB / 0.5127 GB, free: 14.1 MB / 414.1 MB Notification: Performance of Causalize: time 0.0009663/0.07607, allocations: 0.9566 MB / 0.5136 GB, free: 13.07 MB / 414.1 MB Notification: Performance of After Index Reduction Inline: time 0.0005233/0.0766, allocations: 0.6273 MB / 0.5142 GB, free: 12.42 MB / 414.1 MB Notification: Performance of Inline: time 0.001367/0.07797, allocations: 1.453 MB / 0.5156 GB, free: 10.93 MB / 414.1 MB Notification: Performance of Partitioning: time 7.486e-05/0.07806, allocations: 79.53 kB / 0.5157 GB, free: 10.84 MB / 414.1 MB Notification: Performance of Cleanup: time 0.0001512/0.07821, allocations: 139.6 kB / 0.5159 GB, free: 10.7 MB / 414.1 MB Notification: Performance of Causalize: time 0.002892/0.08111, allocations: 2.882 MB / 0.5187 GB, free: 7.812 MB / 414.1 MB Notification: Performance of Tearing: time 6.252e-06/0.08113, allocations: 4 kB / 0.5187 GB, free: 7.809 MB / 414.1 MB Notification: Performance of Initialization: time 1.904e-06/0.08114, allocations: 4 kB / 0.5187 GB, free: 7.805 MB / 414.1 MB Notification: Performance of Tearing: time 2.785e-06/0.08115, allocations: 3.938 kB / 0.5187 GB, free: 7.801 MB / 414.1 MB Notification: Performance of Categorize: time 1.343e-05/0.08116, allocations: 3.984 kB / 0.5187 GB, free: 7.797 MB / 414.1 MB Notification: Performance of Solve: time 0.0003405/0.08151, allocations: 254.6 kB / 0.5189 GB, free: 7.547 MB / 414.1 MB Notification: Performance of Jacobian: time 3.035e-06/0.08152, allocations: 0 / 0.5189 GB, free: 7.547 MB / 414.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 5 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 4 * 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: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 8 (8) {ValveLiqChocked.fluidState.phase, ValveVap.fluidState.phase, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_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: ........... 38 (scalar:38, 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: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 76 (scalar:76, 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: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 76 (scalar:76, 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: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 5.36e-05/0.08158, allocations: 43.3 kB / 0.519 GB, free: 7.508 MB / 414.1 MB Notification: Performance of SimCode: time 0.007364/0.08895, allocations: 4.867 MB / 0.5237 GB, free: 2.602 MB / 414.1 MB Notification: Performance of Templates: time 0.1807/0.2697, allocations: 26.49 MB / 0.5496 GB, free: 24.18 MB / 414.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.makefile make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.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_TestValveChoked -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.TestValveChoked.o ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.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_TestValveChoked -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.TestValveChoked_functions.o ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked_functions.c ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked_functions.c:1647:63: error: use of undeclared identifier '_OMC_LIT18' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT18)); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked_functions.c:1695:42: error: use of undeclared identifier '_OMC_LIT15' tmpMeta47 = stringAppend(_OMC_LIT15,tmp46); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked_functions.c:1696:52: error: use of undeclared identifier '_OMC_LIT16' tmpMeta48 = stringAppend(tmpMeta47,_OMC_LIT16); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked_functions.c:1699:52: error: use of undeclared identifier '_OMC_LIT17' tmpMeta51 = stringAppend(tmpMeta50,_OMC_LIT17); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked_functions.c:1780:25: error: use of undeclared identifier '_OMC_LIT19' real_array_alloc_copy(_OMC_LIT19, _n); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked_functions.c:1782:25: error: use of undeclared identifier '_OMC_LIT20' real_array_alloc_copy(_OMC_LIT20, _I); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked_functions.c:1784:25: error: use of undeclared identifier '_OMC_LIT21' real_array_alloc_copy(_OMC_LIT21, _J); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked_functions.c:1970:25: error: use of undeclared identifier '_OMC_LIT22' real_array_alloc_copy(_OMC_LIT22, _n); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked_functions.c:1972:25: error: use of undeclared identifier '_OMC_LIT23' real_array_alloc_copy(_OMC_LIT23, _I); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked_functions.c:1974:25: error: use of undeclared identifier '_OMC_LIT24' real_array_alloc_copy(_OMC_LIT24, _J); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked_functions.c:2773:31: error: use of undeclared identifier '_OMC_LIT27' tmpMeta2 = stringAppend(_OMC_LIT27,tmp1); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked_functions.c:2774:40: error: use of undeclared identifier '_OMC_LIT28' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT28); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked_functions.c:2775:40: error: use of undeclared identifier '_OMC_LIT29' tmpMeta4 = stringAppend(tmpMeta3,_OMC_LIT29); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked_functions.c:2776:40: error: use of undeclared identifier '_OMC_LIT30' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT30); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked_functions.c:2788:31: error: use of undeclared identifier '_OMC_LIT31' tmpMeta8 = stringAppend(_OMC_LIT31,tmp7); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked_functions.c:2789:40: error: use of undeclared identifier '_OMC_LIT32' tmpMeta9 = stringAppend(tmpMeta8,_OMC_LIT32); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked_functions.c:2801:32: error: use of undeclared identifier '_OMC_LIT33' tmpMeta12 = stringAppend(_OMC_LIT33,tmp11); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked_functions.c:2802:42: error: use of undeclared identifier '_OMC_LIT34' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT34); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked_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.TestValveChoked_functions.o] Error 1