Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001092/0.001092, allocations: 113.3 kB / 16.43 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.001072/0.001072, allocations: 185.5 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.153/1.153, allocations: 222.9 MB / 241.1 MB, free: 15.14 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.069/2.069, allocations: 437 MB / 0.7111 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.09e-05/1.092e-05, allocations: 2.281 kB / 1.019 GB, free: 9.473 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.5457/0.5457, allocations: 169.5 MB / 1.185 GB, free: 5.523 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.007025/0.5527, allocations: 7.325 MB / 1.192 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003867/0.5531, allocations: 15.47 kB / 1.192 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0005668/0.5537, allocations: 208.3 kB / 1.192 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001214/0.5549, allocations: 0.6012 MB / 1.193 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009731/0.556, allocations: 434.5 kB / 1.193 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0007888/0.5568, allocations: 0.7856 MB / 1.194 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003483/0.5571, allocations: 291.1 kB / 1.194 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005884/0.5577, allocations: 430.3 kB / 1.194 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002385/0.558, allocations: 225.6 kB / 1.195 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.716e-05/0.558, allocations: 21.16 kB / 1.195 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008101/0.5588, allocations: 0.6867 MB / 1.195 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0003515/0.5592, allocations: 0.572 MB / 1.196 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 0.0002158/0.5594, allocations: 405.2 kB / 1.196 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 5.588e-05/0.5595, allocations: 59.22 kB / 1.196 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of FrontEnd: time 5.253e-05/0.5595, allocations: 6.688 kB / 1.196 GB, free: 12.57 MB / 0.9044 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.001179/0.5607, allocations: 1.515 MB / 1.198 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of FunctionAlias: time 6.636e-05/0.5608, allocations: 59.7 kB / 1.198 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of Early Inline: time 0.0005339/0.5613, allocations: 0.6255 MB / 1.199 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of simplify1: time 5.966e-05/0.5614, allocations: 49.28 kB / 1.199 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of Alias: time 0.0009393/0.5623, allocations: 1.025 MB / 1.2 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of simplify2: time 3.017e-05/0.5624, allocations: 29.55 kB / 1.2 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of Detect States: time 0.0001311/0.5625, allocations: 146.3 kB / 1.2 GB, free: 9.879 MB / 0.9044 GB Notification: Performance of Events: time 0.000105/0.5626, allocations: 76 kB / 1.2 GB, free: 9.824 MB / 0.9044 GB Notification: Performance of Partitioning: time 0.0002156/0.5629, allocations: 279 kB / 1.2 GB, free: 9.543 MB / 0.9044 GB Notification: Performance of Causalize: time 0.0007379/0.5636, allocations: 0.8609 MB / 1.201 GB, free: 9.02 MB / 0.9044 GB Notification: Performance of After Index Reduction Inline: time 0.0003079/0.5639, allocations: 398.6 kB / 1.201 GB, free: 8.707 MB / 0.9044 GB Notification: Performance of Inline: time 0.0006161/0.5645, allocations: 0.7265 MB / 1.202 GB, free: 8.148 MB / 0.9044 GB Notification: Performance of Partitioning: time 4.57e-05/0.5646, allocations: 55.5 kB / 1.202 GB, free: 8.102 MB / 0.9044 GB Notification: Performance of Cleanup: time 6.669e-05/0.5647, allocations: 89.86 kB / 1.202 GB, free: 8.031 MB / 0.9044 GB Notification: Performance of Causalize: time 0.001702/0.5664, allocations: 1.881 MB / 1.204 GB, free: 7.18 MB / 0.9044 GB Notification: Performance of Tearing: time 1.027e-05/0.5664, allocations: 3.938 kB / 1.204 GB, free: 7.176 MB / 0.9044 GB Notification: Performance of Initialization: time 3.6e-07/0.5664, allocations: 0 / 1.204 GB, free: 7.176 MB / 0.9044 GB Notification: Performance of Tearing: time 5.16e-06/0.5664, allocations: 2.594 kB / 1.204 GB, free: 7.176 MB / 0.9044 GB Notification: Performance of Categorize: time 1.027e-05/0.5664, allocations: 6.625 kB / 1.204 GB, free: 7.172 MB / 0.9044 GB Notification: Performance of Solve: time 0.0002466/0.5667, allocations: 180.1 kB / 1.204 GB, free: 7.078 MB / 0.9044 GB Notification: Performance of Jacobian: time 2.866e-06/0.5667, allocations: 0 / 1.204 GB, free: 7.078 MB / 0.9044 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: ........... 41 (scalar:29, 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: ........... 41 (scalar:29, 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 3.682e-05/0.5667, allocations: 36.97 kB / 1.204 GB, free: 7.055 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001717/0.5685, allocations: 1.975 MB / 1.206 GB, free: 5.605 MB / 0.9044 GB Notification: Performance of Templates: time 0.006349/0.5748, allocations: 3.936 MB / 1.21 GB, free: 3.609 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure.makefile make -j1 -f Buildings_10_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_10_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_10_Buildings.Fluid.Sensors.Examples.Pressure.o Buildings_10_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_10_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_10_Buildings.Fluid.Sensors.Examples.Pressure_functions.o Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure_functions.c Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure_functions.c:675:31: error: use of undeclared identifier '_OMC_LIT19' tmpMeta2 = stringAppend(_OMC_LIT19,_modelName); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure_functions.c:676:40: error: use of undeclared identifier '_OMC_LIT20' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT20); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure_functions.c:678:40: error: use of undeclared identifier '_OMC_LIT21' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT21); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure_functions.c:695:35: error: use of undeclared identifier '_OMC_LIT22' tmpMeta7 = stringAppend(_OMC_LIT22,_mediumName); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure_functions.c:696:44: error: use of undeclared identifier '_OMC_LIT23' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT23); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure_functions.c:698:45: error: use of undeclared identifier '_OMC_LIT24' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT24); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure_functions.c:701:46: error: use of undeclared identifier '_OMC_LIT25' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT25); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure_functions.c:704:46: error: use of undeclared identifier '_OMC_LIT26' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT26); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure_functions.c:716:14: error: use of undeclared identifier '_OMC_LIT2' _X_str = _OMC_LIT2; ^ Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure_functions.c:724:41: error: use of undeclared identifier '_OMC_LIT27' tmpMeta21 = stringAppend(_X_str,_OMC_LIT27); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure_functions.c:727:44: error: use of undeclared identifier '_OMC_LIT28' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT28); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure_functions.c:730:44: error: use of undeclared identifier '_OMC_LIT29' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT29); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure_functions.c:732:44: error: use of undeclared identifier '_OMC_LIT30' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT30); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure_functions.c:737:30: error: use of undeclared identifier '_OMC_LIT31' tmpMeta33 = stringAppend(_OMC_LIT31,_mediumName); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure_functions.c:738:40: error: use of undeclared identifier '_OMC_LIT23' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT23); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure_functions.c:740:40: error: use of undeclared identifier '_OMC_LIT30' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT30); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure_functions.c:741:40: error: use of undeclared identifier '_OMC_LIT32' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT32); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.Pressure_functions.c:744:40: error: use of undeclared identifier '_OMC_LIT33' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT33); ^ Buildings_10_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_10_Buildings.Fluid.Sensors.Examples.Pressure_functions.o] Error 1