Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFloRat.T|temSteSta.T|temDyn.T|temDynLoss.T|masFloRat.ports.1..m_flow|senRelTem.T_rel",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFloRat.T|temSteSta.T|temDyn.T|temDynLoss.T|masFloRat.ports.1..m_flow|senRelTem.T_rel",fileNamePrefix="Buildings_latest_Buildings.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.001751/0.001751, allocations: 105.5 kB / 16.42 MB, free: 6.023 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.00176/0.00176, allocations: 189.4 kB / 17.36 MB, free: 5.59 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.119/1.119, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.144/2.144, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.632e-05/1.632e-05, allocations: 6.438 kB / 1.055 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.5153/0.5154, allocations: 181.8 MB / 1.232 GB, free: 264 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004866/0.5203, allocations: 4.443 MB / 1.237 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005014/0.5208, allocations: 23.88 kB / 1.237 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0005482/0.5213, allocations: 250.1 kB / 1.237 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001476/0.5229, allocations: 0.7502 MB / 1.238 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002769/0.5257, allocations: 1.517 MB / 1.239 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001321/0.527, allocations: 1.336 MB / 1.24 GB, free: 8.727 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005931/0.5276, allocations: 477.1 kB / 1.241 GB, free: 8.262 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008719/0.5285, allocations: 0.6306 MB / 1.241 GB, free: 7.629 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004597/0.529, allocations: 390.5 kB / 1.242 GB, free: 7.246 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.153e-05/0.529, allocations: 48 kB / 1.242 GB, free: 7.199 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001869/0.5309, allocations: 1.477 MB / 1.243 GB, free: 5.719 MB / 0.9512 GB Notification: Performance of combineBinaries: time 0.0006894/0.5316, allocations: 1.033 MB / 1.244 GB, free: 4.676 MB / 0.9512 GB Notification: Performance of replaceArrayConstructors: time 0.0003933/0.532, allocations: 0.6596 MB / 1.245 GB, free: 4.008 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001305/0.5322, allocations: 107.6 kB / 1.245 GB, free: 3.902 MB / 0.9512 GB Notification: Performance of FrontEnd: time 6.899e-05/0.5322, allocations: 15.94 kB / 1.245 GB, free: 3.887 MB / 0.9512 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.002134/0.5344, allocations: 2.648 MB / 1.248 GB, free: 1.117 MB / 0.9512 GB Notification: Performance of FunctionAlias: time 0.0001065/0.5345, allocations: 87.84 kB / 1.248 GB, free: 1.031 MB / 0.9512 GB Notification: Performance of Early Inline: time 0.001763/0.5362, allocations: 2.061 MB / 1.25 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of simplify1: time 0.0001492/0.5364, allocations: 157.4 kB / 1.25 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of Alias: time 0.001736/0.5381, allocations: 1.805 MB / 1.252 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of simplify2: time 0.0001212/0.5383, allocations: 135.8 kB / 1.252 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of Events: time 0.0003617/0.5386, allocations: 336.8 kB / 1.252 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of Detect States: time 0.000423/0.5391, allocations: 488.5 kB / 1.253 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of Partitioning: time 0.0004844/0.5396, allocations: 0.5533 MB / 1.253 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of Causalize: time 0.002242/0.5418, allocations: 2.302 MB / 1.255 GB, free: 8.887 MB / 0.9669 GB Notification: Performance of After Index Reduction Inline: time 0.001099/0.5429, allocations: 1.359 MB / 1.257 GB, free: 7.496 MB / 0.9669 GB Notification: Performance of Inline: time 0.002003/0.5449, allocations: 2.453 MB / 1.259 GB, free: 5.012 MB / 0.9669 GB Notification: Performance of Partitioning: time 8.699e-05/0.545, allocations: 95.59 kB / 1.259 GB, free: 4.91 MB / 0.9669 GB Notification: Performance of Cleanup: time 9.199e-05/0.5451, allocations: 115.8 kB / 1.259 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of Causalize: time 0.002707/0.5478, allocations: 2.755 MB / 1.262 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of Tearing: time 1.005e-05/0.5479, allocations: 3.984 kB / 1.262 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of Initialization: time 2.4e-07/0.5479, allocations: 0 / 1.262 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of Tearing: time 3.306e-06/0.5479, allocations: 0 / 1.262 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of Categorize: time 1.342e-05/0.5479, allocations: 7.938 kB / 1.262 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of Solve: time 0.0004893/0.5484, allocations: 370.9 kB / 1.262 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of Jacobian: time 0.0008781/0.5493, allocations: 0.9757 MB / 1.263 GB, free: 0.6562 MB / 0.9669 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 4.873e-05/0.5493, allocations: 51.77 kB / 1.263 GB, free: 0.6094 MB / 0.9669 GB Notification: Performance of SimCode: time 0.003331/0.5527, allocations: 3.7 MB / 1.267 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of Templates: time 0.01368/0.5664, allocations: 10.44 MB / 1.277 GB, free: 2.434 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile make -j1 -f Buildings_latest_Buildings.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=Buildings_latest_Buildings_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 Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.o Buildings_latest_Buildings.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=Buildings_latest_Buildings_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 Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_functions.o Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_functions.c Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_functions.c:1336:31: error: use of undeclared identifier '_OMC_LIT13' tmpMeta2 = stringAppend(_OMC_LIT13,_modelName); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_functions.c:1337:40: error: use of undeclared identifier '_OMC_LIT14' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT14); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_functions.c:1339:40: error: use of undeclared identifier '_OMC_LIT15' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT15); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_functions.c:1356:35: error: use of undeclared identifier '_OMC_LIT16' tmpMeta7 = stringAppend(_OMC_LIT16,_mediumName); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_functions.c:1357:44: error: use of undeclared identifier '_OMC_LIT17' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT17); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_functions.c:1359:45: error: use of undeclared identifier '_OMC_LIT18' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT18); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_functions.c:1362:46: error: use of undeclared identifier '_OMC_LIT19' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT19); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_functions.c:1365:46: error: use of undeclared identifier '_OMC_LIT20' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT20); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_functions.c:1377:14: error: use of undeclared identifier '_OMC_LIT21' _X_str = _OMC_LIT21; ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_functions.c:1385:41: error: use of undeclared identifier '_OMC_LIT22' tmpMeta21 = stringAppend(_X_str,_OMC_LIT22); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_functions.c:1388:44: error: use of undeclared identifier '_OMC_LIT23' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT23); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_functions.c:1391:44: error: use of undeclared identifier '_OMC_LIT24' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT24); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_functions.c:1393:44: error: use of undeclared identifier '_OMC_LIT25' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT25); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_functions.c:1398:30: error: use of undeclared identifier '_OMC_LIT26' tmpMeta33 = stringAppend(_OMC_LIT26,_mediumName); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_functions.c:1399:40: error: use of undeclared identifier '_OMC_LIT17' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT17); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_functions.c:1401:40: error: use of undeclared identifier '_OMC_LIT25' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT25); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_functions.c:1402:40: error: use of undeclared identifier '_OMC_LIT27' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT27); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_functions.c:1405:40: error: use of undeclared identifier '_OMC_LIT28' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT28); ^ Buildings_latest_Buildings.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: *** [: Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_functions.o] Error 1