Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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.pW_TDewPoi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 109.1 kB / 16.42 MB, free: 6.441 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.001458/0.001458, allocations: 183.2 kB / 17.36 MB, free: 5.684 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.546/1.546, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002934/0.002934, allocations: 286.8 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 1.092/1.092, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.524e-05/2.526e-05, allocations: 2.281 kB / 0.682 GB, free: 7.082 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002488/0.002526, allocations: 1.273 MB / 0.6833 GB, free: 5.801 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001612/0.00415, allocations: 0.866 MB / 0.6841 GB, free: 4.93 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.359e-05/0.004196, allocations: 0 / 0.6841 GB, free: 4.93 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.823e-05/0.004222, allocations: 0 / 0.6841 GB, free: 4.93 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.05e-05/0.004299, allocations: 3.938 kB / 0.6841 GB, free: 4.926 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008441/0.00515, allocations: 202.5 kB / 0.6843 GB, free: 4.73 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.504e-05/0.005243, allocations: 23.8 kB / 0.6843 GB, free: 4.707 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.83e-05/0.005297, allocations: 4 kB / 0.6843 GB, free: 4.703 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.285e-05/0.005346, allocations: 11.94 kB / 0.6844 GB, free: 4.691 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.918e-05/0.005401, allocations: 11.97 kB / 0.6844 GB, free: 4.68 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.152e-05/0.005418, allocations: 0 / 0.6844 GB, free: 4.68 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004223/0.005846, allocations: 233 kB / 0.6846 GB, free: 4.453 MB / 494.1 MB Notification: Performance of combineBinaries: time 6.162e-05/0.005917, allocations: 23.69 kB / 0.6846 GB, free: 4.43 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 1.089e-05/0.005934, allocations: 11.81 kB / 0.6846 GB, free: 4.418 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.737e-05/0.005958, allocations: 8 kB / 0.6846 GB, free: 4.41 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.238e-05/0.005976, allocations: 0 / 0.6846 GB, free: 4.41 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 (4) * Number of variables: 4 (4) Notification: Performance of Bindings: time 0.0003546/0.006335, allocations: 212.8 kB / 0.6848 GB, free: 4.102 MB / 494.1 MB Notification: Performance of FunctionAlias: time 2.76e-05/0.006371, allocations: 11.94 kB / 0.6848 GB, free: 4.09 MB / 494.1 MB Notification: Performance of Early Inline: time 0.0001686/0.006544, allocations: 104.3 kB / 0.6849 GB, free: 3.961 MB / 494.1 MB Notification: Performance of simplify1: time 1.388e-05/0.006566, allocations: 7.938 kB / 0.685 GB, free: 3.953 MB / 494.1 MB Notification: Performance of Alias: time 0.0002997/0.00687, allocations: 108.8 kB / 0.6851 GB, free: 3.801 MB / 494.1 MB Notification: Performance of simplify2: time 1.688e-05/0.006899, allocations: 11.98 kB / 0.6851 GB, free: 3.789 MB / 494.1 MB Notification: Performance of Detect States: time 7.505e-05/0.006979, allocations: 36.22 kB / 0.6851 GB, free: 3.738 MB / 494.1 MB Notification: Performance of Events: time 6.991e-05/0.007056, allocations: 15.97 kB / 0.6851 GB, free: 3.723 MB / 494.1 MB Notification: Performance of Partitioning: time 5.975e-05/0.007122, allocations: 32.11 kB / 0.6851 GB, free: 3.684 MB / 494.1 MB Notification: Performance of Causalize: time 0.0001247/0.007253, allocations: 72.02 kB / 0.6852 GB, free: 3.605 MB / 494.1 MB Notification: Performance of After Index Reduction Inline: time 9.341e-05/0.007354, allocations: 84.31 kB / 0.6853 GB, free: 3.496 MB / 494.1 MB Notification: Performance of Inline: time 0.0001605/0.007521, allocations: 140.3 kB / 0.6854 GB, free: 3.324 MB / 494.1 MB Notification: Performance of Partitioning: time 1.567e-05/0.007544, allocations: 12.12 kB / 0.6854 GB, free: 3.305 MB / 494.1 MB Notification: Performance of Cleanup: time 2.67e-05/0.007576, allocations: 7.984 kB / 0.6855 GB, free: 3.297 MB / 494.1 MB Notification: Performance of Causalize: time 0.0001463/0.007727, allocations: 76.03 kB / 0.6855 GB, free: 3.215 MB / 494.1 MB Notification: Performance of Tearing: time 1.296e-05/0.00775, allocations: 4 kB / 0.6855 GB, free: 3.211 MB / 494.1 MB Notification: Performance of Initialization: time 5.21e-07/0.007756, allocations: 4 kB / 0.6855 GB, free: 3.207 MB / 494.1 MB Notification: Performance of Tearing: time 2.524e-06/0.007763, allocations: 0 / 0.6855 GB, free: 3.207 MB / 494.1 MB Notification: Performance of Categorize: time 8.115e-06/0.007776, allocations: 0 / 0.6855 GB, free: 3.207 MB / 494.1 MB Notification: Performance of Solve: time 6.182e-05/0.007841, allocations: 19.98 kB / 0.6856 GB, free: 3.188 MB / 494.1 MB Notification: Performance of Jacobian: time 4.308e-06/0.007851, allocations: 0.5625 kB / 0.6856 GB, free: 3.188 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: ................. 1 (1) {$SEV_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: ............ 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: ........... 4 (scalar:4, 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 5.351e-05/0.007909, allocations: 19.69 kB / 0.6856 GB, free: 3.176 MB / 494.1 MB Notification: Performance of SimCode: time 0.001104/0.009019, allocations: 0.9493 MB / 0.6865 GB, free: 2.203 MB / 494.1 MB Notification: Performance of Templates: time 0.004059/0.01309, allocations: 1.19 MB / 0.6877 GB, free: 1.02 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -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_pW_TDewPoi -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.pW_TDewPoi.o BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -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_pW_TDewPoi -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.pW_TDewPoi_functions.o BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_functions.c BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_functions.c:225:29: error: use of undeclared identifier '_OMC_LIT5' tmpMeta2 = stringAppend(_OMC_LIT5,tmp1); ^ BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_functions.c:226:38: error: use of undeclared identifier '_OMC_LIT6' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT6); ^ BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_functions.c:227:38: error: use of undeclared identifier '_OMC_LIT7' tmpMeta4 = stringAppend(tmpMeta3,_OMC_LIT7); ^ BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_functions.c:230:38: error: use of undeclared identifier '_OMC_LIT6' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT6); ^ BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_functions.c:231:38: error: use of undeclared identifier '_OMC_LIT8' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT8); ^ BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_functions.c:234:40: error: use of undeclared identifier '_OMC_LIT6' tmpMeta11 = stringAppend(tmpMeta10,_OMC_LIT6); ^ BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_functions.c:235:40: error: use of undeclared identifier '_OMC_LIT9' tmpMeta12 = stringAppend(tmpMeta11,_OMC_LIT9); ^ BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_functions.c:238:40: error: use of undeclared identifier '_OMC_LIT6' tmpMeta15 = stringAppend(tmpMeta14,_OMC_LIT6); ^ BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_functions.c:239:40: error: use of undeclared identifier '_OMC_LIT10' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT10); ^ BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_functions.c:383:3: warning: implicit declaration of function 'ModelicaError' is invalid in C99 [-Wimplicit-function-declaration] ModelicaError(MMC_STRINGDATA(_string)); ^ 1 warning and 9 errors generated. make: *** [: BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_functions.o] Error 1