Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 110.2 kB / 16.42 MB, free: 6.504 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.001098/0.001098, allocations: 187.2 kB / 17.35 MB, free: 5.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.139/1.139, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.219/1.219, allocations: 251.7 MB / 0.51 GB, free: 384 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.118e-05/1.119e-05, allocations: 2.281 kB / 0.7264 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.001954/0.001973, allocations: 1.49 MB / 0.7278 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001078/0.003062, allocations: 0.8129 MB / 0.7286 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.775e-05/0.003099, allocations: 0 / 0.7286 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.31e-05/0.003138, allocations: 7.922 kB / 0.7286 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.954e-05/0.003182, allocations: 11.86 kB / 0.7286 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003614/0.003555, allocations: 139.4 kB / 0.7288 GB, free: 2.258 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.317e-05/0.003648, allocations: 55.84 kB / 0.7288 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.606e-05/0.00374, allocations: 15.94 kB / 0.7288 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.348e-05/0.003779, allocations: 15.92 kB / 0.7288 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.969e-05/0.003826, allocations: 35.83 kB / 0.7289 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.198e-05/0.003842, allocations: 4 kB / 0.7289 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002602/0.004108, allocations: 175.7 kB / 0.729 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of combineBinaries: time 6.444e-05/0.00418, allocations: 79.16 kB / 0.7291 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 2.858e-05/0.004214, allocations: 47.27 kB / 0.7292 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.279e-05/0.004231, allocations: 7.938 kB / 0.7292 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of FrontEnd: time 7.885e-06/0.004243, allocations: 0 / 0.7292 GB, free: 1.828 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 (7) * Number of variables: 7 (7) Notification: Performance of Bindings: time 0.0003259/0.004573, allocations: 339.8 kB / 0.7295 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of FunctionAlias: time 3.356e-05/0.004613, allocations: 23.88 kB / 0.7295 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of Early Inline: time 0.0001874/0.004804, allocations: 188.2 kB / 0.7297 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of simplify1: time 1.353e-05/0.004825, allocations: 11.98 kB / 0.7297 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of Alias: time 0.0002928/0.005122, allocations: 209.5 kB / 0.7299 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of simplify2: time 1.428e-05/0.005146, allocations: 15.98 kB / 0.7299 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of Events: time 8.705e-05/0.005238, allocations: 67.77 kB / 0.73 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of Detect States: time 6.492e-05/0.005309, allocations: 52.2 kB / 0.73 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of Partitioning: time 6.52e-05/0.00538, allocations: 48.11 kB / 0.7301 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of Causalize: time 0.0002248/0.00561, allocations: 224 kB / 0.7303 GB, free: 464 kB / 0.5606 GB Notification: Performance of After Index Reduction Inline: time 0.0001272/0.005745, allocations: 164.5 kB / 0.7305 GB, free: 272 kB / 0.5606 GB Notification: Performance of Inline: time 0.0004119/0.006162, allocations: 424 kB / 0.7309 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of Partitioning: time 2.203e-05/0.006193, allocations: 16.12 kB / 0.7309 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of Cleanup: time 1.899e-05/0.006217, allocations: 15.97 kB / 0.7309 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of Causalize: time 0.000308/0.006529, allocations: 341.2 kB / 0.7312 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of Tearing: time 5.02e-06/0.006542, allocations: 0.5625 kB / 0.7312 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of Initialization: time 2.8e-07/0.006546, allocations: 0 / 0.7312 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of Tearing: time 6.91e-07/0.006551, allocations: 0 / 0.7312 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of Categorize: time 6.142e-06/0.00656, allocations: 0.5625 kB / 0.7312 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of Solve: time 7.119e-05/0.006635, allocations: 40.03 kB / 0.7313 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of Jacobian: time 3.767e-06/0.006645, allocations: 0 / 0.7313 GB, free: 15.4 MB / 0.5762 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 1 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 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: ................. 4 (4) {$TEV_3, $TEV_2, $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: ........... 7 (scalar:7, array:0, 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: ........... 9 (scalar:9, array:0, 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.212e-05/0.006682, allocations: 33.34 kB / 0.7313 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of SimCode: time 0.000738/0.007426, allocations: 0.9843 MB / 0.7322 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of Templates: time 0.003295/0.01073, allocations: 1.672 MB / 0.7339 GB, free: 12.7 MB / 0.5762 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX -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_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.o Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX -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_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_functions.o Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_functions.c Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_functions.c:226:24: error: use of undeclared identifier '_OMC_LIT8' real_array_copy_data(_OMC_LIT8, _a); ^ Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_functions.c:229:24: error: use of undeclared identifier '_OMC_LIT9' real_array_copy_data(_OMC_LIT9, _n); ^ Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_functions.c:424:24: error: use of undeclared identifier '_OMC_LIT8' real_array_copy_data(_OMC_LIT8, _a); ^ Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_functions.c:427:24: error: use of undeclared identifier '_OMC_LIT9' real_array_copy_data(_OMC_LIT9, _n); ^ 4 errors generated. make: *** [: Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_functions.o] Error 1