Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Components.Validation.Sensors.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.Templates.Components.Validation.Sensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dp.y|dp.senRelPre.p_rel|hum.y|hum.toDryAir.XiDry|ent.y|ent.senSpeEnt.h_out|tem.y|tem.senTem.T|vol.y|vol.senVolFlo.V_flow",fileNamePrefix="Buildings_latest_Buildings.Templates.Components.Validation.Sensors") translateModel(Buildings.Templates.Components.Validation.Sensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dp.y|dp.senRelPre.p_rel|hum.y|hum.toDryAir.XiDry|ent.y|ent.senSpeEnt.h_out|tem.y|tem.senTem.T|vol.y|vol.senVolFlo.V_flow",fileNamePrefix="Buildings_latest_Buildings.Templates.Components.Validation.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001098, allocations: 102.8 kB / 16.42 MB, free: 6.52 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.001042/0.001042, allocations: 192.3 kB / 17.36 MB, free: 5.727 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.123/1.123, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.155/2.155, allocations: 461.9 MB / 0.7354 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.132e-05/2.134e-05, allocations: 2.5 kB / 1.055 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Sensors): time 0.5881/0.5882, allocations: 262 MB / 1.31 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01866/0.6069, allocations: 19.12 MB / 1.329 GB, free: 13.54 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001236/0.6081, allocations: 51.69 kB / 1.329 GB, free: 13.48 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001648/0.6098, allocations: 0.7452 MB / 1.33 GB, free: 12.73 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.00364/0.6135, allocations: 1.823 MB / 1.332 GB, free: 10.91 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002818/0.6163, allocations: 1.456 MB / 1.333 GB, free: 9.449 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.00298/0.6193, allocations: 2.915 MB / 1.336 GB, free: 6.527 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001528/0.6208, allocations: 1.293 MB / 1.337 GB, free: 5.219 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005825/0.6267, allocations: 3.088 MB / 1.34 GB, free: 2.125 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001006/0.6277, allocations: 0.8363 MB / 1.341 GB, free: 1.285 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001205/0.6278, allocations: 96 kB / 1.341 GB, free: 1.191 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001817/0.6296, allocations: 1.454 MB / 1.343 GB, free: 15.73 MB / 1.061 GB Notification: Performance of combineBinaries: time 0.001323/0.631, allocations: 2.18 MB / 1.345 GB, free: 13.53 MB / 1.061 GB Notification: Performance of replaceArrayConstructors: time 0.0007543/0.6317, allocations: 1.447 MB / 1.346 GB, free: 12.07 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002125/0.6319, allocations: 239.2 kB / 1.346 GB, free: 11.83 MB / 1.061 GB Notification: Performance of FrontEnd: time 0.0001729/0.6321, allocations: 43.92 kB / 1.346 GB, free: 11.79 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 (198) * Number of variables: 230 (188) Notification: Performance of Bindings: time 0.004047/0.6362, allocations: 5.497 MB / 1.352 GB, free: 6.113 MB / 1.061 GB Notification: Performance of FunctionAlias: time 0.0001368/0.6363, allocations: 183.8 kB / 1.352 GB, free: 5.934 MB / 1.061 GB Notification: Performance of Early Inline: time 0.002525/0.6389, allocations: 3.075 MB / 1.355 GB, free: 2.816 MB / 1.061 GB Notification: Performance of simplify1: time 0.0001866/0.6391, allocations: 223.7 kB / 1.355 GB, free: 2.598 MB / 1.061 GB Notification: Performance of Alias: time 0.003966/0.643, allocations: 4.318 MB / 1.359 GB, free: 13.93 MB / 1.076 GB Notification: Performance of simplify2: time 0.0001466/0.6432, allocations: 171.8 kB / 1.359 GB, free: 13.76 MB / 1.076 GB Notification: Performance of Events: time 0.0004171/0.6436, allocations: 471.8 kB / 1.36 GB, free: 13.29 MB / 1.076 GB Notification: Performance of Detect States: time 0.0004537/0.6441, allocations: 0.55 MB / 1.36 GB, free: 12.72 MB / 1.076 GB Notification: Performance of Partitioning: time 0.0007578/0.6448, allocations: 0.8766 MB / 1.361 GB, free: 11.72 MB / 1.076 GB Notification: Performance of Causalize: time 0.003675/0.6485, allocations: 3.884 MB / 1.365 GB, free: 7.715 MB / 1.076 GB Notification: Performance of After Index Reduction Inline: time 0.001448/0.65, allocations: 1.82 MB / 1.367 GB, free: 5.859 MB / 1.076 GB Notification: Performance of Inline: time 0.003019/0.653, allocations: 3.656 MB / 1.37 GB, free: 2.145 MB / 1.076 GB Notification: Performance of Partitioning: time 0.0001573/0.6532, allocations: 159.6 kB / 1.371 GB, free: 1.973 MB / 1.076 GB Notification: Performance of Cleanup: time 0.0002862/0.6535, allocations: 375.4 kB / 1.371 GB, free: 1.602 MB / 1.076 GB Notification: Performance of Causalize: time 0.009744/0.6632, allocations: 10.26 MB / 1.381 GB, free: 7.305 MB / 1.092 GB Notification: Performance of Tearing: time 1.414e-05/0.6632, allocations: 0 / 1.381 GB, free: 7.305 MB / 1.092 GB Notification: Performance of Initialization: time 4.31e-07/0.6632, allocations: 0 / 1.381 GB, free: 7.305 MB / 1.092 GB Notification: Performance of Tearing: time 8.295e-06/0.6633, allocations: 7.938 kB / 1.381 GB, free: 7.297 MB / 1.092 GB Notification: Performance of Categorize: time 1.606e-05/0.6633, allocations: 7.938 kB / 1.381 GB, free: 7.289 MB / 1.092 GB Notification: Performance of Solve: time 0.003091/0.6664, allocations: 6.267 MB / 1.387 GB, free: 384 kB / 1.092 GB Notification: Performance of Jacobian: time 0.001687/0.6681, allocations: 1.901 MB / 1.389 GB, free: 14.42 MB / 1.107 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 6 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 10 * 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: ............................. 3 (3) {hum.senMasFra.X, ent.senSpeEnt.h_out, tem.senTem.T} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 22 (22) {$SEV_21, $SEV_20, $SEV_19, $SEV_18, $SEV_17, $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} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 119 (scalar:94, array:25, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 6 (generic: 6, entwined:0) * Number of algebraic-loop strong components: ... 4 (linear: 0, nonlinear:4) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 164 (scalar:139, array:25, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 6 (generic: 6, entwined:0) * Number of algebraic-loop strong components: ... 4 (linear: 0, nonlinear:4) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 164 (scalar:139, array:25, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 6 (generic: 6, entwined:0) * Number of algebraic-loop strong components: ... 4 (linear: 0, nonlinear:4) Notification: Performance of backend: time 7.035e-05/0.6681, allocations: 87.34 kB / 1.389 GB, free: 14.35 MB / 1.107 GB Notification: Performance of SimCode: time 0.005622/0.6738, allocations: 6.678 MB / 1.396 GB, free: 7.578 MB / 1.107 GB Notification: Performance of Templates: time 0.01785/0.6916, allocations: 13.74 MB / 1.409 GB, free: 9.844 MB / 1.123 GB make -j1 -f Buildings_latest_Buildings.Templates.Components.Validation.Sensors.makefile make -j1 -f Buildings_latest_Buildings.Templates.Components.Validation.Sensors.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_Templates_Components_Validation_Sensors -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=12 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_latest_Buildings.Templates.Components.Validation.Sensors.o Buildings_latest_Buildings.Templates.Components.Validation.Sensors.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_Templates_Components_Validation_Sensors -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=12 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_latest_Buildings.Templates.Components.Validation.Sensors_functions.o Buildings_latest_Buildings.Templates.Components.Validation.Sensors_functions.c Buildings_latest_Buildings.Templates.Components.Validation.Sensors_functions.c:1301:31: error: use of undeclared identifier '_OMC_LIT23' tmpMeta2 = stringAppend(_OMC_LIT23,_modelName); ^ Buildings_latest_Buildings.Templates.Components.Validation.Sensors_functions.c:1302:40: error: use of undeclared identifier '_OMC_LIT24' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT24); ^ Buildings_latest_Buildings.Templates.Components.Validation.Sensors_functions.c:1304:40: error: use of undeclared identifier '_OMC_LIT25' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT25); ^ Buildings_latest_Buildings.Templates.Components.Validation.Sensors_functions.c:1321:35: error: use of undeclared identifier '_OMC_LIT26' tmpMeta7 = stringAppend(_OMC_LIT26,_mediumName); ^ Buildings_latest_Buildings.Templates.Components.Validation.Sensors_functions.c:1322:44: error: use of undeclared identifier '_OMC_LIT27' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT27); ^ Buildings_latest_Buildings.Templates.Components.Validation.Sensors_functions.c:1324:45: error: use of undeclared identifier '_OMC_LIT28' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT28); ^ Buildings_latest_Buildings.Templates.Components.Validation.Sensors_functions.c:1327:46: error: use of undeclared identifier '_OMC_LIT29' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT29); ^ Buildings_latest_Buildings.Templates.Components.Validation.Sensors_functions.c:1330:46: error: use of undeclared identifier '_OMC_LIT30' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT30); ^ Buildings_latest_Buildings.Templates.Components.Validation.Sensors_functions.c:1342:14: error: use of undeclared identifier '_OMC_LIT2' _X_str = _OMC_LIT2; ^ Buildings_latest_Buildings.Templates.Components.Validation.Sensors_functions.c:1350:41: error: use of undeclared identifier '_OMC_LIT31' tmpMeta21 = stringAppend(_X_str,_OMC_LIT31); ^ Buildings_latest_Buildings.Templates.Components.Validation.Sensors_functions.c:1353:44: error: use of undeclared identifier '_OMC_LIT32' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT32); ^ Buildings_latest_Buildings.Templates.Components.Validation.Sensors_functions.c:1356:44: error: use of undeclared identifier '_OMC_LIT33' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT33); ^ Buildings_latest_Buildings.Templates.Components.Validation.Sensors_functions.c:1358:44: error: use of undeclared identifier '_OMC_LIT34' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT34); ^ Buildings_latest_Buildings.Templates.Components.Validation.Sensors_functions.c:1363:30: error: use of undeclared identifier '_OMC_LIT35' tmpMeta33 = stringAppend(_OMC_LIT35,_mediumName); ^ Buildings_latest_Buildings.Templates.Components.Validation.Sensors_functions.c:1364:40: error: use of undeclared identifier '_OMC_LIT27' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT27); ^ Buildings_latest_Buildings.Templates.Components.Validation.Sensors_functions.c:1366:40: error: use of undeclared identifier '_OMC_LIT34' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT34); ^ Buildings_latest_Buildings.Templates.Components.Validation.Sensors_functions.c:1367:40: error: use of undeclared identifier '_OMC_LIT36' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT36); ^ Buildings_latest_Buildings.Templates.Components.Validation.Sensors_functions.c:1370:40: error: use of undeclared identifier '_OMC_LIT37' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT37); ^ Buildings_latest_Buildings.Templates.Components.Validation.Sensors_functions.c:1466: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.Templates.Components.Validation.Sensors_functions.o] Error 1