Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.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.ValveZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow") translateModel(ThermoPower.Test.WaterComponents.ValveZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 108.7 kB / 17.75 MB, free: 5.168 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.0014/0.0014, allocations: 184.4 kB / 18.69 MB, free: 4.242 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.833/1.833, allocations: 205.1 MB / 224.6 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3448/0.3448, allocations: 48.84 MB / 320.8 MB, free: 11 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.009e-05/3.011e-05, allocations: 2.281 kB / 451.2 MB, free: 8.594 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.ValveZeroFlow): time 0.05202/0.05206, allocations: 41.97 MB / 493.1 MB, free: 14.47 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01446/0.06655, allocations: 9.88 MB / 0.4912 GB, free: 4.559 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007259/0.06732, allocations: 7.938 kB / 0.4912 GB, free: 4.551 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001333/0.06868, allocations: 226.5 kB / 0.4914 GB, free: 4.328 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001619/0.07048, allocations: 302 kB / 0.4917 GB, free: 4.031 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01706/0.08756, allocations: 4.726 MB / 0.4963 GB, free: 15.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001634/0.08922, allocations: 0.8439 MB / 0.4972 GB, free: 14.44 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007/0.08993, allocations: 255 kB / 0.4974 GB, free: 14.19 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000718/0.09066, allocations: 282.9 kB / 0.4977 GB, free: 13.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005634/0.09124, allocations: 270.8 kB / 0.4979 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.265e-05/0.09134, allocations: 32 kB / 0.498 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01141/0.1027, allocations: 5.729 MB / 0.5036 GB, free: 7.879 MB / 398.1 MB Notification: Performance of combineBinaries: time 0.001023/0.1038, allocations: 0.7648 MB / 0.5043 GB, free: 7.105 MB / 398.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005031/0.1043, allocations: 492.8 kB / 0.5048 GB, free: 6.617 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002501/0.1046, allocations: 87.75 kB / 0.5049 GB, free: 6.531 MB / 398.1 MB Notification: Performance of FrontEnd: time 0.0001875/0.1048, allocations: 11.94 kB / 0.5049 GB, free: 6.52 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: 71 (59) * Number of variables: 71 (71) Notification: Performance of Bindings: time 0.002605/0.1074, allocations: 2.041 MB / 0.5069 GB, free: 4.359 MB / 398.1 MB Notification: Performance of FunctionAlias: time 0.0002701/0.1077, allocations: 122.2 kB / 0.507 GB, free: 4.242 MB / 398.1 MB Notification: Performance of Early Inline: time 0.001628/0.1093, allocations: 1.172 MB / 0.5081 GB, free: 3.039 MB / 398.1 MB Notification: Performance of simplify1: time 0.000127/0.1095, allocations: 87.89 kB / 0.5082 GB, free: 2.953 MB / 398.1 MB Notification: Performance of Alias: time 0.002426/0.1119, allocations: 1.575 MB / 0.5098 GB, free: 1.25 MB / 398.1 MB Notification: Performance of simplify2: time 0.0001094/0.112, allocations: 59.91 kB / 0.5098 GB, free: 1.191 MB / 398.1 MB Notification: Performance of Detect States: time 0.0002048/0.1123, allocations: 177.2 kB / 0.51 GB, free: 1.004 MB / 398.1 MB Notification: Performance of Events: time 0.0001681/0.1124, allocations: 79.89 kB / 0.5101 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of Partitioning: time 0.0003434/0.1128, allocations: 288.9 kB / 0.5103 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of Causalize: time 0.001146/0.1139, allocations: 0.9315 MB / 0.5112 GB, free: 15.57 MB / 414.1 MB Notification: Performance of After Index Reduction Inline: time 0.0008297/0.1148, allocations: 0.6249 MB / 0.5118 GB, free: 14.92 MB / 414.1 MB Notification: Performance of Inline: time 0.001746/0.1165, allocations: 1.411 MB / 0.5132 GB, free: 13.48 MB / 414.1 MB Notification: Performance of Partitioning: time 9.184e-05/0.1166, allocations: 67.62 kB / 0.5133 GB, free: 13.4 MB / 414.1 MB Notification: Performance of Cleanup: time 0.0002487/0.1169, allocations: 139.6 kB / 0.5134 GB, free: 13.26 MB / 414.1 MB Notification: Performance of Causalize: time 0.003974/0.1209, allocations: 2.774 MB / 0.5161 GB, free: 10.47 MB / 414.1 MB Notification: Performance of Tearing: time 0.001632/0.1225, allocations: 1.402 MB / 0.5175 GB, free: 8.969 MB / 414.1 MB Notification: Performance of Initialization: time 1.332e-06/0.1225, allocations: 0 / 0.5175 GB, free: 8.969 MB / 414.1 MB Notification: Performance of Tearing: time 0.0008648/0.1234, allocations: 0.8142 MB / 0.5183 GB, free: 8.105 MB / 414.1 MB Notification: Performance of Categorize: time 2.859e-05/0.1235, allocations: 7.984 kB / 0.5183 GB, free: 8.098 MB / 414.1 MB Notification: Performance of Solve: time 0.001038/0.1245, allocations: 1.345 MB / 0.5196 GB, free: 6.598 MB / 414.1 MB Notification: Performance of Jacobian: time 3.316e-06/0.1245, allocations: 0 / 0.5196 GB, free: 6.598 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: ................. 6 (6) {V1.fluidState.phase, V2.fluidState.phase, V3.fluidState.phase, $TEV_2, $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: ........... 24 (scalar:24, 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: 1, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 53 (scalar:53, 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: ... 4 (linear: 1, nonlinear:3) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 62 (scalar:62, 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: ... 4 (linear: 1, nonlinear:3) Notification: Performance of backend: time 7.937e-05/0.1246, allocations: 34.22 kB / 0.5197 GB, free: 6.566 MB / 414.1 MB Notification: Performance of SimCode: time 0.01237/0.137, allocations: 5.227 MB / 0.5248 GB, free: 1.301 MB / 414.1 MB Notification: Performance of Templates: time 0.3371/0.4741, allocations: 27.74 MB / 0.5518 GB, free: 23 MB / 414.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.makefile make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.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_ValveZeroFlow -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 ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.o ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.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_ValveZeroFlow -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 ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow_functions.o ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow_functions.c ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow_functions.c:1647:63: error: use of undeclared identifier '_OMC_LIT18' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT18)); ^ ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow_functions.c:1695:42: error: use of undeclared identifier '_OMC_LIT15' tmpMeta47 = stringAppend(_OMC_LIT15,tmp46); ^ ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow_functions.c:1696:52: error: use of undeclared identifier '_OMC_LIT16' tmpMeta48 = stringAppend(tmpMeta47,_OMC_LIT16); ^ ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow_functions.c:1699:52: error: use of undeclared identifier '_OMC_LIT17' tmpMeta51 = stringAppend(tmpMeta50,_OMC_LIT17); ^ ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow_functions.c:1780:25: error: use of undeclared identifier '_OMC_LIT19' real_array_alloc_copy(_OMC_LIT19, _n); ^ ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow_functions.c:1782:25: error: use of undeclared identifier '_OMC_LIT20' real_array_alloc_copy(_OMC_LIT20, _I); ^ ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow_functions.c:1784:25: error: use of undeclared identifier '_OMC_LIT21' real_array_alloc_copy(_OMC_LIT21, _J); ^ ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow_functions.c:1970:25: error: use of undeclared identifier '_OMC_LIT22' real_array_alloc_copy(_OMC_LIT22, _n); ^ ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow_functions.c:1972:25: error: use of undeclared identifier '_OMC_LIT23' real_array_alloc_copy(_OMC_LIT23, _I); ^ ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow_functions.c:1974:25: error: use of undeclared identifier '_OMC_LIT24' real_array_alloc_copy(_OMC_LIT24, _J); ^ ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow_functions.c:2773:31: error: use of undeclared identifier '_OMC_LIT27' tmpMeta2 = stringAppend(_OMC_LIT27,tmp1); ^ ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow_functions.c:2774:40: error: use of undeclared identifier '_OMC_LIT28' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT28); ^ ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow_functions.c:2775:40: error: use of undeclared identifier '_OMC_LIT29' tmpMeta4 = stringAppend(tmpMeta3,_OMC_LIT29); ^ ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow_functions.c:2776:40: error: use of undeclared identifier '_OMC_LIT30' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT30); ^ ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow_functions.c:2788:31: error: use of undeclared identifier '_OMC_LIT31' tmpMeta8 = stringAppend(_OMC_LIT31,tmp7); ^ ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow_functions.c:2789:40: error: use of undeclared identifier '_OMC_LIT32' tmpMeta9 = stringAppend(tmpMeta8,_OMC_LIT32); ^ ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow_functions.c:2801:32: error: use of undeclared identifier '_OMC_LIT33' tmpMeta12 = stringAppend(_OMC_LIT33,tmp11); ^ ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow_functions.c:2802:42: error: use of undeclared identifier '_OMC_LIT34' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT34); ^ ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow_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.ValveZeroFlow_functions.o] Error 1