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.0013/0.0013, allocations: 107.2 kB / 16.42 MB, free: 6.48 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.001359/0.001359, allocations: 190 kB / 17.36 MB, free: 5.703 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.49/1.49, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003687/0.003687, allocations: 290.9 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.113/1.113, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.795e-05/2.797e-05, allocations: 6.219 kB / 0.682 GB, free: 7.074 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.003216/0.003253, allocations: 1.485 MB / 0.6835 GB, free: 5.578 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001481/0.004746, allocations: 0.8114 MB / 0.6843 GB, free: 4.762 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.645e-05/0.004815, allocations: 0 / 0.6843 GB, free: 4.762 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.507e-05/0.004866, allocations: 7.922 kB / 0.6843 GB, free: 4.754 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.706e-05/0.004941, allocations: 11.88 kB / 0.6843 GB, free: 4.742 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006261/0.005604, allocations: 135.4 kB / 0.6844 GB, free: 4.609 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001323/0.005748, allocations: 59.78 kB / 0.6845 GB, free: 4.551 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.005888, allocations: 19.92 kB / 0.6845 GB, free: 4.531 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.515e-05/0.00595, allocations: 19.94 kB / 0.6845 GB, free: 4.512 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.915e-05/0.006014, allocations: 27.84 kB / 0.6845 GB, free: 4.484 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.982e-05/0.006039, allocations: 4 kB / 0.6845 GB, free: 4.48 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003949/0.00644, allocations: 163.8 kB / 0.6847 GB, free: 4.32 MB / 494.1 MB Notification: Performance of combineBinaries: time 9.597e-05/0.006545, allocations: 75.17 kB / 0.6848 GB, free: 4.246 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 2.946e-05/0.006581, allocations: 39.38 kB / 0.6848 GB, free: 4.207 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.726e-05/0.006625, allocations: 19.94 kB / 0.6848 GB, free: 4.188 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.73e-05/0.006657, allocations: 7.938 kB / 0.6848 GB, free: 4.18 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.0004796/0.007141, allocations: 351.7 kB / 0.6852 GB, free: 3.734 MB / 494.1 MB Notification: Performance of FunctionAlias: time 3.126e-05/0.007179, allocations: 8 kB / 0.6852 GB, free: 3.727 MB / 494.1 MB Notification: Performance of Early Inline: time 0.0002411/0.007425, allocations: 200.2 kB / 0.6854 GB, free: 3.504 MB / 494.1 MB Notification: Performance of simplify1: time 1.789e-05/0.00745, allocations: 11.98 kB / 0.6854 GB, free: 3.492 MB / 494.1 MB Notification: Performance of Alias: time 0.0004487/0.007904, allocations: 217.4 kB / 0.6856 GB, free: 3.219 MB / 494.1 MB Notification: Performance of simplify2: time 1.692e-05/0.007931, allocations: 11.98 kB / 0.6856 GB, free: 3.207 MB / 494.1 MB Notification: Performance of Detect States: time 8.337e-05/0.00802, allocations: 56.14 kB / 0.6856 GB, free: 3.137 MB / 494.1 MB Notification: Performance of Events: time 0.0001259/0.008152, allocations: 39.91 kB / 0.6857 GB, free: 3.098 MB / 494.1 MB Notification: Performance of Partitioning: time 8.71e-05/0.008248, allocations: 48.09 kB / 0.6857 GB, free: 3.043 MB / 494.1 MB Notification: Performance of Causalize: time 0.0002144/0.008469, allocations: 148 kB / 0.6859 GB, free: 2.891 MB / 494.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001705/0.008647, allocations: 176.2 kB / 0.686 GB, free: 2.691 MB / 494.1 MB Notification: Performance of Inline: time 0.0005098/0.009167, allocations: 417.6 kB / 0.6864 GB, free: 2.25 MB / 494.1 MB Notification: Performance of Partitioning: time 2.325e-05/0.0092, allocations: 20.05 kB / 0.6865 GB, free: 2.223 MB / 494.1 MB Notification: Performance of Cleanup: time 2.766e-05/0.009234, allocations: 19.92 kB / 0.6865 GB, free: 2.203 MB / 494.1 MB Notification: Performance of Causalize: time 0.0002973/0.009535, allocations: 196.7 kB / 0.6867 GB, free: 2 MB / 494.1 MB Notification: Performance of Tearing: time 1.135e-05/0.009556, allocations: 0 / 0.6867 GB, free: 2 MB / 494.1 MB Notification: Performance of Initialization: time 9.61e-07/0.009564, allocations: 4 kB / 0.6867 GB, free: 1.996 MB / 494.1 MB Notification: Performance of Tearing: time 2.154e-06/0.009571, allocations: 0 / 0.6867 GB, free: 1.996 MB / 494.1 MB Notification: Performance of Categorize: time 7.614e-06/0.009584, allocations: 0 / 0.6867 GB, free: 1.996 MB / 494.1 MB Notification: Performance of Solve: time 0.0001306/0.009718, allocations: 35.97 kB / 0.6867 GB, free: 1.961 MB / 494.1 MB Notification: Performance of Jacobian: time 1.077e-05/0.009737, allocations: 11.86 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 4.533e-05/0.009789, allocations: 22.03 kB / 0.6867 GB, free: 1.938 MB / 494.1 MB Notification: Performance of SimCode: time 0.001097/0.01089, allocations: 0.9866 MB / 0.6877 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of Templates: time 0.5051/0.516, allocations: 1.658 MB / 0.6893 GB, free: 14.71 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