Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001084/0.001084, allocations: 98.95 kB / 16.42 MB, free: 6.516 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.001065/0.001065, allocations: 192.2 kB / 17.35 MB, free: 5.758 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.124/1.124, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001887/0.001887, allocations: 277.8 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8178/0.8178, allocations: 169.2 MB / 0.499 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.437e-05/1.439e-05, allocations: 2.281 kB / 0.682 GB, free: 7.094 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.001895/0.001917, allocations: 1.49 MB / 0.6835 GB, free: 5.59 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00101/0.002939, allocations: 0.8076 MB / 0.6843 GB, free: 4.777 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.978e-05/0.002979, allocations: 0 / 0.6843 GB, free: 4.777 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.53e-05/0.00301, allocations: 7.922 kB / 0.6843 GB, free: 4.77 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.038e-05/0.003065, allocations: 15.86 kB / 0.6843 GB, free: 4.754 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004135/0.003489, allocations: 123.5 kB / 0.6844 GB, free: 4.633 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.063e-05/0.003578, allocations: 63.78 kB / 0.6845 GB, free: 4.57 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.734e-05/0.003671, allocations: 15.94 kB / 0.6845 GB, free: 4.555 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.594e-05/0.003713, allocations: 19.92 kB / 0.6845 GB, free: 4.535 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.196e-05/0.00376, allocations: 31.83 kB / 0.6845 GB, free: 4.504 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.003778, allocations: 8 kB / 0.6845 GB, free: 4.496 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002606/0.004044, allocations: 167.8 kB / 0.6847 GB, free: 4.332 MB / 494.1 MB Notification: Performance of combineBinaries: time 6.66e-05/0.004118, allocations: 75.16 kB / 0.6848 GB, free: 4.258 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 2.22e-05/0.004146, allocations: 43.38 kB / 0.6848 GB, free: 4.215 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.251e-05/0.004162, allocations: 7.938 kB / 0.6848 GB, free: 4.207 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.497e-05/0.004181, allocations: 3.938 kB / 0.6848 GB, free: 4.203 MB / 494.1 MB 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.0003227/0.004509, allocations: 363.6 kB / 0.6852 GB, free: 3.746 MB / 494.1 MB Notification: Performance of FunctionAlias: time 1.753e-05/0.004532, allocations: 8 kB / 0.6852 GB, free: 3.738 MB / 494.1 MB Notification: Performance of Early Inline: time 0.0001821/0.00472, allocations: 192.2 kB / 0.6853 GB, free: 3.523 MB / 494.1 MB Notification: Performance of simplify1: time 1.453e-05/0.004741, allocations: 15.97 kB / 0.6854 GB, free: 3.508 MB / 494.1 MB Notification: Performance of Alias: time 0.0003112/0.005057, allocations: 225.4 kB / 0.6856 GB, free: 3.227 MB / 494.1 MB Notification: Performance of simplify2: time 1.365e-05/0.005081, allocations: 15.98 kB / 0.6856 GB, free: 3.211 MB / 494.1 MB Notification: Performance of Events: time 8.495e-05/0.005171, allocations: 55.81 kB / 0.6856 GB, free: 3.156 MB / 494.1 MB Notification: Performance of Detect States: time 6.227e-05/0.005241, allocations: 52.22 kB / 0.6857 GB, free: 3.09 MB / 494.1 MB Notification: Performance of Partitioning: time 5.796e-05/0.005304, allocations: 48.11 kB / 0.6857 GB, free: 3.035 MB / 494.1 MB Notification: Performance of Causalize: time 0.0001611/0.00547, allocations: 144 kB / 0.6859 GB, free: 2.887 MB / 494.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001272/0.005605, allocations: 168.3 kB / 0.686 GB, free: 2.695 MB / 494.1 MB Notification: Performance of Inline: time 0.0003798/0.00599, allocations: 419.9 kB / 0.6864 GB, free: 2.25 MB / 494.1 MB Notification: Performance of Partitioning: time 1.364e-05/0.006013, allocations: 12.12 kB / 0.6865 GB, free: 2.23 MB / 494.1 MB Notification: Performance of Cleanup: time 2.33e-05/0.006042, allocations: 28.42 kB / 0.6865 GB, free: 2.203 MB / 494.1 MB Notification: Performance of Causalize: time 0.0002102/0.006256, allocations: 196.2 kB / 0.6867 GB, free: 2 MB / 494.1 MB Notification: Performance of Tearing: time 4.068e-06/0.006269, allocations: 0 / 0.6867 GB, free: 2 MB / 494.1 MB Notification: Performance of Initialization: time 3e-07/0.006273, allocations: 0 / 0.6867 GB, free: 2 MB / 494.1 MB Notification: Performance of Tearing: time 8.41e-07/0.006278, allocations: 0 / 0.6867 GB, free: 2 MB / 494.1 MB Notification: Performance of Categorize: time 5.932e-06/0.006287, allocations: 0 / 0.6867 GB, free: 2 MB / 494.1 MB Notification: Performance of Solve: time 7.708e-05/0.006369, allocations: 48.47 kB / 0.6867 GB, free: 1.953 MB / 494.1 MB Notification: Performance of Jacobian: time 4.058e-06/0.006379, allocations: 3.938 kB / 0.6867 GB, free: 1.949 MB / 494.1 MB 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 2.742e-05/0.00641, allocations: 22.38 kB / 0.6867 GB, free: 1.941 MB / 494.1 MB Notification: Performance of SimCode: time 0.000729/0.007143, allocations: 0.9992 MB / 0.6877 GB, free: 0.918 MB / 494.1 MB Notification: Performance of Templates: time 0.2436/0.2507, allocations: 1.671 MB / 0.6893 GB, free: 14.68 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.makefile make -j1 -f BuildingSystems_BuildingSystems.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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.o BuildingSystems_BuildingSystems.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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX_functions.o BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX_functions.c BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX_functions.c:226:24: error: use of undeclared identifier '_OMC_LIT8' real_array_copy_data(_OMC_LIT8, _a); ^ BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX_functions.c:229:24: error: use of undeclared identifier '_OMC_LIT9' real_array_copy_data(_OMC_LIT9, _n); ^ BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX_functions.c:424:24: error: use of undeclared identifier '_OMC_LIT8' real_array_copy_data(_OMC_LIT8, _a); ^ BuildingSystems_BuildingSystems.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: *** [: BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX_functions.o] Error 1