Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001345/0.001345, allocations: 112.9 kB / 16.42 MB, free: 6.523 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.001338/0.001338, allocations: 183.2 kB / 17.35 MB, free: 5.746 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.114/1.114, allocations: 222.9 MB / 241 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.036/2.036, allocations: 437 MB / 0.7112 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.128e-05/1.127e-05, allocations: 2.281 kB / 1.019 GB, free: 9.531 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Sensors): time 0.5624/0.5624, allocations: 261.9 MB / 1.275 GB, free: 2.422 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01869/0.5811, allocations: 19.1 MB / 1.294 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001055/0.5822, allocations: 51.69 kB / 1.294 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00155/0.5837, allocations: 0.7608 MB / 1.294 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003274/0.587, allocations: 1.9 MB / 1.296 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002648/0.5897, allocations: 1.479 MB / 1.298 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002455/0.5922, allocations: 2.921 MB / 1.3 GB, free: 8.125 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001284/0.5935, allocations: 1.285 MB / 1.302 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005431/0.5989, allocations: 3.182 MB / 1.305 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008141/0.5997, allocations: 0.8325 MB / 1.306 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001249/0.5999, allocations: 92 kB / 1.306 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001794/0.6017, allocations: 1.458 MB / 1.307 GB, free: 1.258 MB / 0.9981 GB Notification: Performance of combineBinaries: time 0.001337/0.603, allocations: 2.165 MB / 1.309 GB, free: 15.07 MB / 1.014 GB Notification: Performance of replaceArrayConstructors: time 0.0007593/0.6038, allocations: 1.423 MB / 1.311 GB, free: 13.62 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001926/0.604, allocations: 239.3 kB / 1.311 GB, free: 13.39 MB / 1.014 GB Notification: Performance of FrontEnd: time 0.0001626/0.6042, allocations: 35.94 kB / 1.311 GB, free: 13.36 MB / 1.014 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.004034/0.6082, allocations: 5.454 MB / 1.316 GB, free: 7.723 MB / 1.014 GB Notification: Performance of FunctionAlias: time 0.0001382/0.6083, allocations: 191.5 kB / 1.316 GB, free: 7.539 MB / 1.014 GB Notification: Performance of Early Inline: time 0.002486/0.6108, allocations: 3.075 MB / 1.319 GB, free: 4.422 MB / 1.014 GB Notification: Performance of simplify1: time 0.0001874/0.611, allocations: 219.7 kB / 1.32 GB, free: 4.207 MB / 1.014 GB Notification: Performance of Alias: time 0.003935/0.615, allocations: 4.323 MB / 1.324 GB, free: 15.54 MB / 1.029 GB Notification: Performance of simplify2: time 0.0001414/0.6151, allocations: 171.8 kB / 1.324 GB, free: 15.37 MB / 1.029 GB Notification: Performance of Detect States: time 0.0004286/0.6156, allocations: 0.509 MB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of Events: time 0.0004235/0.616, allocations: 458.8 kB / 1.325 GB, free: 14.38 MB / 1.029 GB Notification: Performance of Partitioning: time 0.0007581/0.6168, allocations: 0.8809 MB / 1.326 GB, free: 13.37 MB / 1.029 GB Notification: Performance of Causalize: time 0.003642/0.6204, allocations: 3.884 MB / 1.33 GB, free: 9.371 MB / 1.029 GB Notification: Performance of After Index Reduction Inline: time 0.001444/0.6219, allocations: 1.808 MB / 1.331 GB, free: 7.527 MB / 1.029 GB Notification: Performance of Inline: time 0.003091/0.625, allocations: 3.645 MB / 1.335 GB, free: 3.82 MB / 1.029 GB Notification: Performance of Partitioning: time 0.0001546/0.6251, allocations: 151.7 kB / 1.335 GB, free: 3.656 MB / 1.029 GB Notification: Performance of Cleanup: time 0.0002727/0.6254, allocations: 371.4 kB / 1.335 GB, free: 3.285 MB / 1.029 GB Notification: Performance of Causalize: time 0.01001/0.6354, allocations: 10.15 MB / 1.345 GB, free: 9.102 MB / 1.045 GB Notification: Performance of Tearing: time 2.203e-05/0.6355, allocations: 11.92 kB / 1.345 GB, free: 9.09 MB / 1.045 GB Notification: Performance of Initialization: time 3.6e-07/0.6355, allocations: 0 / 1.345 GB, free: 9.09 MB / 1.045 GB Notification: Performance of Tearing: time 9.588e-06/0.6355, allocations: 7.938 kB / 1.345 GB, free: 9.082 MB / 1.045 GB Notification: Performance of Categorize: time 1.758e-05/0.6355, allocations: 7.938 kB / 1.345 GB, free: 9.074 MB / 1.045 GB Notification: Performance of Solve: time 0.00268/0.6382, allocations: 4.773 MB / 1.35 GB, free: 3.684 MB / 1.045 GB Notification: Performance of Jacobian: time 0.001707/0.6399, allocations: 1.901 MB / 1.352 GB, free: 1.734 MB / 1.045 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: ........... 160 (scalar:135, 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: ........... 160 (scalar:135, 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.534e-05/0.64, allocations: 79.64 kB / 1.352 GB, free: 1.664 MB / 1.045 GB Notification: Performance of SimCode: time 0.005699/0.6457, allocations: 6.706 MB / 1.359 GB, free: 10.87 MB / 1.061 GB Notification: Performance of Templates: time 0.01775/0.6634, allocations: 13.63 MB / 1.372 GB, free: 13.25 MB / 1.076 GB make -j1 -f Buildings_10_Buildings.Templates.Components.Validation.Sensors.makefile make -j1 -f Buildings_10_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_10_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_10_Buildings.Templates.Components.Validation.Sensors.o Buildings_10_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_10_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_10_Buildings.Templates.Components.Validation.Sensors_functions.o Buildings_10_Buildings.Templates.Components.Validation.Sensors_functions.c Buildings_10_Buildings.Templates.Components.Validation.Sensors_functions.c:1301:31: error: use of undeclared identifier '_OMC_LIT23' tmpMeta2 = stringAppend(_OMC_LIT23,_modelName); ^ Buildings_10_Buildings.Templates.Components.Validation.Sensors_functions.c:1302:40: error: use of undeclared identifier '_OMC_LIT24' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT24); ^ Buildings_10_Buildings.Templates.Components.Validation.Sensors_functions.c:1304:40: error: use of undeclared identifier '_OMC_LIT25' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT25); ^ Buildings_10_Buildings.Templates.Components.Validation.Sensors_functions.c:1321:35: error: use of undeclared identifier '_OMC_LIT26' tmpMeta7 = stringAppend(_OMC_LIT26,_mediumName); ^ Buildings_10_Buildings.Templates.Components.Validation.Sensors_functions.c:1322:44: error: use of undeclared identifier '_OMC_LIT27' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT27); ^ Buildings_10_Buildings.Templates.Components.Validation.Sensors_functions.c:1324:45: error: use of undeclared identifier '_OMC_LIT28' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT28); ^ Buildings_10_Buildings.Templates.Components.Validation.Sensors_functions.c:1327:46: error: use of undeclared identifier '_OMC_LIT29' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT29); ^ Buildings_10_Buildings.Templates.Components.Validation.Sensors_functions.c:1330:46: error: use of undeclared identifier '_OMC_LIT30' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT30); ^ Buildings_10_Buildings.Templates.Components.Validation.Sensors_functions.c:1342:14: error: use of undeclared identifier '_OMC_LIT2' _X_str = _OMC_LIT2; ^ Buildings_10_Buildings.Templates.Components.Validation.Sensors_functions.c:1350:41: error: use of undeclared identifier '_OMC_LIT31' tmpMeta21 = stringAppend(_X_str,_OMC_LIT31); ^ Buildings_10_Buildings.Templates.Components.Validation.Sensors_functions.c:1353:44: error: use of undeclared identifier '_OMC_LIT32' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT32); ^ Buildings_10_Buildings.Templates.Components.Validation.Sensors_functions.c:1356:44: error: use of undeclared identifier '_OMC_LIT33' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT33); ^ Buildings_10_Buildings.Templates.Components.Validation.Sensors_functions.c:1358:44: error: use of undeclared identifier '_OMC_LIT34' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT34); ^ Buildings_10_Buildings.Templates.Components.Validation.Sensors_functions.c:1363:30: error: use of undeclared identifier '_OMC_LIT35' tmpMeta33 = stringAppend(_OMC_LIT35,_mediumName); ^ Buildings_10_Buildings.Templates.Components.Validation.Sensors_functions.c:1364:40: error: use of undeclared identifier '_OMC_LIT27' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT27); ^ Buildings_10_Buildings.Templates.Components.Validation.Sensors_functions.c:1366:40: error: use of undeclared identifier '_OMC_LIT34' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT34); ^ Buildings_10_Buildings.Templates.Components.Validation.Sensors_functions.c:1367:40: error: use of undeclared identifier '_OMC_LIT36' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT36); ^ Buildings_10_Buildings.Templates.Components.Validation.Sensors_functions.c:1370:40: error: use of undeclared identifier '_OMC_LIT37' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT37); ^ Buildings_10_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_10_Buildings.Templates.Components.Validation.Sensors_functions.o] Error 1