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.001123/0.001123, allocations: 113 kB / 17.75 MB, free: 5.336 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.001089/0.001089, allocations: 184.7 kB / 18.68 MB, free: 4.414 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.115/1.115, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2313/0.2313, allocations: 48.85 MB / 320.8 MB, free: 11.02 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.567e-05/1.568e-05, allocations: 2.281 kB / 451.1 MB, free: 8.625 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.ValveZeroFlow): time 0.03632/0.03634, allocations: 41.98 MB / 493.1 MB, free: 14.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01029/0.04665, allocations: 9.873 MB / 0.4912 GB, free: 4.594 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003797/0.04706, allocations: 15.88 kB / 0.4912 GB, free: 4.578 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006694/0.04774, allocations: 230.5 kB / 0.4914 GB, free: 4.352 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006482/0.0484, allocations: 294 kB / 0.4917 GB, free: 4.062 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01035/0.0588, allocations: 4.722 MB / 0.4963 GB, free: 15.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001035/0.05985, allocations: 0.8401 MB / 0.4971 GB, free: 14.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004178/0.06028, allocations: 259 kB / 0.4974 GB, free: 14.22 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004065/0.06069, allocations: 278.9 kB / 0.4977 GB, free: 13.95 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003467/0.06105, allocations: 274.7 kB / 0.4979 GB, free: 13.68 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.948e-05/0.06111, allocations: 28 kB / 0.498 GB, free: 13.65 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008101/0.06921, allocations: 5.725 MB / 0.5035 GB, free: 7.922 MB / 398.1 MB Notification: Performance of combineBinaries: time 0.0005845/0.06982, allocations: 0.7726 MB / 0.5043 GB, free: 7.141 MB / 398.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002861/0.07011, allocations: 492.8 kB / 0.5048 GB, free: 6.652 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001186/0.07024, allocations: 83.75 kB / 0.5048 GB, free: 6.57 MB / 398.1 MB Notification: Performance of FrontEnd: time 8.633e-05/0.07033, allocations: 11.94 kB / 0.5049 GB, free: 6.559 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.001789/0.07213, allocations: 2.041 MB / 0.5069 GB, free: 4.398 MB / 398.1 MB Notification: Performance of FunctionAlias: time 0.0002003/0.07233, allocations: 118.2 kB / 0.507 GB, free: 4.285 MB / 398.1 MB Notification: Performance of Early Inline: time 0.001352/0.07369, allocations: 1.176 MB / 0.5081 GB, free: 3.078 MB / 398.1 MB Notification: Performance of simplify1: time 0.0001027/0.07381, allocations: 79.91 kB / 0.5082 GB, free: 3 MB / 398.1 MB Notification: Performance of Alias: time 0.001787/0.0756, allocations: 1.591 MB / 0.5097 GB, free: 1.281 MB / 398.1 MB Notification: Performance of simplify2: time 6.77e-05/0.07568, allocations: 55.94 kB / 0.5098 GB, free: 1.227 MB / 398.1 MB Notification: Performance of Events: time 0.0001108/0.0758, allocations: 95.83 kB / 0.5099 GB, free: 1.129 MB / 398.1 MB Notification: Performance of Detect States: time 0.0001715/0.07598, allocations: 177.2 kB / 0.5101 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of Partitioning: time 0.0002614/0.07625, allocations: 276.9 kB / 0.5103 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of Causalize: time 0.0009502/0.07721, allocations: 0.9354 MB / 0.5112 GB, free: 15.6 MB / 414.1 MB Notification: Performance of After Index Reduction Inline: time 0.0005244/0.07774, allocations: 0.6327 MB / 0.5119 GB, free: 14.94 MB / 414.1 MB Notification: Performance of Inline: time 0.001333/0.07908, allocations: 1.392 MB / 0.5132 GB, free: 13.52 MB / 414.1 MB Notification: Performance of Partitioning: time 7.395e-05/0.07917, allocations: 71.56 kB / 0.5133 GB, free: 13.43 MB / 414.1 MB Notification: Performance of Cleanup: time 0.0001542/0.07933, allocations: 143.6 kB / 0.5134 GB, free: 13.29 MB / 414.1 MB Notification: Performance of Causalize: time 0.00295/0.08228, allocations: 2.759 MB / 0.5161 GB, free: 10.52 MB / 414.1 MB Notification: Performance of Tearing: time 0.0007856/0.08308, allocations: 0.9373 MB / 0.517 GB, free: 9.48 MB / 414.1 MB Notification: Performance of Initialization: time 5.81e-07/0.08309, allocations: 7.875 kB / 0.517 GB, free: 9.473 MB / 414.1 MB Notification: Performance of Tearing: time 0.0004539/0.08355, allocations: 0.5721 MB / 0.5176 GB, free: 8.852 MB / 414.1 MB Notification: Performance of Categorize: time 1.566e-05/0.08357, allocations: 4 kB / 0.5176 GB, free: 8.848 MB / 414.1 MB Notification: Performance of Solve: time 0.0007614/0.08434, allocations: 1.158 MB / 0.5187 GB, free: 7.539 MB / 414.1 MB Notification: Performance of Jacobian: time 3.907e-06/0.08435, allocations: 3.938 kB / 0.5187 GB, free: 7.535 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: 0, nonlinear:1) 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: 0, nonlinear:4) 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: 0, nonlinear:4) Notification: Performance of backend: time 4.96e-05/0.08441, allocations: 38.39 kB / 0.5188 GB, free: 7.5 MB / 414.1 MB Notification: Performance of SimCode: time 0.008256/0.09267, allocations: 5.178 MB / 0.5238 GB, free: 2.285 MB / 414.1 MB Notification: Performance of Templates: time 0.1923/0.285, allocations: 27.91 MB / 0.5511 GB, free: 23.41 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