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.000933/0.0009326, allocations: 106.8 kB / 16.42 MB, free: 6.512 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.0008658/0.0008658, allocations: 187.2 kB / 17.35 MB, free: 5.754 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.137/1.137, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001905/0.001905, allocations: 297.4 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8203/0.8203, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.239e-05/1.24e-05, allocations: 2.281 kB / 0.682 GB, free: 7.047 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.3866/0.3866, allocations: 181.8 MB / 0.8595 GB, free: 8.129 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.005157/0.3918, allocations: 4.452 MB / 0.8639 GB, free: 3.664 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004804/0.3923, allocations: 19.88 kB / 0.8639 GB, free: 3.645 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006025/0.3929, allocations: 250.1 kB / 0.8641 GB, free: 3.398 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001531/0.3944, allocations: 0.7541 MB / 0.8649 GB, free: 2.641 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002978/0.3975, allocations: 1.519 MB / 0.8664 GB, free: 1.121 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001263/0.3987, allocations: 1.336 MB / 0.8677 GB, free: 15.78 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005558/0.3993, allocations: 484.8 kB / 0.8681 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007632/0.4001, allocations: 0.619 MB / 0.8687 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003856/0.4005, allocations: 402.4 kB / 0.8691 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 6.392e-05/0.4005, allocations: 44 kB / 0.8692 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001911/0.4025, allocations: 1.465 MB / 0.8706 GB, free: 12.78 MB / 0.6387 GB Notification: Performance of combineBinaries: time 0.0006501/0.4031, allocations: 1.033 MB / 0.8716 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of replaceArrayConstructors: time 0.0003424/0.4035, allocations: 0.6664 MB / 0.8723 GB, free: 11.06 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.4036, allocations: 107.7 kB / 0.8724 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of FrontEnd: time 9.513e-05/0.4037, allocations: 31.86 kB / 0.8724 GB, free: 10.93 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.002029/0.4057, allocations: 2.648 MB / 0.875 GB, free: 8.16 MB / 0.6387 GB Notification: Performance of FunctionAlias: time 0.0001028/0.4058, allocations: 91.84 kB / 0.8751 GB, free: 8.07 MB / 0.6387 GB Notification: Performance of Early Inline: time 0.00175/0.4076, allocations: 2.057 MB / 0.8771 GB, free: 5.984 MB / 0.6387 GB Notification: Performance of simplify1: time 0.0001473/0.4077, allocations: 159.8 kB / 0.8772 GB, free: 5.828 MB / 0.6387 GB Notification: Performance of Alias: time 0.001721/0.4095, allocations: 1.804 MB / 0.879 GB, free: 3.852 MB / 0.6387 GB Notification: Performance of simplify2: time 0.000129/0.4096, allocations: 147.8 kB / 0.8791 GB, free: 3.707 MB / 0.6387 GB Notification: Performance of Events: time 0.000369/0.41, allocations: 326.5 kB / 0.8794 GB, free: 3.395 MB / 0.6387 GB Notification: Performance of Detect States: time 0.0004313/0.4104, allocations: 487.2 kB / 0.8799 GB, free: 2.902 MB / 0.6387 GB Notification: Performance of Partitioning: time 0.0005054/0.4109, allocations: 0.5533 MB / 0.8804 GB, free: 2.285 MB / 0.6387 GB Notification: Performance of Causalize: time 0.002285/0.4132, allocations: 2.291 MB / 0.8827 GB, free: 15.94 MB / 0.6544 GB Notification: Performance of After Index Reduction Inline: time 0.001216/0.4144, allocations: 1.371 MB / 0.884 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of Inline: time 0.002222/0.4167, allocations: 2.452 MB / 0.8864 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of Partitioning: time 0.0001145/0.4168, allocations: 91.59 kB / 0.8865 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of Cleanup: time 0.00012/0.4169, allocations: 115.8 kB / 0.8866 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of Causalize: time 0.002907/0.4198, allocations: 2.755 MB / 0.8893 GB, free: 9.098 MB / 0.6544 GB Notification: Performance of Tearing: time 8.135e-06/0.4199, allocations: 0 / 0.8893 GB, free: 9.098 MB / 0.6544 GB Notification: Performance of Initialization: time 4.51e-07/0.4199, allocations: 3.938 kB / 0.8893 GB, free: 9.094 MB / 0.6544 GB Notification: Performance of Tearing: time 4.158e-06/0.4199, allocations: 0 / 0.8893 GB, free: 9.094 MB / 0.6544 GB Notification: Performance of Categorize: time 1.747e-05/0.4199, allocations: 4 kB / 0.8893 GB, free: 9.09 MB / 0.6544 GB Notification: Performance of Solve: time 0.0005559/0.4205, allocations: 374.8 kB / 0.8897 GB, free: 8.723 MB / 0.6544 GB Notification: Performance of Jacobian: time 0.0009442/0.4214, allocations: 0.9757 MB / 0.8906 GB, free: 7.703 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.0001128/0.4215, allocations: 43.69 kB / 0.8907 GB, free: 7.672 MB / 0.6544 GB Notification: Performance of SimCode: time 0.003826/0.4254, allocations: 3.719 MB / 0.8943 GB, free: 3.91 MB / 0.6544 GB Notification: Performance of Templates: time 0.01403/0.4394, allocations: 10.56 MB / 0.9046 GB, free: 9.367 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