Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001105/0.001105, allocations: 110.6 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.001079/0.001079, allocations: 187.2 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.103/1.103, allocations: 222.9 MB / 241.1 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.878/1.878, allocations: 390.2 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.302e-05/1.304e-05, allocations: 6.219 kB / 0.9515 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.5018/0.5018, allocations: 169.5 MB / 1.117 GB, free: 7.438 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.006071/0.508, allocations: 7.319 MB / 1.124 GB, free: 7.258 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003779/0.5083, allocations: 13 kB / 1.124 GB, free: 7.258 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005597/0.5089, allocations: 215.9 kB / 1.124 GB, free: 7.254 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001262/0.5102, allocations: 0.5945 MB / 1.125 GB, free: 7.227 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009492/0.5111, allocations: 435.5 kB / 1.125 GB, free: 7.211 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0007541/0.5119, allocations: 0.7887 MB / 1.126 GB, free: 7.195 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003659/0.5123, allocations: 298.5 kB / 1.126 GB, free: 7.16 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005803/0.5129, allocations: 424 kB / 1.127 GB, free: 7.156 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002564/0.5131, allocations: 230.4 kB / 1.127 GB, free: 7.152 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.598e-05/0.5132, allocations: 20.45 kB / 1.127 GB, free: 7.152 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009194/0.5141, allocations: 0.692 MB / 1.128 GB, free: 7.145 MB / 0.8575 GB Notification: Performance of combineBinaries: time 0.0003797/0.5145, allocations: 0.568 MB / 1.128 GB, free: 6.984 MB / 0.8575 GB Notification: Performance of replaceArrayConstructors: time 0.000191/0.5147, allocations: 402 kB / 1.129 GB, free: 6.812 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.196e-05/0.5148, allocations: 59.53 kB / 1.129 GB, free: 6.812 MB / 0.8575 GB Notification: Performance of FrontEnd: time 4.456e-05/0.5148, allocations: 13.22 kB / 1.129 GB, free: 6.812 MB / 0.8575 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.001065/0.5159, allocations: 1.507 MB / 1.13 GB, free: 6.238 MB / 0.8575 GB Notification: Performance of FunctionAlias: time 5.566e-05/0.5159, allocations: 51.36 kB / 1.13 GB, free: 6.227 MB / 0.8575 GB Notification: Performance of Early Inline: time 0.00046/0.5164, allocations: 0.6309 MB / 1.131 GB, free: 6.141 MB / 0.8575 GB Notification: Performance of simplify1: time 4.942e-05/0.5165, allocations: 51.48 kB / 1.131 GB, free: 6.141 MB / 0.8575 GB Notification: Performance of Alias: time 0.0008346/0.5173, allocations: 1.011 MB / 1.132 GB, free: 5.676 MB / 0.8575 GB Notification: Performance of simplify2: time 3.267e-05/0.5173, allocations: 41.03 kB / 1.132 GB, free: 5.672 MB / 0.8575 GB Notification: Performance of Detect States: time 0.0001078/0.5175, allocations: 139.5 kB / 1.132 GB, free: 5.629 MB / 0.8575 GB Notification: Performance of Events: time 0.0001013/0.5176, allocations: 77.83 kB / 1.132 GB, free: 5.613 MB / 0.8575 GB Notification: Performance of Partitioning: time 0.0001782/0.5178, allocations: 272.2 kB / 1.132 GB, free: 5.406 MB / 0.8575 GB Notification: Performance of Causalize: time 0.0006866/0.5184, allocations: 0.8678 MB / 1.133 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of After Index Reduction Inline: time 0.0002922/0.5187, allocations: 406.3 kB / 1.134 GB, free: 4.988 MB / 0.8575 GB Notification: Performance of Inline: time 0.0005535/0.5193, allocations: 0.743 MB / 1.134 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of Partitioning: time 3.813e-05/0.5194, allocations: 50.25 kB / 1.134 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of Cleanup: time 6.163e-05/0.5194, allocations: 90.95 kB / 1.134 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of Causalize: time 0.001684/0.5211, allocations: 1.895 MB / 1.136 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of Tearing: time 1.107e-05/0.5211, allocations: 5.156 kB / 1.136 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of Initialization: time 4.01e-07/0.5211, allocations: 0 / 1.136 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of Tearing: time 4.889e-06/0.5211, allocations: 2.594 kB / 1.136 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of Categorize: time 1.061e-05/0.5212, allocations: 5.312 kB / 1.136 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of Solve: time 0.0002361/0.5214, allocations: 178.9 kB / 1.137 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of Jacobian: time 2.906e-06/0.5214, allocations: 5.281 kB / 1.137 GB, free: 4.316 MB / 0.8575 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 3.249e-05/0.5214, allocations: 40.11 kB / 1.137 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of SimCode: time 0.001535/0.523, allocations: 1.975 MB / 1.138 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of Templates: time 0.005953/0.529, allocations: 3.963 MB / 1.142 GB, free: 2.891 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.makefile make -j1 -f Buildings_9_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_9_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_9_Buildings.Fluid.Sensors.Examples.Pressure.o Buildings_9_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_9_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_9_Buildings.Fluid.Sensors.Examples.Pressure_functions.o Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure_functions.c Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure_functions.c:675:31: error: use of undeclared identifier '_OMC_LIT19' tmpMeta2 = stringAppend(_OMC_LIT19,_modelName); ^ Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure_functions.c:676:40: error: use of undeclared identifier '_OMC_LIT20' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT20); ^ Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure_functions.c:678:40: error: use of undeclared identifier '_OMC_LIT21' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT21); ^ Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure_functions.c:695:35: error: use of undeclared identifier '_OMC_LIT22' tmpMeta7 = stringAppend(_OMC_LIT22,_mediumName); ^ Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure_functions.c:696:44: error: use of undeclared identifier '_OMC_LIT23' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT23); ^ Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure_functions.c:698:45: error: use of undeclared identifier '_OMC_LIT24' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT24); ^ Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure_functions.c:701:46: error: use of undeclared identifier '_OMC_LIT25' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT25); ^ Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure_functions.c:704:46: error: use of undeclared identifier '_OMC_LIT26' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT26); ^ Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure_functions.c:716:14: error: use of undeclared identifier '_OMC_LIT2' _X_str = _OMC_LIT2; ^ Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure_functions.c:724:41: error: use of undeclared identifier '_OMC_LIT27' tmpMeta21 = stringAppend(_X_str,_OMC_LIT27); ^ Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure_functions.c:727:44: error: use of undeclared identifier '_OMC_LIT28' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT28); ^ Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure_functions.c:730:44: error: use of undeclared identifier '_OMC_LIT29' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT29); ^ Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure_functions.c:732:44: error: use of undeclared identifier '_OMC_LIT30' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT30); ^ Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure_functions.c:737:30: error: use of undeclared identifier '_OMC_LIT31' tmpMeta33 = stringAppend(_OMC_LIT31,_mediumName); ^ Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure_functions.c:738:40: error: use of undeclared identifier '_OMC_LIT23' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT23); ^ Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure_functions.c:740:40: error: use of undeclared identifier '_OMC_LIT30' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT30); ^ Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure_functions.c:741:40: error: use of undeclared identifier '_OMC_LIT32' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT32); ^ Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure_functions.c:744:40: error: use of undeclared identifier '_OMC_LIT33' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT33); ^ Buildings_9_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_9_Buildings.Fluid.Sensors.Examples.Pressure_functions.o] Error 1