Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.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.Pressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dp.port_a.m_flow|senRelPre.p_rel|senPre_a.p|senPre_b.p",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure") translateModel(Buildings.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dp.port_a.m_flow|senRelPre.p_rel|senPre_a.p|senPre_b.p",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.00106, allocations: 109.7 kB / 16.42 MB, free: 6.035 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.00105/0.00105, allocations: 186.1 kB / 17.36 MB, free: 5.621 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.111/1.111, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.117/2.117, allocations: 461.9 MB / 0.7354 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.398e-06/9.398e-06, allocations: 4.953 kB / 1.055 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.5101/0.5101, allocations: 169.5 MB / 1.22 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.007014/0.5172, allocations: 7.313 MB / 1.227 GB, free: 4.363 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003689/0.5176, allocations: 15.28 kB / 1.227 GB, free: 4.355 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005326/0.5181, allocations: 210.6 kB / 1.228 GB, free: 4.18 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001142/0.5193, allocations: 0.5686 MB / 1.228 GB, free: 3.746 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009302/0.5203, allocations: 439.5 kB / 1.228 GB, free: 3.434 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0008046/0.5211, allocations: 0.783 MB / 1.229 GB, free: 2.988 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003733/0.5215, allocations: 293.4 kB / 1.23 GB, free: 2.816 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005995/0.5221, allocations: 429.5 kB / 1.23 GB, free: 2.566 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002778/0.5224, allocations: 229.1 kB / 1.23 GB, free: 2.441 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.071e-05/0.5224, allocations: 21.53 kB / 1.23 GB, free: 2.441 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008407/0.5233, allocations: 0.6835 MB / 1.231 GB, free: 2.051 MB / 0.9356 GB Notification: Performance of combineBinaries: time 0.0003595/0.5236, allocations: 0.5665 MB / 1.231 GB, free: 1.676 MB / 0.9356 GB Notification: Performance of replaceArrayConstructors: time 0.0002386/0.5239, allocations: 409.6 kB / 1.232 GB, free: 1.391 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 7.056e-05/0.524, allocations: 56.22 kB / 1.232 GB, free: 1.367 MB / 0.9356 GB Notification: Performance of FrontEnd: time 5.487e-05/0.524, allocations: 11.25 kB / 1.232 GB, free: 1.363 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 (50) * Number of variables: 52 (50) Notification: Performance of Bindings: time 0.001237/0.5253, allocations: 1.509 MB / 1.233 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of FunctionAlias: time 7.204e-05/0.5253, allocations: 47.84 kB / 1.233 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of Early Inline: time 0.0005346/0.5259, allocations: 0.636 MB / 1.234 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of simplify1: time 6.511e-05/0.5259, allocations: 51.92 kB / 1.234 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of Alias: time 0.001022/0.527, allocations: 1.009 MB / 1.235 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of simplify2: time 5.771e-05/0.527, allocations: 43.94 kB / 1.235 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of Events: time 0.0001059/0.5272, allocations: 75.19 kB / 1.235 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of Detect States: time 0.0001422/0.5273, allocations: 153.2 kB / 1.235 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of Partitioning: time 0.0002358/0.5275, allocations: 281.3 kB / 1.236 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of Causalize: time 0.0008002/0.5284, allocations: 0.86 MB / 1.236 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of After Index Reduction Inline: time 0.0003291/0.5287, allocations: 402.5 kB / 1.237 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of Inline: time 0.0006572/0.5294, allocations: 0.7498 MB / 1.238 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of Partitioning: time 4.465e-05/0.5294, allocations: 46.36 kB / 1.238 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of Cleanup: time 8.17e-05/0.5295, allocations: 88.98 kB / 1.238 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of Causalize: time 0.001922/0.5314, allocations: 1.895 MB / 1.239 GB, free: 9.109 MB / 0.9512 GB Notification: Performance of Tearing: time 8.977e-06/0.5314, allocations: 0 / 1.239 GB, free: 9.109 MB / 0.9512 GB Notification: Performance of Initialization: time 1.723e-06/0.5314, allocations: 4 kB / 1.239 GB, free: 9.105 MB / 0.9512 GB Notification: Performance of Tearing: time 4.959e-06/0.5315, allocations: 3.938 kB / 1.239 GB, free: 9.102 MB / 0.9512 GB Notification: Performance of Categorize: time 1.433e-05/0.5315, allocations: 7.938 kB / 1.239 GB, free: 9.094 MB / 0.9512 GB Notification: Performance of Solve: time 0.0002745/0.5318, allocations: 181.3 kB / 1.24 GB, free: 8.914 MB / 0.9512 GB Notification: Performance of Jacobian: time 2.485e-06/0.5318, allocations: 0 / 1.24 GB, free: 8.914 MB / 0.9512 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 8 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 4 * 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: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 5 (5) {$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: ........... 34 (scalar:22, array:12, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, 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: ........... 42 (scalar:30, array:12, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 42 (scalar:30, array:12, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 4.326e-05/0.5318, allocations: 47.17 kB / 1.24 GB, free: 8.875 MB / 0.9512 GB Notification: Performance of SimCode: time 0.001766/0.5336, allocations: 1.969 MB / 1.242 GB, free: 6.879 MB / 0.9512 GB Notification: Performance of Templates: time 0.006487/0.5401, allocations: 3.95 MB / 1.245 GB, free: 2.93 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.makefile make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.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_Pressure -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.Pressure.o Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.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_Pressure -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.Pressure_functions.o Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure_functions.c Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure_functions.c:675:31: error: use of undeclared identifier '_OMC_LIT19' tmpMeta2 = stringAppend(_OMC_LIT19,_modelName); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure_functions.c:676:40: error: use of undeclared identifier '_OMC_LIT20' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT20); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure_functions.c:678:40: error: use of undeclared identifier '_OMC_LIT21' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT21); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure_functions.c:695:35: error: use of undeclared identifier '_OMC_LIT22' tmpMeta7 = stringAppend(_OMC_LIT22,_mediumName); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure_functions.c:696:44: error: use of undeclared identifier '_OMC_LIT23' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT23); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure_functions.c:698:45: error: use of undeclared identifier '_OMC_LIT24' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT24); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure_functions.c:701:46: error: use of undeclared identifier '_OMC_LIT25' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT25); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure_functions.c:704:46: error: use of undeclared identifier '_OMC_LIT26' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT26); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure_functions.c:716:14: error: use of undeclared identifier '_OMC_LIT2' _X_str = _OMC_LIT2; ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure_functions.c:724:41: error: use of undeclared identifier '_OMC_LIT27' tmpMeta21 = stringAppend(_X_str,_OMC_LIT27); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure_functions.c:727:44: error: use of undeclared identifier '_OMC_LIT28' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT28); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure_functions.c:730:44: error: use of undeclared identifier '_OMC_LIT29' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT29); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure_functions.c:732:44: error: use of undeclared identifier '_OMC_LIT30' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT30); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure_functions.c:737:30: error: use of undeclared identifier '_OMC_LIT31' tmpMeta33 = stringAppend(_OMC_LIT31,_mediumName); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure_functions.c:738:40: error: use of undeclared identifier '_OMC_LIT23' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT23); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure_functions.c:740:40: error: use of undeclared identifier '_OMC_LIT30' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT30); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure_functions.c:741:40: error: use of undeclared identifier '_OMC_LIT32' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT32); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure_functions.c:744:40: error: use of undeclared identifier '_OMC_LIT33' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT33); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure_functions.c:763: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.Pressure_functions.o] Error 1