Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.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.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001129, allocations: 108.7 kB / 16.42 MB, free: 6.477 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.001083/0.001083, allocations: 187.2 kB / 17.35 MB, free: 5.707 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.154/1.154, 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.001905/0.001905, allocations: 294.1 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.807/0.807, allocations: 169.2 MB / 0.499 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.316e-05/1.317e-05, allocations: 2.281 kB / 0.682 GB, free: 7.039 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001603/0.001624, allocations: 1.274 MB / 0.6833 GB, free: 5.754 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001031/0.002665, allocations: 0.8193 MB / 0.6841 GB, free: 4.93 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.481e-05/0.00269, allocations: 0 / 0.6841 GB, free: 4.93 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.194e-05/0.002707, allocations: 0 / 0.6841 GB, free: 4.93 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.537e-05/0.002747, allocations: 3.938 kB / 0.6841 GB, free: 4.926 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003822/0.003137, allocations: 127.4 kB / 0.6842 GB, free: 4.801 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.424e-05/0.003208, allocations: 27.91 kB / 0.6842 GB, free: 4.773 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.2e-05/0.003247, allocations: 12 kB / 0.6842 GB, free: 4.762 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.144e-05/0.003294, allocations: 15.92 kB / 0.6843 GB, free: 4.746 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.511e-05/0.003344, allocations: 11.94 kB / 0.6843 GB, free: 4.734 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.139e-05/0.003363, allocations: 0 / 0.6843 GB, free: 4.734 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002405/0.003608, allocations: 167.7 kB / 0.6844 GB, free: 4.57 MB / 494.1 MB Notification: Performance of combineBinaries: time 4.157e-05/0.003657, allocations: 27.73 kB / 0.6845 GB, free: 4.543 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 1.407e-05/0.003676, allocations: 27.66 kB / 0.6845 GB, free: 4.516 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.187e-06/0.003689, allocations: 0 / 0.6845 GB, free: 4.516 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.103e-06/0.0037, allocations: 4 kB / 0.6845 GB, free: 4.512 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: 4 (3) * Number of variables: 4 (4) Notification: Performance of Bindings: time 0.0002545/0.003959, allocations: 244.6 kB / 0.6847 GB, free: 4.172 MB / 494.1 MB Notification: Performance of FunctionAlias: time 1.3e-05/0.003977, allocations: 7.922 kB / 0.6847 GB, free: 4.164 MB / 494.1 MB Notification: Performance of Early Inline: time 0.0001464/0.004128, allocations: 140.2 kB / 0.6849 GB, free: 4 MB / 494.1 MB Notification: Performance of simplify1: time 1.159e-05/0.004147, allocations: 8 kB / 0.6849 GB, free: 3.992 MB / 494.1 MB Notification: Performance of Alias: time 5.668e-05/0.00421, allocations: 68.5 kB / 0.6849 GB, free: 3.887 MB / 494.1 MB Notification: Performance of simplify2: time 8.977e-06/0.004223, allocations: 7.984 kB / 0.6849 GB, free: 3.879 MB / 494.1 MB Notification: Performance of Events: time 7.294e-05/0.004302, allocations: 35.84 kB / 0.685 GB, free: 3.844 MB / 494.1 MB Notification: Performance of Detect States: time 5.778e-05/0.004367, allocations: 40.22 kB / 0.685 GB, free: 3.789 MB / 494.1 MB Notification: Performance of Partitioning: time 5.645e-05/0.004429, allocations: 40.09 kB / 0.6851 GB, free: 3.742 MB / 494.1 MB Notification: Performance of Causalize: time 0.0002056/0.00464, allocations: 112.1 kB / 0.6852 GB, free: 3.625 MB / 494.1 MB Notification: Performance of After Index Reduction Inline: time 8.951e-05/0.004738, allocations: 120.3 kB / 0.6853 GB, free: 3.48 MB / 494.1 MB Notification: Performance of Inline: time 0.0003874/0.005131, allocations: 439.9 kB / 0.6857 GB, free: 3.016 MB / 494.1 MB Notification: Performance of Partitioning: time 1.204e-05/0.005151, allocations: 8.125 kB / 0.6857 GB, free: 3 MB / 494.1 MB Notification: Performance of Cleanup: time 2.274e-05/0.005178, allocations: 19.97 kB / 0.6857 GB, free: 2.98 MB / 494.1 MB Notification: Performance of Causalize: time 0.0001837/0.005365, allocations: 148.2 kB / 0.6859 GB, free: 2.828 MB / 494.1 MB Notification: Performance of Tearing: time 5.951e-06/0.005382, allocations: 11.94 kB / 0.6859 GB, free: 2.816 MB / 494.1 MB Notification: Performance of Initialization: time 2.5e-07/0.005386, allocations: 0 / 0.6859 GB, free: 2.816 MB / 494.1 MB Notification: Performance of Tearing: time 8.32e-07/0.005391, allocations: 0 / 0.6859 GB, free: 2.816 MB / 494.1 MB Notification: Performance of Categorize: time 5.02e-06/0.0054, allocations: 0 / 0.6859 GB, free: 2.816 MB / 494.1 MB Notification: Performance of Solve: time 0.0001352/0.005538, allocations: 100.7 kB / 0.686 GB, free: 2.707 MB / 494.1 MB Notification: Performance of Jacobian: time 2.895e-06/0.005549, allocations: 0 / 0.686 GB, free: 2.707 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: ................. 2 (2) {$SEV_0, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 4 (scalar:4, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:0, when:0, if:1, 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: ........... 4 (scalar:4, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:0, when:0, if:1, 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.711e-05/0.00558, allocations: 18.84 kB / 0.686 GB, free: 2.699 MB / 494.1 MB Notification: Performance of SimCode: time 0.0006228/0.006208, allocations: 0.9252 MB / 0.6869 GB, free: 1.75 MB / 494.1 MB Notification: Performance of Templates: time 0.2302/0.2364, allocations: 1.917 MB / 0.6888 GB, free: 15.02 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.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_Functions_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.Functions.Examples.phi_pTX.o BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.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_Functions_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.Functions.Examples.phi_pTX_functions.o BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX_functions.c BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.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.Functions.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.Functions.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.Functions.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.Functions.Examples.phi_pTX_functions.o] Error 1