Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure") translateModel(IBPSA.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001349/0.001348, allocations: 115.7 kB / 17.1 MB, free: 5.98 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.001522/0.001521, allocations: 198.2 kB / 18.04 MB, free: 5.055 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.52/1.52, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8073/0.8073, allocations: 115.3 MB / 407.2 MB, free: 6.203 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.068e-05/3.069e-05, allocations: 2.281 kB / 0.5583 GB, free: 32.18 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Pressure): time 0.2283/0.2283, allocations: 169.4 MB / 0.7238 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0106/0.239, allocations: 7.315 MB / 0.7309 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009534/0.24, allocations: 15.88 kB / 0.7309 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001025/0.241, allocations: 210.6 kB / 0.7311 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002083/0.2431, allocations: 0.5982 MB / 0.7317 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00177/0.2449, allocations: 439.8 kB / 0.7321 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001416/0.2463, allocations: 0.7904 MB / 0.7329 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005488/0.2469, allocations: 290.7 kB / 0.7332 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000965/0.2479, allocations: 430.5 kB / 0.7336 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003502/0.2482, allocations: 231 kB / 0.7338 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.095e-05/0.2483, allocations: 16 kB / 0.7338 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001424/0.2497, allocations: 0.6937 MB / 0.7345 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.000551/0.2503, allocations: 0.5762 MB / 0.7351 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of replaceArrayConstructors: time 0.0003018/0.2506, allocations: 387.3 kB / 0.7354 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.446e-05/0.2507, allocations: 59.81 kB / 0.7355 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of FrontEnd: time 0.0001195/0.2508, allocations: 15.88 kB / 0.7355 GB, free: 10.52 MB / 0.5762 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.001721/0.2525, allocations: 1.516 MB / 0.737 GB, free: 8.887 MB / 0.5762 GB Notification: Performance of FunctionAlias: time 9.734e-05/0.2526, allocations: 51.86 kB / 0.737 GB, free: 8.836 MB / 0.5762 GB Notification: Performance of Early Inline: time 0.0007266/0.2534, allocations: 0.6205 MB / 0.7376 GB, free: 8.188 MB / 0.5762 GB Notification: Performance of simplify1: time 7.961e-05/0.2535, allocations: 55.86 kB / 0.7377 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of Alias: time 0.001423/0.2549, allocations: 1.017 MB / 0.7387 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of simplify2: time 4.45e-05/0.255, allocations: 35.94 kB / 0.7387 GB, free: 6.934 MB / 0.5762 GB Notification: Performance of Events: time 0.0001474/0.2551, allocations: 79.19 kB / 0.7388 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of Detect States: time 0.0001856/0.2553, allocations: 153.2 kB / 0.7389 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of Partitioning: time 0.0003158/0.2556, allocations: 285.3 kB / 0.7392 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of Causalize: time 0.001076/0.2567, allocations: 0.8468 MB / 0.74 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of After Index Reduction Inline: time 0.0004814/0.2572, allocations: 402.9 kB / 0.7404 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of Inline: time 0.0009527/0.2582, allocations: 0.7641 MB / 0.7412 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of Partitioning: time 6.099e-05/0.2582, allocations: 46.34 kB / 0.7412 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of Cleanup: time 9.586e-05/0.2583, allocations: 81.05 kB / 0.7413 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of Causalize: time 0.002263/0.2606, allocations: 1.911 MB / 0.7432 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of Tearing: time 1.81e-05/0.2606, allocations: 0 / 0.7432 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of Initialization: time 1.042e-06/0.2607, allocations: 0 / 0.7432 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of Tearing: time 1.627e-05/0.2607, allocations: 7.938 kB / 0.7432 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of Categorize: time 3.034e-05/0.2607, allocations: 0 / 0.7432 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of Solve: time 0.0003838/0.2611, allocations: 177.5 kB / 0.7433 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of Jacobian: time 6.592e-06/0.2611, allocations: 0 / 0.7433 GB, free: 1.922 MB / 0.5762 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 8.619e-05/0.2612, allocations: 46.73 kB / 0.7434 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of SimCode: time 0.6615/0.9227, allocations: 1.968 MB / 0.7453 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of Templates: time 0.0115/0.9343, allocations: 3.943 MB / 0.7492 GB, free: 11.15 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure.makefile make -j1 -f IBPSA_latest_IBPSA.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=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure.o IBPSA_latest_IBPSA.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=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure_functions.o IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure_functions.c IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure_functions.c:675:31: error: use of undeclared identifier '_OMC_LIT19' tmpMeta2 = stringAppend(_OMC_LIT19,_modelName); ^ IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure_functions.c:676:40: error: use of undeclared identifier '_OMC_LIT20' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT20); ^ IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure_functions.c:678:40: error: use of undeclared identifier '_OMC_LIT21' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT21); ^ IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure_functions.c:695:35: error: use of undeclared identifier '_OMC_LIT22' tmpMeta7 = stringAppend(_OMC_LIT22,_mediumName); ^ IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure_functions.c:696:44: error: use of undeclared identifier '_OMC_LIT23' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT23); ^ IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure_functions.c:698:45: error: use of undeclared identifier '_OMC_LIT24' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT24); ^ IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure_functions.c:701:46: error: use of undeclared identifier '_OMC_LIT25' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT25); ^ IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure_functions.c:704:46: error: use of undeclared identifier '_OMC_LIT26' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT26); ^ IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure_functions.c:716:14: error: use of undeclared identifier '_OMC_LIT2' _X_str = _OMC_LIT2; ^ IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure_functions.c:724:41: error: use of undeclared identifier '_OMC_LIT27' tmpMeta21 = stringAppend(_X_str,_OMC_LIT27); ^ IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure_functions.c:727:44: error: use of undeclared identifier '_OMC_LIT28' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT28); ^ IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure_functions.c:730:44: error: use of undeclared identifier '_OMC_LIT29' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT29); ^ IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure_functions.c:732:44: error: use of undeclared identifier '_OMC_LIT30' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT30); ^ IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure_functions.c:737:30: error: use of undeclared identifier '_OMC_LIT31' tmpMeta33 = stringAppend(_OMC_LIT31,_mediumName); ^ IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure_functions.c:738:40: error: use of undeclared identifier '_OMC_LIT23' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT23); ^ IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure_functions.c:740:40: error: use of undeclared identifier '_OMC_LIT30' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT30); ^ IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure_functions.c:741:40: error: use of undeclared identifier '_OMC_LIT32' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT32); ^ IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure_functions.c:744:40: error: use of undeclared identifier '_OMC_LIT33' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT33); ^ IBPSA_latest_IBPSA.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: *** [: IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure_functions.o] Error 1