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.001414/0.001414, allocations: 108.2 kB / 16.42 MB, free: 6.512 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.001253/0.001253, allocations: 187.2 kB / 17.35 MB, free: 5.754 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.437/1.437, 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.002055/0.002055, allocations: 298.4 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.944/0.944, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.434e-05/3.434e-05, allocations: 4.531 kB / 0.682 GB, free: 7.043 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002466/0.00251, allocations: 1.278 MB / 0.6833 GB, free: 5.754 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001558/0.00408, allocations: 0.8582 MB / 0.6841 GB, free: 4.891 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.272e-05/0.004115, allocations: 0 / 0.6841 GB, free: 4.891 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.099e-05/0.004146, allocations: 4 kB / 0.6841 GB, free: 4.887 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.617e-05/0.004196, allocations: 7.922 kB / 0.6841 GB, free: 4.879 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006531/0.004868, allocations: 194.3 kB / 0.6843 GB, free: 4.691 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.07e-05/0.004956, allocations: 23.88 kB / 0.6843 GB, free: 4.668 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.627e-05/0.005008, allocations: 3.984 kB / 0.6843 GB, free: 4.664 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.906e-05/0.005051, allocations: 4 kB / 0.6843 GB, free: 4.66 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.065e-05/0.005107, allocations: 11.98 kB / 0.6844 GB, free: 4.648 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.104e-05/0.005124, allocations: 4 kB / 0.6844 GB, free: 4.645 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003552/0.005484, allocations: 232.5 kB / 0.6846 GB, free: 4.418 MB / 494.1 MB Notification: Performance of combineBinaries: time 6.248e-05/0.005555, allocations: 31.67 kB / 0.6846 GB, free: 4.387 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 1.195e-05/0.005572, allocations: 15.81 kB / 0.6846 GB, free: 4.371 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.596e-05/0.005593, allocations: 0 / 0.6846 GB, free: 4.371 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.388e-05/0.005611, allocations: 0 / 0.6846 GB, free: 4.371 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.000382/0.006, allocations: 212.8 kB / 0.6848 GB, free: 4.062 MB / 494.1 MB Notification: Performance of FunctionAlias: time 2.24e-05/0.006031, allocations: 7.984 kB / 0.6848 GB, free: 4.055 MB / 494.1 MB Notification: Performance of Early Inline: time 0.0001442/0.00618, allocations: 100.3 kB / 0.6849 GB, free: 3.93 MB / 494.1 MB Notification: Performance of simplify1: time 1.624e-05/0.006204, allocations: 12 kB / 0.6849 GB, free: 3.918 MB / 494.1 MB Notification: Performance of Alias: time 0.000279/0.006488, allocations: 104.6 kB / 0.685 GB, free: 3.77 MB / 494.1 MB Notification: Performance of simplify2: time 1.655e-05/0.006514, allocations: 15.98 kB / 0.6851 GB, free: 3.754 MB / 494.1 MB Notification: Performance of Events: time 5.087e-05/0.00657, allocations: 12.17 kB / 0.6851 GB, free: 3.742 MB / 494.1 MB Notification: Performance of Detect States: time 8.695e-05/0.006664, allocations: 44.16 kB / 0.6851 GB, free: 3.684 MB / 494.1 MB Notification: Performance of Partitioning: time 6.323e-05/0.006737, allocations: 32.05 kB / 0.6851 GB, free: 3.645 MB / 494.1 MB Notification: Performance of Causalize: time 0.0001193/0.006863, allocations: 68.08 kB / 0.6852 GB, free: 3.57 MB / 494.1 MB Notification: Performance of After Index Reduction Inline: time 8.606e-05/0.00696, allocations: 96.3 kB / 0.6853 GB, free: 3.449 MB / 494.1 MB Notification: Performance of Inline: time 0.000157/0.007123, allocations: 140.3 kB / 0.6854 GB, free: 3.277 MB / 494.1 MB Notification: Performance of Partitioning: time 1.277e-05/0.007142, allocations: 8.125 kB / 0.6854 GB, free: 3.262 MB / 494.1 MB Notification: Performance of Cleanup: time 1.459e-05/0.007161, allocations: 8 kB / 0.6854 GB, free: 3.254 MB / 494.1 MB Notification: Performance of Causalize: time 0.0001252/0.007291, allocations: 76.5 kB / 0.6855 GB, free: 3.172 MB / 494.1 MB Notification: Performance of Tearing: time 7.504e-06/0.007306, allocations: 4.078 kB / 0.6855 GB, free: 3.168 MB / 494.1 MB Notification: Performance of Initialization: time 1.743e-06/0.007312, allocations: 0 / 0.6855 GB, free: 3.168 MB / 494.1 MB Notification: Performance of Tearing: time 2.484e-06/0.007319, allocations: 7.922 kB / 0.6855 GB, free: 3.16 MB / 494.1 MB Notification: Performance of Categorize: time 7.824e-06/0.007331, allocations: 0 / 0.6855 GB, free: 3.16 MB / 494.1 MB Notification: Performance of Solve: time 6.199e-05/0.007396, allocations: 23.98 kB / 0.6856 GB, free: 3.137 MB / 494.1 MB Notification: Performance of Jacobian: time 3.697e-06/0.007406, allocations: 0 / 0.6856 GB, free: 3.137 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 4.222e-05/0.007452, allocations: 16.12 kB / 0.6856 GB, free: 3.129 MB / 494.1 MB Notification: Performance of SimCode: time 0.001071/0.008528, allocations: 0.9524 MB / 0.6865 GB, free: 2.16 MB / 494.1 MB Notification: Performance of Templates: time 0.003966/0.01251, allocations: 1.19 MB / 0.6877 GB, free: 0.9727 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