Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2.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.ValveZeroFlow2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2") translateModel(ThermoPower.Test.WaterComponents.ValveZeroFlow2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 105.5 kB / 17.75 MB, free: 5.324 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.001445/0.001445, allocations: 184.2 kB / 18.68 MB, free: 4.398 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.794/1.794, 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.3519/0.3519, allocations: 48.84 MB / 320.8 MB, free: 11 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.761e-05/2.762e-05, allocations: 2.281 kB / 451.1 MB, free: 8.621 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.ValveZeroFlow2): time 0.04953/0.04957, allocations: 46.47 MB / 497.6 MB, free: 9.984 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01426/0.06389, allocations: 9.81 MB / 0.4955 GB, free: 144 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004342/0.06436, allocations: 7.938 kB / 0.4955 GB, free: 136 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008793/0.06525, allocations: 242.5 kB / 0.4958 GB, free: 15.89 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006872/0.06601, allocations: 302 kB / 0.4961 GB, free: 15.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01604/0.08206, allocations: 4.691 MB / 0.5006 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001564/0.08364, allocations: 0.8605 MB / 0.5015 GB, free: 10.03 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005921/0.08425, allocations: 246.1 kB / 0.5017 GB, free: 9.781 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007304/0.08499, allocations: 290.8 kB / 0.502 GB, free: 9.496 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005528/0.08555, allocations: 270.8 kB / 0.5023 GB, free: 9.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.013e-05/0.08566, allocations: 36 kB / 0.5023 GB, free: 9.195 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01243/0.0981, allocations: 5.69 MB / 0.5078 GB, free: 3.5 MB / 398.1 MB Notification: Performance of combineBinaries: time 0.0009593/0.09909, allocations: 0.707 MB / 0.5085 GB, free: 2.785 MB / 398.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004409/0.09956, allocations: 457.4 kB / 0.509 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002659/0.09984, allocations: 83.75 kB / 0.5091 GB, free: 2.25 MB / 398.1 MB Notification: Performance of FrontEnd: time 0.0001922/0.1, allocations: 8 kB / 0.5091 GB, free: 2.242 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: 79 (67) * Number of variables: 79 (79) Notification: Performance of Bindings: time 0.00252/0.1026, allocations: 1.973 MB / 0.511 GB, free: 156 kB / 398.1 MB Notification: Performance of FunctionAlias: time 0.0002046/0.1028, allocations: 87.86 kB / 0.5111 GB, free: 68 kB / 398.1 MB Notification: Performance of Early Inline: time 0.001748/0.1045, allocations: 1.167 MB / 0.5122 GB, free: 14.87 MB / 414.1 MB Notification: Performance of simplify1: time 0.0001582/0.1047, allocations: 79.89 kB / 0.5123 GB, free: 14.79 MB / 414.1 MB Notification: Performance of Alias: time 0.002425/0.1072, allocations: 1.654 MB / 0.5139 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simplify2: time 0.0001219/0.1073, allocations: 51.94 kB / 0.5139 GB, free: 12.93 MB / 414.1 MB Notification: Performance of Detect States: time 0.0003194/0.1076, allocations: 193.2 kB / 0.5141 GB, free: 12.72 MB / 414.1 MB Notification: Performance of Events: time 0.0002005/0.1078, allocations: 91.81 kB / 0.5142 GB, free: 12.63 MB / 414.1 MB Notification: Performance of Partitioning: time 0.0003798/0.1082, allocations: 267.8 kB / 0.5145 GB, free: 12.34 MB / 414.1 MB Notification: Performance of Causalize: time 0.001512/0.1097, allocations: 1.094 MB / 0.5155 GB, free: 11.21 MB / 414.1 MB Notification: Performance of After Index Reduction Inline: time 0.0007475/0.1105, allocations: 0.6483 MB / 0.5162 GB, free: 10.54 MB / 414.1 MB Notification: Performance of Inline: time 0.001942/0.1125, allocations: 1.334 MB / 0.5175 GB, free: 9.168 MB / 414.1 MB Notification: Performance of Partitioning: time 8.807e-05/0.1126, allocations: 58.36 kB / 0.5175 GB, free: 9.102 MB / 414.1 MB Notification: Performance of Cleanup: time 0.0002603/0.1128, allocations: 137 kB / 0.5177 GB, free: 8.965 MB / 414.1 MB Notification: Performance of Causalize: time 0.004271/0.1171, allocations: 2.925 MB / 0.5205 GB, free: 6.027 MB / 414.1 MB Notification: Performance of Tearing: time 2.195e-05/0.1171, allocations: 3.938 kB / 0.5205 GB, free: 6.023 MB / 414.1 MB Notification: Performance of Initialization: time 8.92e-07/0.1171, allocations: 0 / 0.5205 GB, free: 6.023 MB / 414.1 MB Notification: Performance of Tearing: time 0.0008414/0.118, allocations: 0.6409 MB / 0.5212 GB, free: 5.285 MB / 414.1 MB Notification: Performance of Categorize: time 2.573e-05/0.118, allocations: 3.938 kB / 0.5212 GB, free: 5.281 MB / 414.1 MB Notification: Performance of Solve: time 0.0005243/0.1186, allocations: 270.6 kB / 0.5214 GB, free: 5.02 MB / 414.1 MB Notification: Performance of Jacobian: time 0.0005108/0.1191, allocations: 500 kB / 0.5219 GB, free: 4.492 MB / 414.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: ......... 3 * 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) {Tank1.M, Tank1.H, Tank2.M, Tank2.H} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 8 (8) {Tank1.liquidState.phase, Tank2.liquidState.phase, Valve.fluidState.phase, $SEV_3, $SEV_2, $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: ........... 36 (scalar:36, 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: ... 2 (linear: 2, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 64 (scalar:64, 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: ........... 64 (scalar:64, 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 9.949e-05/0.1192, allocations: 48.61 kB / 0.5219 GB, free: 4.449 MB / 414.1 MB Notification: Performance of SimCode: time 0.2979/0.4171, allocations: 5.176 MB / 0.527 GB, free: 26.66 MB / 414.1 MB Notification: Performance of Templates: time 0.04328/0.4605, allocations: 26.71 MB / 0.5531 GB, free: 20.18 MB / 414.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2.makefile make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2.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_ValveZeroFlow2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2.o ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2.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_ValveZeroFlow2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2_functions.o ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2_functions.c ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2_functions.c:1647:63: error: use of undeclared identifier '_OMC_LIT18' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT18)); ^ ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2_functions.c:1695:42: error: use of undeclared identifier '_OMC_LIT15' tmpMeta47 = stringAppend(_OMC_LIT15,tmp46); ^ ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2_functions.c:1696:52: error: use of undeclared identifier '_OMC_LIT16' tmpMeta48 = stringAppend(tmpMeta47,_OMC_LIT16); ^ ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2_functions.c:1699:52: error: use of undeclared identifier '_OMC_LIT17' tmpMeta51 = stringAppend(tmpMeta50,_OMC_LIT17); ^ ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2_functions.c:1780:25: error: use of undeclared identifier '_OMC_LIT19' real_array_alloc_copy(_OMC_LIT19, _n); ^ ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2_functions.c:1782:25: error: use of undeclared identifier '_OMC_LIT20' real_array_alloc_copy(_OMC_LIT20, _I); ^ ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2_functions.c:1784:25: error: use of undeclared identifier '_OMC_LIT21' real_array_alloc_copy(_OMC_LIT21, _J); ^ ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2_functions.c:1970:25: error: use of undeclared identifier '_OMC_LIT22' real_array_alloc_copy(_OMC_LIT22, _n); ^ ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2_functions.c:1972:25: error: use of undeclared identifier '_OMC_LIT23' real_array_alloc_copy(_OMC_LIT23, _I); ^ ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2_functions.c:1974:25: error: use of undeclared identifier '_OMC_LIT24' real_array_alloc_copy(_OMC_LIT24, _J); ^ ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2_functions.c:2773:31: error: use of undeclared identifier '_OMC_LIT27' tmpMeta2 = stringAppend(_OMC_LIT27,tmp1); ^ ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2_functions.c:2774:40: error: use of undeclared identifier '_OMC_LIT28' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT28); ^ ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2_functions.c:2775:40: error: use of undeclared identifier '_OMC_LIT29' tmpMeta4 = stringAppend(tmpMeta3,_OMC_LIT29); ^ ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2_functions.c:2776:40: error: use of undeclared identifier '_OMC_LIT30' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT30); ^ ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2_functions.c:2788:31: error: use of undeclared identifier '_OMC_LIT31' tmpMeta8 = stringAppend(_OMC_LIT31,tmp7); ^ ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2_functions.c:2789:40: error: use of undeclared identifier '_OMC_LIT32' tmpMeta9 = stringAppend(tmpMeta8,_OMC_LIT32); ^ ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2_functions.c:2801:32: error: use of undeclared identifier '_OMC_LIT33' tmpMeta12 = stringAppend(_OMC_LIT33,tmp11); ^ ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2_functions.c:2802:42: error: use of undeclared identifier '_OMC_LIT34' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT34); ^ ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2_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.ValveZeroFlow2_functions.o] Error 1