Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.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.TestCoeffValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve") translateModel(ThermoPower.Test.WaterComponents.TestCoeffValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 115.3 kB / 17.75 MB, free: 5.195 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.001069/0.001069, allocations: 189.9 kB / 18.68 MB, free: 4.27 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.851/1.851, allocations: 205.1 MB / 224.6 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.3521/0.3521, allocations: 48.83 MB / 320.7 MB, free: 11.02 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.174e-05/3.174e-05, allocations: 2.281 kB / 451.1 MB, free: 8.621 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoeffValve): time 0.07918/0.07922, allocations: 77.61 MB / 0.5164 GB, free: 10.73 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.3342/0.4134, allocations: 11.09 MB / 0.5272 GB, free: 7.223 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001231/0.4147, allocations: 23.81 kB / 0.5272 GB, free: 7.223 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001291/0.416, allocations: 399.2 kB / 0.5276 GB, free: 7.223 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001363/0.4174, allocations: 0.5044 MB / 0.5281 GB, free: 7.223 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02181/0.4393, allocations: 5.852 MB / 0.5338 GB, free: 7.199 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002948/0.4423, allocations: 1.532 MB / 0.5353 GB, free: 7.184 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007034/0.443, allocations: 421.4 kB / 0.5357 GB, free: 7.133 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009969/0.444, allocations: 493.2 kB / 0.5362 GB, free: 7.133 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005963/0.4446, allocations: 445.9 kB / 0.5366 GB, free: 7.133 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.572e-05/0.4447, allocations: 41.53 kB / 0.5366 GB, free: 7.133 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0127/0.4574, allocations: 5.849 MB / 0.5424 GB, free: 7.102 MB / 414.1 MB Notification: Performance of combineBinaries: time 0.001526/0.459, allocations: 1.284 MB / 0.5436 GB, free: 6.484 MB / 414.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004477/0.4594, allocations: 0.8313 MB / 0.5444 GB, free: 5.93 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003172/0.4597, allocations: 154.6 kB / 0.5446 GB, free: 5.898 MB / 414.1 MB Notification: Performance of FrontEnd: time 0.0002306/0.46, allocations: 20.19 kB / 0.5446 GB, free: 5.898 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 (108) * Number of variables: 124 (124) Notification: Performance of Bindings: time 0.002876/0.4629, allocations: 3.191 MB / 0.5477 GB, free: 4.449 MB / 414.1 MB Notification: Performance of FunctionAlias: time 0.0002962/0.4632, allocations: 221.8 kB / 0.5479 GB, free: 4.414 MB / 414.1 MB Notification: Performance of Early Inline: time 0.0018/0.465, allocations: 1.682 MB / 0.5496 GB, free: 4.246 MB / 414.1 MB Notification: Performance of simplify1: time 9.158e-05/0.4651, allocations: 106.7 kB / 0.5497 GB, free: 4.242 MB / 414.1 MB Notification: Performance of Alias: time 0.003182/0.4683, allocations: 3.074 MB / 0.5527 GB, free: 3.16 MB / 414.1 MB Notification: Performance of simplify2: time 5.699e-05/0.4683, allocations: 58.41 kB / 0.5527 GB, free: 3.16 MB / 414.1 MB Notification: Performance of Events: time 4.753e-05/0.4684, allocations: 57 kB / 0.5528 GB, free: 3.156 MB / 414.1 MB Notification: Performance of Detect States: time 0.000181/0.4686, allocations: 182.4 kB / 0.5529 GB, free: 3.117 MB / 414.1 MB Notification: Performance of Partitioning: time 0.0002816/0.4689, allocations: 405.3 kB / 0.5533 GB, free: 2.773 MB / 414.1 MB Notification: Performance of Causalize: time 0.0008617/0.4697, allocations: 1.008 MB / 0.5543 GB, free: 2.324 MB / 414.1 MB Notification: Performance of After Index Reduction Inline: time 0.0005702/0.4703, allocations: 0.645 MB / 0.5549 GB, free: 2.242 MB / 414.1 MB Notification: Performance of Inline: time 0.002045/0.4724, allocations: 2.261 MB / 0.5572 GB, free: 1.844 MB / 414.1 MB Notification: Performance of Partitioning: time 0.0001163/0.4725, allocations: 119 kB / 0.5573 GB, free: 1.809 MB / 414.1 MB Notification: Performance of Cleanup: time 0.0001635/0.4727, allocations: 187.8 kB / 0.5574 GB, free: 1.789 MB / 414.1 MB Notification: Performance of Causalize: time 0.004001/0.4767, allocations: 4.067 MB / 0.5614 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of Tearing: time 1.367e-05/0.4767, allocations: 0 / 0.5614 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of Initialization: time 6.61e-07/0.4767, allocations: 0 / 0.5614 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of Tearing: time 1.704e-05/0.4767, allocations: 10.84 kB / 0.5614 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of Categorize: time 3.054e-05/0.4768, allocations: 6.312 kB / 0.5614 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of Solve: time 0.0008633/0.4776, allocations: 0.7152 MB / 0.5621 GB, free: 492 kB / 414.1 MB Notification: Performance of Jacobian: time 3.998e-06/0.4776, allocations: 3.938 kB / 0.5621 GB, free: 488 kB / 414.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 16 * 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: ................. 4 (4) {ValveLiq1.fluidState.phase, ValveLiq2.fluidState.phase, ValveLiq3.fluidState.phase, ValveLiq4.fluidState.phase} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 40 (scalar:40, 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: ........... 123 (scalar:123, 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: ........... 123 (scalar:123, 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 6.668e-05/0.4777, allocations: 46.56 kB / 0.5622 GB, free: 448 kB / 414.1 MB Notification: Performance of SimCode: time 0.01434/0.4921, allocations: 5.682 MB / 0.5677 GB, free: 14.65 MB / 430.1 MB Notification: Performance of Templates: time 0.03866/0.5308, allocations: 29.25 MB / 0.5963 GB, free: 4.652 MB / 446.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.makefile make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.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_TestCoeffValve -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.o ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.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_TestCoeffValve -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve_functions.o ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve_functions.c ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve_functions.c:1647:63: error: use of undeclared identifier '_OMC_LIT18' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT18)); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve_functions.c:1695:42: error: use of undeclared identifier '_OMC_LIT15' tmpMeta47 = stringAppend(_OMC_LIT15,tmp46); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve_functions.c:1696:52: error: use of undeclared identifier '_OMC_LIT16' tmpMeta48 = stringAppend(tmpMeta47,_OMC_LIT16); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve_functions.c:1699:52: error: use of undeclared identifier '_OMC_LIT17' tmpMeta51 = stringAppend(tmpMeta50,_OMC_LIT17); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve_functions.c:1780:25: error: use of undeclared identifier '_OMC_LIT19' real_array_alloc_copy(_OMC_LIT19, _n); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve_functions.c:1782:25: error: use of undeclared identifier '_OMC_LIT20' real_array_alloc_copy(_OMC_LIT20, _I); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve_functions.c:1784:25: error: use of undeclared identifier '_OMC_LIT21' real_array_alloc_copy(_OMC_LIT21, _J); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve_functions.c:1970:25: error: use of undeclared identifier '_OMC_LIT22' real_array_alloc_copy(_OMC_LIT22, _n); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve_functions.c:1972:25: error: use of undeclared identifier '_OMC_LIT23' real_array_alloc_copy(_OMC_LIT23, _I); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve_functions.c:1974:25: error: use of undeclared identifier '_OMC_LIT24' real_array_alloc_copy(_OMC_LIT24, _J); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve_functions.c:2773:31: error: use of undeclared identifier '_OMC_LIT27' tmpMeta2 = stringAppend(_OMC_LIT27,tmp1); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve_functions.c:2774:40: error: use of undeclared identifier '_OMC_LIT28' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT28); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve_functions.c:2775:40: error: use of undeclared identifier '_OMC_LIT29' tmpMeta4 = stringAppend(tmpMeta3,_OMC_LIT29); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve_functions.c:2776:40: error: use of undeclared identifier '_OMC_LIT30' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT30); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve_functions.c:2788:31: error: use of undeclared identifier '_OMC_LIT31' tmpMeta8 = stringAppend(_OMC_LIT31,tmp7); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve_functions.c:2789:40: error: use of undeclared identifier '_OMC_LIT32' tmpMeta9 = stringAppend(tmpMeta8,_OMC_LIT32); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve_functions.c:2801:32: error: use of undeclared identifier '_OMC_LIT33' tmpMeta12 = stringAppend(_OMC_LIT33,tmp11); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve_functions.c:2802:42: error: use of undeclared identifier '_OMC_LIT34' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT34); ^ ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve_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.TestCoeffValve_functions.o] Error 1