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.001116/0.001116, allocations: 105.5 kB / 17.7 MB, free: 5.273 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.001062/0.001062, allocations: 192 kB / 18.64 MB, free: 4.34 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.126/1.126, allocations: 205.1 MB / 224.5 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2299/0.2299, allocations: 48.85 MB / 320.7 MB, free: 11.02 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.467e-05/2.493e-05, allocations: 3.812 kB / 391.5 MB, free: 48.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.ValveZeroFlow2): time 0.0286/0.02865, allocations: 46.48 MB / 438 MB, free: 5.488 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008543/0.03723, allocations: 9.789 MB / 447.7 MB, free: 11.69 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002441/0.0375, allocations: 10.84 kB / 447.8 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006749/0.03818, allocations: 246.4 kB / 448 MB, free: 11.44 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004822/0.03871, allocations: 298 kB / 448.3 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0106/0.04933, allocations: 4.684 MB / 453 MB, free: 6.469 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000805/0.05014, allocations: 0.8488 MB / 453.8 MB, free: 5.617 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003425/0.05049, allocations: 255.7 kB / 454.1 MB, free: 5.367 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002726/0.05078, allocations: 283 kB / 454.3 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002575/0.05104, allocations: 274.7 kB / 454.6 MB, free: 4.82 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.853e-05/0.05109, allocations: 32 kB / 454.6 MB, free: 4.789 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006258/0.05735, allocations: 5.701 MB / 460.3 MB, free: 15.08 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0004311/0.0578, allocations: 0.6993 MB / 461 MB, free: 14.38 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001996/0.058, allocations: 457.3 kB / 461.5 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.994e-05/0.05808, allocations: 79.81 kB / 461.6 MB, free: 13.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.781e-05/0.05813, allocations: 12 kB / 461.6 MB, free: 13.83 MB / 350.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.001379/0.05952, allocations: 1.916 MB / 463.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of FunctionAlias: time 9.084e-05/0.05962, allocations: 91.83 kB / 463.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of Early Inline: time 0.0009812/0.0606, allocations: 1.16 MB / 464.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of simplify1: time 6.104e-05/0.06067, allocations: 79.91 kB / 464.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of Alias: time 0.001364/0.06205, allocations: 1.46 MB / 466.3 MB, free: 8.832 MB / 350.1 MB Notification: Performance of simplify2: time 4.568e-05/0.0621, allocations: 59.92 kB / 466.3 MB, free: 8.773 MB / 350.1 MB Notification: Performance of Events: time 0.0001111/0.06222, allocations: 95.16 kB / 466.4 MB, free: 8.684 MB / 350.1 MB Notification: Performance of Detect States: time 0.0002016/0.06243, allocations: 198.1 kB / 466.6 MB, free: 8.477 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0002484/0.06268, allocations: 279.8 kB / 466.9 MB, free: 8.172 MB / 350.1 MB Notification: Performance of Causalize: time 0.00118/0.06387, allocations: 1.39 MB / 468.3 MB, free: 6.758 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004888/0.06437, allocations: 0.6484 MB / 468.9 MB, free: 6.082 MB / 350.1 MB Notification: Performance of Inline: time 0.00109/0.06547, allocations: 1.336 MB / 470.3 MB, free: 4.715 MB / 350.1 MB Notification: Performance of Partitioning: time 6.437e-05/0.06554, allocations: 75.59 kB / 470.3 MB, free: 4.629 MB / 350.1 MB Notification: Performance of Cleanup: time 9.477e-05/0.06564, allocations: 129.3 kB / 470.5 MB, free: 4.504 MB / 350.1 MB Notification: Performance of Causalize: time 0.002925/0.06857, allocations: 3.763 MB / 474.2 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of Tearing: time 7.154e-06/0.06859, allocations: 0 / 474.2 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of Initialization: time 2.91e-07/0.06859, allocations: 0 / 474.2 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of Tearing: time 0.0003918/0.06899, allocations: 0.5363 MB / 474.8 MB, free: 192 kB / 350.1 MB Notification: Performance of Categorize: time 8.305e-06/0.06901, allocations: 4 kB / 474.8 MB, free: 188 kB / 350.1 MB Notification: Performance of Solve: time 0.000376/0.06939, allocations: 282.6 kB / 475.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of Jacobian: time 0.0003846/0.06979, allocations: 0.4957 MB / 475.6 MB, free: 15.38 MB / 366.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: 0, nonlinear:2) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 66 (scalar:66, 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: ........... 66 (scalar:66, 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 4.094e-05/0.06984, allocations: 41.08 kB / 475.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of SimCode: time 0.0075/0.07734, allocations: 5.145 MB / 480.7 MB, free: 10.17 MB / 366.1 MB Notification: Performance of Templates: time 0.02872/0.1061, allocations: 26.67 MB / 0.4955 GB, free: 15.54 MB / 398.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