Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001623/0.001623, allocations: 106.8 kB / 16.42 MB, free: 6.477 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.001851/0.001851, allocations: 187.2 kB / 17.35 MB, free: 5.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002165/0.002165, allocations: 288.5 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.047/1.047, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.697e-05/4.697e-05, allocations: 2.281 kB / 0.682 GB, free: 7.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.7275/0.7275, allocations: 181.8 MB / 0.8596 GB, free: 8.102 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.007188/0.7348, allocations: 4.446 MB / 0.8639 GB, free: 3.648 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008353/0.7356, allocations: 19.88 kB / 0.8639 GB, free: 3.629 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0008438/0.7365, allocations: 250.1 kB / 0.8642 GB, free: 3.383 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002231/0.7388, allocations: 0.7932 MB / 0.8649 GB, free: 2.586 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004437/0.7433, allocations: 1.558 MB / 0.8665 GB, free: 1.027 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00179/0.7451, allocations: 1.336 MB / 0.8678 GB, free: 15.69 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006914/0.7458, allocations: 484.8 kB / 0.8682 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001067/0.7468, allocations: 0.6268 MB / 0.8688 GB, free: 14.58 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004834/0.7473, allocations: 402.4 kB / 0.8692 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 8.822e-05/0.7474, allocations: 44 kB / 0.8693 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002891/0.7503, allocations: 1.477 MB / 0.8707 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of combineBinaries: time 0.001041/0.7514, allocations: 1.041 MB / 0.8717 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of replaceArrayConstructors: time 0.0004992/0.7519, allocations: 0.6605 MB / 0.8724 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.000135/0.752, allocations: 99.69 kB / 0.8725 GB, free: 10.85 MB / 0.6387 GB Notification: Performance of FrontEnd: time 0.0001418/0.7522, allocations: 31.88 kB / 0.8725 GB, free: 10.82 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 (94) * Number of variables: 100 (93) Notification: Performance of Bindings: time 0.002752/0.7549, allocations: 2.643 MB / 0.8751 GB, free: 8.055 MB / 0.6387 GB Notification: Performance of FunctionAlias: time 0.0001467/0.7551, allocations: 91.86 kB / 0.8752 GB, free: 7.965 MB / 0.6387 GB Notification: Performance of Early Inline: time 0.002249/0.7574, allocations: 2.053 MB / 0.8772 GB, free: 5.883 MB / 0.6387 GB Notification: Performance of simplify1: time 0.0002262/0.7576, allocations: 163.8 kB / 0.8773 GB, free: 5.723 MB / 0.6387 GB Notification: Performance of Alias: time 0.002358/0.76, allocations: 1.801 MB / 0.8791 GB, free: 3.746 MB / 0.6387 GB Notification: Performance of simplify2: time 0.0001662/0.7601, allocations: 147.8 kB / 0.8792 GB, free: 3.602 MB / 0.6387 GB Notification: Performance of Detect States: time 0.0005416/0.7607, allocations: 435.9 kB / 0.8796 GB, free: 3.16 MB / 0.6387 GB Notification: Performance of Events: time 0.0004749/0.7612, allocations: 325.4 kB / 0.8799 GB, free: 2.848 MB / 0.6387 GB Notification: Performance of Partitioning: time 0.0006456/0.7618, allocations: 0.5493 MB / 0.8805 GB, free: 2.234 MB / 0.6387 GB Notification: Performance of Causalize: time 0.002769/0.7646, allocations: 2.291 MB / 0.8827 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of After Index Reduction Inline: time 0.001367/0.766, allocations: 1.383 MB / 0.8841 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of Inline: time 0.002557/0.7686, allocations: 2.459 MB / 0.8865 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of Partitioning: time 0.0001054/0.7687, allocations: 87.61 kB / 0.8865 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of Cleanup: time 0.0001141/0.7688, allocations: 115.8 kB / 0.8867 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of Causalize: time 0.003279/0.7721, allocations: 2.749 MB / 0.8893 GB, free: 9.035 MB / 0.6544 GB Notification: Performance of Tearing: time 1.963e-05/0.7721, allocations: 7.938 kB / 0.8894 GB, free: 9.027 MB / 0.6544 GB Notification: Performance of Initialization: time 7.32e-07/0.7721, allocations: 0 / 0.8894 GB, free: 9.027 MB / 0.6544 GB Notification: Performance of Tearing: time 8.385e-06/0.7721, allocations: 4 kB / 0.8894 GB, free: 9.023 MB / 0.6544 GB Notification: Performance of Categorize: time 2.554e-05/0.7722, allocations: 4 kB / 0.8894 GB, free: 9.02 MB / 0.6544 GB Notification: Performance of Solve: time 0.0007407/0.7729, allocations: 374.8 kB / 0.8897 GB, free: 8.652 MB / 0.6544 GB Notification: Performance of Jacobian: time 0.001239/0.7742, allocations: 0.9796 MB / 0.8907 GB, free: 7.633 MB / 0.6544 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 5 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 2 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 2 (2) {temDyn.T, temDynLoss.T} * Number of discrete states: .................... 4 (4) {m_flow2.T_start, m_flow2.count, m_flow1.count, m_flow1.T_start} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 19 (19) {$SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $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: ........... 75 (scalar:59, array:16, record:0) * Number of multi strong components: ............ 4 (algorithm:0, when:4, if:0, tuple:0) * Number of for-loop strong components: ......... 3 (generic: 3, 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: ........... 93 (scalar:77, array:16, record:0) * Number of multi strong components: ............ 2 (algorithm:2, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 3 (generic: 3, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0001562/0.7743, allocations: 45.09 kB / 0.8907 GB, free: 7.602 MB / 0.6544 GB Notification: Performance of SimCode: time 0.005679/0.78, allocations: 3.729 MB / 0.8944 GB, free: 3.832 MB / 0.6544 GB Notification: Performance of Templates: time 0.01864/0.7987, allocations: 10.45 MB / 0.9046 GB, free: 9.398 MB / 0.67 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -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=BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TemperatureDryBulb -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.o BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -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=BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TemperatureDryBulb -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb_functions.o BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb_functions.c BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb_functions.c:1336:31: error: use of undeclared identifier '_OMC_LIT13' tmpMeta2 = stringAppend(_OMC_LIT13,_modelName); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb_functions.c:1337:40: error: use of undeclared identifier '_OMC_LIT14' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT14); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb_functions.c:1339:40: error: use of undeclared identifier '_OMC_LIT15' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT15); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb_functions.c:1356:35: error: use of undeclared identifier '_OMC_LIT16' tmpMeta7 = stringAppend(_OMC_LIT16,_mediumName); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb_functions.c:1357:44: error: use of undeclared identifier '_OMC_LIT17' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT17); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb_functions.c:1359:45: error: use of undeclared identifier '_OMC_LIT18' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT18); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb_functions.c:1362:46: error: use of undeclared identifier '_OMC_LIT19' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT19); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb_functions.c:1365:46: error: use of undeclared identifier '_OMC_LIT20' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT20); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb_functions.c:1377:14: error: use of undeclared identifier '_OMC_LIT21' _X_str = _OMC_LIT21; ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb_functions.c:1385:41: error: use of undeclared identifier '_OMC_LIT22' tmpMeta21 = stringAppend(_X_str,_OMC_LIT22); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb_functions.c:1388:44: error: use of undeclared identifier '_OMC_LIT23' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT23); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb_functions.c:1391:44: error: use of undeclared identifier '_OMC_LIT24' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT24); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb_functions.c:1393:44: error: use of undeclared identifier '_OMC_LIT25' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT25); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb_functions.c:1398:30: error: use of undeclared identifier '_OMC_LIT26' tmpMeta33 = stringAppend(_OMC_LIT26,_mediumName); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb_functions.c:1399:40: error: use of undeclared identifier '_OMC_LIT17' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT17); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb_functions.c:1401:40: error: use of undeclared identifier '_OMC_LIT25' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT25); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb_functions.c:1402:40: error: use of undeclared identifier '_OMC_LIT27' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT27); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb_functions.c:1405:40: error: use of undeclared identifier '_OMC_LIT28' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT28); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb_functions.c:1501:3: warning: implicit declaration of function 'ModelicaError' is invalid in C99 [-Wimplicit-function-declaration] ModelicaError(MMC_STRINGDATA(_string)); ^ 1 warning and 18 errors generated. make: *** [: BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb_functions.o] Error 1