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.001089/0.001089, allocations: 112.9 kB / 17.1 MB, free: 5.953 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.001053/0.001053, allocations: 198.2 kB / 18.04 MB, free: 5.023 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.129/1.129, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6429/0.6429, allocations: 122.9 MB / 414.7 MB, free: 15.78 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.366e-05/1.368e-05, allocations: 2.5 kB / 0.5691 GB, free: 28.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Pressure): time 0.1429/0.1429, allocations: 169.4 MB / 0.7346 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007112/0.1501, allocations: 7.311 MB / 0.7417 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004298/0.1505, allocations: 15.88 kB / 0.7417 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000638/0.1512, allocations: 214.6 kB / 0.7419 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001332/0.1525, allocations: 0.599 MB / 0.7425 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001009/0.1536, allocations: 429.1 kB / 0.7429 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009168/0.1545, allocations: 0.7943 MB / 0.7437 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003999/0.1549, allocations: 290.8 kB / 0.744 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007121/0.1556, allocations: 434.5 kB / 0.7444 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002889/0.1559, allocations: 227.1 kB / 0.7446 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.389e-05/0.156, allocations: 20 kB / 0.7446 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009081/0.1569, allocations: 0.6859 MB / 0.7453 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.0003881/0.1573, allocations: 0.5762 MB / 0.7458 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of replaceArrayConstructors: time 0.0002419/0.1575, allocations: 403.2 kB / 0.7462 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.381e-05/0.1576, allocations: 59.75 kB / 0.7463 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of FrontEnd: time 5.543e-05/0.1577, allocations: 15.94 kB / 0.7463 GB, free: 0.832 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.2553/0.413, allocations: 1.498 MB / 0.7478 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of FunctionAlias: time 7.406e-05/0.4131, allocations: 53.81 kB / 0.7478 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of Early Inline: time 0.0005406/0.4136, allocations: 0.6285 MB / 0.7484 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of simplify1: time 6.134e-05/0.4137, allocations: 48.88 kB / 0.7485 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of Alias: time 0.0009978/0.4147, allocations: 1.017 MB / 0.7495 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of simplify2: time 3.174e-05/0.4147, allocations: 33.88 kB / 0.7495 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of Detect States: time 0.0001118/0.4148, allocations: 139.3 kB / 0.7496 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of Events: time 0.0001137/0.415, allocations: 83.64 kB / 0.7497 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of Partitioning: time 0.0002049/0.4152, allocations: 274.7 kB / 0.75 GB, free: 5 MB / 0.5762 GB Notification: Performance of Causalize: time 0.0008091/0.416, allocations: 0.8551 MB / 0.7508 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of After Index Reduction Inline: time 0.000282/0.4163, allocations: 406.1 kB / 0.7512 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of Inline: time 0.0006522/0.4169, allocations: 0.7297 MB / 0.7519 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of Partitioning: time 4.27e-05/0.417, allocations: 48.67 kB / 0.752 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of Cleanup: time 7.598e-05/0.4171, allocations: 90.95 kB / 0.752 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of Causalize: time 0.002258/0.4193, allocations: 1.888 MB / 0.7539 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of Tearing: time 1.228e-05/0.4194, allocations: 3.031 kB / 0.7539 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of Initialization: time 4.8e-07/0.4194, allocations: 0 / 0.7539 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of Tearing: time 6.983e-06/0.4194, allocations: 5.812 kB / 0.7539 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of Categorize: time 1.569e-05/0.4194, allocations: 4.703 kB / 0.7539 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of Solve: time 0.0002948/0.4197, allocations: 178.2 kB / 0.7541 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of Jacobian: time 2.485e-06/0.4197, allocations: 1.031 kB / 0.7541 GB, free: 4.207 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: ........... 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.924e-05/0.4197, allocations: 38.3 kB / 0.7541 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of SimCode: time 0.002122/0.4219, allocations: 1.984 MB / 0.756 GB, free: 19.2 MB / 0.5919 GB Notification: Performance of Templates: time 0.00736/0.4292, allocations: 3.927 MB / 0.7599 GB, free: 19 MB / 0.5919 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