Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 103.5 kB / 16.37 MB, free: 6.367 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.001082/0.001082, allocations: 195.2 kB / 17.31 MB, free: 5.91 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.362/1.362, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002235/0.002235, allocations: 289 kB / 291.4 MB, free: 14.51 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9388/0.9388, allocations: 169.3 MB / 0.4989 GB, free: 4.477 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.869e-05/2.903e-05, allocations: 2.281 kB / 0.5966 GB, free: 14.56 MB / 414.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002523/0.002571, allocations: 1.296 MB / 0.5978 GB, free: 13.27 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.5615/0.5641, allocations: 147.6 MB / 0.742 GB, free: 7.027 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.944e-05/0.5641, allocations: 2.25 kB / 0.742 GB, free: 7.027 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.383e-05/0.5642, allocations: 0 / 0.742 GB, free: 7.027 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.348e-05/0.5643, allocations: 9.344 kB / 0.742 GB, free: 7.023 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004814/0.5648, allocations: 124.1 kB / 0.7421 GB, free: 6.992 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.47e-05/0.5649, allocations: 14 kB / 0.7421 GB, free: 6.988 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.753e-05/0.5649, allocations: 2.406 kB / 0.7422 GB, free: 6.988 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.343e-05/0.565, allocations: 14.97 kB / 0.7422 GB, free: 6.984 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.379e-05/0.565, allocations: 9.109 kB / 0.7422 GB, free: 6.98 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.5651, allocations: 0 / 0.7422 GB, free: 6.98 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003739/0.5654, allocations: 172.2 kB / 0.7423 GB, free: 6.969 MB / 494.1 MB Notification: Performance of combineBinaries: time 4.689e-05/0.5655, allocations: 25.25 kB / 0.7424 GB, free: 6.957 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 1.667e-05/0.5655, allocations: 31.47 kB / 0.7424 GB, free: 6.938 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.511e-05/0.5655, allocations: 2.812 kB / 0.7424 GB, free: 6.938 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.698e-06/0.5655, allocations: 0 / 0.7424 GB, free: 6.938 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: 3 (3) * Number of variables: 3 (3) Notification: Performance of Bindings: time 0.0002925/0.5658, allocations: 200.1 kB / 0.7426 GB, free: 6.695 MB / 494.1 MB Notification: Performance of FunctionAlias: time 2.353e-05/0.5659, allocations: 2.625 kB / 0.7426 GB, free: 6.695 MB / 494.1 MB Notification: Performance of Early Inline: time 0.0001388/0.566, allocations: 86.17 kB / 0.7427 GB, free: 6.637 MB / 494.1 MB Notification: Performance of simplify1: time 6.042e-06/0.566, allocations: 3.062 kB / 0.7427 GB, free: 6.637 MB / 494.1 MB Notification: Performance of Alias: time 0.0002166/0.5663, allocations: 109.5 kB / 0.7428 GB, free: 6.52 MB / 494.1 MB Notification: Performance of simplify2: time 6.402e-06/0.5663, allocations: 4.219 kB / 0.7428 GB, free: 6.52 MB / 494.1 MB Notification: Performance of Events: time 1.728e-05/0.5663, allocations: 6.25 kB / 0.7428 GB, free: 6.52 MB / 494.1 MB Notification: Performance of Detect States: time 6.002e-05/0.5664, allocations: 35.44 kB / 0.7428 GB, free: 6.48 MB / 494.1 MB Notification: Performance of Partitioning: time 4.284e-05/0.5664, allocations: 16.19 kB / 0.7428 GB, free: 6.465 MB / 494.1 MB Notification: Performance of Causalize: time 9.21e-05/0.5665, allocations: 62.83 kB / 0.7429 GB, free: 6.445 MB / 494.1 MB Notification: Performance of After Index Reduction Inline: time 4.838e-05/0.5666, allocations: 66.66 kB / 0.743 GB, free: 6.383 MB / 494.1 MB Notification: Performance of Inline: time 0.0002671/0.5668, allocations: 217.6 kB / 0.7432 GB, free: 6.301 MB / 494.1 MB Notification: Performance of Partitioning: time 1.256e-05/0.5669, allocations: 11 kB / 0.7432 GB, free: 6.285 MB / 494.1 MB Notification: Performance of Cleanup: time 1.964e-05/0.5669, allocations: 8.062 kB / 0.7432 GB, free: 6.285 MB / 494.1 MB Notification: Performance of Causalize: time 0.0001621/0.567, allocations: 118.8 kB / 0.7433 GB, free: 6.258 MB / 494.1 MB Notification: Performance of Tearing: time 8.025e-06/0.5671, allocations: 0 / 0.7433 GB, free: 6.258 MB / 494.1 MB Notification: Performance of Initialization: time 2.91e-07/0.5671, allocations: 0 / 0.7433 GB, free: 6.258 MB / 494.1 MB Notification: Performance of Tearing: time 4.047e-06/0.5671, allocations: 2.094 kB / 0.7433 GB, free: 6.258 MB / 494.1 MB Notification: Performance of Categorize: time 7.634e-06/0.5671, allocations: 4.25 kB / 0.7433 GB, free: 6.254 MB / 494.1 MB Notification: Performance of Solve: time 6.014e-05/0.5672, allocations: 24.47 kB / 0.7433 GB, free: 6.25 MB / 494.1 MB Notification: Performance of Jacobian: time 4.248e-06/0.5672, allocations: 0 / 0.7433 GB, free: 6.25 MB / 494.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 1 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 0 * 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: ................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 2 (scalar:2, 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: ........... 2 (scalar:2, 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.605e-05/0.5672, allocations: 13.67 kB / 0.7433 GB, free: 6.246 MB / 494.1 MB Notification: Performance of SimCode: time 0.0007633/0.568, allocations: 0.9002 MB / 0.7442 GB, free: 5.484 MB / 494.1 MB Notification: Performance of Templates: time 0.00368/0.5717, allocations: 1.284 MB / 0.7455 GB, free: 4.973 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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_Functions_Examples_X_pSatpphi -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.Functions.Examples.X_pSatpphi.o BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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_Functions_Examples_X_pSatpphi -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.Functions.Examples.X_pSatpphi_functions.o BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_functions.c BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_functions.c:194:24: error: use of undeclared identifier '_OMC_LIT8' real_array_copy_data(_OMC_LIT8, _a); ^ BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_functions.c:197:24: error: use of undeclared identifier '_OMC_LIT9' real_array_copy_data(_OMC_LIT9, _n); ^ BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_functions.c:392:24: error: use of undeclared identifier '_OMC_LIT8' real_array_copy_data(_OMC_LIT8, _a); ^ BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_functions.c:395:24: error: use of undeclared identifier '_OMC_LIT9' real_array_copy_data(_OMC_LIT9, _n); ^ 4 errors generated. make: *** [: BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_functions.o] Error 1