Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 105.8 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.001101/0.001101, allocations: 184.3 kB / 17.35 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.186/1.186, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2462/0.2462, allocations: 54.96 MB / 325.6 MB, free: 4.836 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.177e-05/2.179e-05, allocations: 7.203 kB / 456.8 MB, free: 2.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.004986/0.005017, allocations: 4.314 MB / 461.1 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2987/0.3038, allocations: 150.3 MB / 0.5971 GB, free: 9.375 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005243/0.3043, allocations: 22.25 kB / 0.5971 GB, free: 9.363 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004095/0.3047, allocations: 136.1 kB / 0.5972 GB, free: 9.254 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-104:25:writable] Warning: Pure function 'Annex60.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3' contains a call to impure function 'Modelica.Utilities.Streams.readLine'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-47:21:writable] Warning: Pure function 'Annex60.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3' contains a call to impure function 'Annex60.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-47:20:writable] Warning: Pure function 'Annex60.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3' contains a call to impure function 'Annex60.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-46:20:writable] Warning: Pure function 'Annex60.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3' contains a call to impure function 'Annex60.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/BoundaryConditions/WeatherData/BaseClasses/getAbsolutePath.mo:2:1-49:20:writable] Warning: Pure function 'Annex60.BoundaryConditions.WeatherData.BaseClasses.getAbsolutePath' contains a call to impure function 'Modelica.Utilities.Files.exist'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.001123/0.3059, allocations: 439.3 kB / 0.5976 GB, free: 8.996 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001325/0.3072, allocations: 0.7743 MB / 0.5984 GB, free: 8.68 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008595/0.3081, allocations: 1.189 MB / 0.5996 GB, free: 8.316 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008563/0.3089, allocations: 0.8815 MB / 0.6004 GB, free: 8.02 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005023/0.3094, allocations: 491.6 kB / 0.6009 GB, free: 7.855 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003911/0.3098, allocations: 0.4899 MB / 0.6014 GB, free: 7.633 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000111/0.31, allocations: 121.8 kB / 0.6015 GB, free: 7.625 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006425/0.3106, allocations: 436.2 kB / 0.6019 GB, free: 7.516 MB / 430.1 MB Notification: Performance of combineBinaries: time 0.001012/0.3116, allocations: 1.713 MB / 0.6036 GB, free: 6.227 MB / 430.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005117/0.3122, allocations: 1.092 MB / 0.6046 GB, free: 5.426 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000151/0.3123, allocations: 193.6 kB / 0.6048 GB, free: 5.32 MB / 430.1 MB Notification: Performance of FrontEnd: time 0.0001254/0.3124, allocations: 52.84 kB / 0.6049 GB, free: 5.293 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 282 (255) * Number of variables: 282 (255) Notification: Performance of Bindings: time 0.003679/0.3161, allocations: 5.054 MB / 0.6098 GB, free: 1.516 MB / 430.1 MB Notification: Performance of FunctionAlias: time 0.0006809/0.3168, allocations: 0.8902 MB / 0.6107 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of Early Inline: time 0.002705/0.3195, allocations: 3.278 MB / 0.6139 GB, free: 14.26 MB / 446.1 MB Notification: Performance of simplify1: time 0.0002336/0.3198, allocations: 244.8 kB / 0.6141 GB, free: 14.08 MB / 446.1 MB Notification: Performance of Alias: time 0.005849/0.3256, allocations: 6.134 MB / 0.6201 GB, free: 7.992 MB / 446.1 MB Notification: Performance of simplify2: time 0.0001336/0.3258, allocations: 143.8 kB / 0.6202 GB, free: 7.852 MB / 446.1 MB Notification: Performance of Events: time 0.0003594/0.3261, allocations: 316.4 kB / 0.6205 GB, free: 7.543 MB / 446.1 MB Notification: Performance of Detect States: time 0.0004028/0.3266, allocations: 453.5 kB / 0.621 GB, free: 7.086 MB / 446.1 MB Notification: Performance of Partitioning: time 0.0005844/0.3272, allocations: 0.6329 MB / 0.6216 GB, free: 6.352 MB / 446.1 MB Notification: Performance of Causalize: time 0.003187/0.3303, allocations: 3.493 MB / 0.625 GB, free: 2.801 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 0.0012/0.3316, allocations: 1.333 MB / 0.6263 GB, free: 1.438 MB / 446.1 MB Notification: Performance of Inline: time 0.002658/0.3342, allocations: 2.897 MB / 0.6291 GB, free: 14.49 MB / 462.1 MB Notification: Performance of Partitioning: time 0.000141/0.3344, allocations: 147.6 kB / 0.6293 GB, free: 14.33 MB / 462.1 MB Notification: Performance of Cleanup: time 0.0001096/0.3345, allocations: 127.8 kB / 0.6294 GB, free: 14.21 MB / 462.1 MB Notification: Performance of Causalize: time 0.0043/0.3388, allocations: 5.22 MB / 0.6345 GB, free: 9.207 MB / 462.1 MB Notification: Performance of Tearing: time 0.0002921/0.3391, allocations: 338.1 kB / 0.6348 GB, free: 8.828 MB / 462.1 MB Notification: Performance of Initialization: time 9.11e-07/0.3391, allocations: 0 / 0.6348 GB, free: 8.828 MB / 462.1 MB Notification: Performance of Tearing: time 0.0002297/0.3393, allocations: 338.2 kB / 0.6351 GB, free: 8.449 MB / 462.1 MB Notification: Performance of Categorize: time 2.12e-05/0.3394, allocations: 7.938 kB / 0.6351 GB, free: 8.441 MB / 462.1 MB Notification: Performance of Solve: time 0.0008576/0.3402, allocations: 0.5806 MB / 0.6357 GB, free: 7.855 MB / 462.1 MB Notification: Performance of Jacobian: time 3.106e-06/0.3403, allocations: 0 / 0.6357 GB, free: 7.855 MB / 462.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: ......... 12 * 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: .................... 2 (2) {weaDat.conTim.tStart, weaDat.conTim1.tStart} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 26 (26) {$SEV_25, $SEV_24, $SEV_23, $SEV_22, $SEV_21, $SEV_20, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_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: ........... 83 (scalar:83, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, if:0, tuple:0) * Number of for-loop strong components: ......... 2 (generic: 2, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 0, nonlinear:1) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 137 (scalar:135, array:0, record:2) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 2 (generic: 2, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 0, nonlinear:1) Notification: Performance of backend: time 5.471e-05/0.3403, allocations: 59.62 kB / 0.6358 GB, free: 7.809 MB / 462.1 MB Notification: Performance of SimCode: time 0.005005/0.3453, allocations: 5.029 MB / 0.6407 GB, free: 2.953 MB / 462.1 MB Notification: Performance of Templates: time 0.01622/0.3616, allocations: 10.96 MB / 0.6514 GB, free: 8.023 MB / 478.1 MB make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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=Annex60_1_0_0_Annex60_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.o Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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=Annex60_1_0_0_Annex60_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_functions.o Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_functions.c Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_functions.c:24:31: error: use of undeclared identifier '_OMC_LIT0' tmpMeta1 = stringAppend(_OMC_LIT0,_uri); ^ Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_functions.c:25:40: error: use of undeclared identifier '_OMC_LIT1' tmpMeta2 = stringAppend(tmpMeta1,_OMC_LIT1); ^ Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_functions.c:96:31: error: use of undeclared identifier '_OMC_LIT2' tmpMeta1 = stringAppend(_OMC_LIT2,_start); ^ Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_functions.c:97:40: error: use of undeclared identifier '_OMC_LIT3' tmpMeta2 = stringAppend(tmpMeta1,_OMC_LIT3); ^ Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_functions.c:98:40: error: use of undeclared identifier '_OMC_LIT4' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT4); ^ Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_functions.c:114:71: error: use of undeclared identifier '_OMC_LIT5' _nexInd = omc_Modelica_Utilities_Strings_find(threadData, _lin, _OMC_LIT5, _nexInd + ((modelica_integer) 1), 1 /* true */); ^ Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_functions.c:119:35: error: use of undeclared identifier '_OMC_LIT6' tmpMeta5 = stringAppend(_OMC_LIT6,_name); ^ Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_functions.c:120:44: error: use of undeclared identifier '_OMC_LIT7' tmpMeta6 = stringAppend(tmpMeta5,_OMC_LIT7); ^ Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_functions.c:121:44: error: use of undeclared identifier '_OMC_LIT8' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT8); ^ Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_functions.c:122:44: error: use of undeclared identifier '_OMC_LIT9' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT9); ^ Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_functions.c:124:45: error: use of undeclared identifier '_OMC_LIT10' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT10); ^ Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_functions.c:136:67: error: use of undeclared identifier '_OMC_LIT5' _nexInd = omc_Modelica_Utilities_Strings_find(threadData, _lin, _OMC_LIT5, _nexInd + ((modelica_integer) 1), 1 /* true */); ^ Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_functions.c:141:32: error: use of undeclared identifier '_OMC_LIT6' tmpMeta15 = stringAppend(_OMC_LIT6,_name); ^ Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_functions.c:142:42: error: use of undeclared identifier '_OMC_LIT7' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT7); ^ Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_functions.c:143:42: error: use of undeclared identifier '_OMC_LIT8' tmpMeta17 = stringAppend(tmpMeta16,_OMC_LIT8); ^ Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_functions.c:144:42: error: use of undeclared identifier '_OMC_LIT9' tmpMeta18 = stringAppend(tmpMeta17,_OMC_LIT9); ^ Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_functions.c:146:42: error: use of undeclared identifier '_OMC_LIT10' tmpMeta20 = stringAppend(tmpMeta19,_OMC_LIT10); ^ Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_functions.c:190:111: error: use of undeclared identifier '_OMC_LIT14' _element = omc_Annex60_BoundaryConditions_WeatherData_BaseClasses_getHeaderElementTMY3(threadData, _filNam, _OMC_LIT14, _OMC_LIT15, ((modelica_integer) 7)); ^ Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_functions.c:190:123: error: use of undeclared identifier '_OMC_LIT15' _element = omc_Annex60_BoundaryConditions_WeatherData_BaseClasses_getHeaderElementTMY3(threadData, _filNam, _OMC_LIT14, _OMC_LIT15, ((modelica_integer) 7)); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_functions.o] Error 1