Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(Annex60.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 104.6 kB / 16.42 MB, free: 5.957 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.001084/0.001084, allocations: 185.5 kB / 17.36 MB, free: 5.574 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.158/1.158, 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.2476/0.2476, allocations: 54.96 MB / 325.5 MB, free: 4.844 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.69e-05/1.691e-05, allocations: 9.453 kB / 456.8 MB, free: 2.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.005422/0.005447, allocations: 4.788 MB / 461.6 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.3143/0.3197, allocations: 150.5 MB / 0.5978 GB, free: 8.887 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001458/0.3213, allocations: 16.19 kB / 0.5978 GB, free: 8.883 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008922/0.3222, allocations: 148.8 kB / 0.5979 GB, free: 8.758 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.001803/0.324, allocations: 0.5339 MB / 0.5984 GB, free: 8.43 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001761/0.3258, allocations: 0.8454 MB / 0.5993 GB, free: 8.082 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001438/0.3272, allocations: 1.484 MB / 0.6007 GB, free: 7.629 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001062/0.3283, allocations: 1.011 MB / 0.6017 GB, free: 7.289 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007462/0.3291, allocations: 0.6232 MB / 0.6023 GB, free: 6.973 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006861/0.3298, allocations: 0.6588 MB / 0.603 GB, free: 6.48 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001359/0.3299, allocations: 145.6 kB / 0.6031 GB, free: 6.48 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006324/0.3305, allocations: 470.1 kB / 0.6035 GB, free: 6.32 MB / 430.1 MB Notification: Performance of combineBinaries: time 0.001164/0.3317, allocations: 2.142 MB / 0.6056 GB, free: 4.715 MB / 430.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005872/0.3323, allocations: 1.34 MB / 0.6069 GB, free: 3.73 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001932/0.3325, allocations: 238.3 kB / 0.6072 GB, free: 3.598 MB / 430.1 MB Notification: Performance of FrontEnd: time 0.0001643/0.3327, allocations: 61.47 kB / 0.6072 GB, free: 3.566 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: 348 (321) * Number of variables: 348 (321) Notification: Performance of Bindings: time 0.00455/0.3372, allocations: 6.476 MB / 0.6136 GB, free: 14.75 MB / 446.1 MB Notification: Performance of FunctionAlias: time 0.001308/0.3386, allocations: 1.536 MB / 0.6151 GB, free: 13.68 MB / 446.1 MB Notification: Performance of Early Inline: time 0.003905/0.3425, allocations: 4.585 MB / 0.6195 GB, free: 9.039 MB / 446.1 MB Notification: Performance of simplify1: time 0.000306/0.3428, allocations: 363.6 kB / 0.6199 GB, free: 8.684 MB / 446.1 MB Notification: Performance of Alias: time 0.008044/0.3508, allocations: 8.46 MB / 0.6281 GB, free: 15.57 MB / 462.1 MB Notification: Performance of simplify2: time 0.0002361/0.3511, allocations: 220.2 kB / 0.6284 GB, free: 15.36 MB / 462.1 MB Notification: Performance of Events: time 0.0004994/0.3516, allocations: 486.5 kB / 0.6288 GB, free: 14.87 MB / 462.1 MB Notification: Performance of Detect States: time 0.0005517/0.3522, allocations: 0.6162 MB / 0.6294 GB, free: 14.23 MB / 462.1 MB Notification: Performance of Partitioning: time 0.0008706/0.353, allocations: 0.919 MB / 0.6303 GB, free: 13.21 MB / 462.1 MB Notification: Performance of Causalize: time 0.004521/0.3576, allocations: 5.219 MB / 0.6354 GB, free: 7.988 MB / 462.1 MB Notification: Performance of After Index Reduction Inline: time 0.001692/0.3593, allocations: 1.959 MB / 0.6373 GB, free: 5.992 MB / 462.1 MB Notification: Performance of Inline: time 0.003878/0.3632, allocations: 4.136 MB / 0.6414 GB, free: 1.793 MB / 462.1 MB Notification: Performance of Partitioning: time 0.0002095/0.3634, allocations: 179.6 kB / 0.6415 GB, free: 1.602 MB / 462.1 MB Notification: Performance of Cleanup: time 0.0001764/0.3636, allocations: 183.7 kB / 0.6417 GB, free: 1.422 MB / 462.1 MB Notification: Performance of Causalize: time 0.006168/0.3697, allocations: 7.452 MB / 0.649 GB, free: 10.46 MB / 478.1 MB Notification: Performance of Tearing: time 0.0003089/0.3701, allocations: 338 kB / 0.6493 GB, free: 10.08 MB / 478.1 MB Notification: Performance of Initialization: time 6.52e-07/0.3701, allocations: 0 / 0.6493 GB, free: 10.08 MB / 478.1 MB Notification: Performance of Tearing: time 0.0002283/0.3703, allocations: 330.5 kB / 0.6496 GB, free: 9.707 MB / 478.1 MB Notification: Performance of Categorize: time 2.563e-05/0.3703, allocations: 4 kB / 0.6496 GB, free: 9.703 MB / 478.1 MB Notification: Performance of Solve: time 0.001165/0.3715, allocations: 0.7574 MB / 0.6504 GB, free: 8.938 MB / 478.1 MB Notification: Performance of Jacobian: time 3.246e-06/0.3715, allocations: 0 / 0.6504 GB, free: 8.938 MB / 478.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: ........... 136 (scalar:136, 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: ........... 199 (scalar:197, 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 6.024e-05/0.3716, allocations: 66.88 kB / 0.6504 GB, free: 8.883 MB / 478.1 MB Notification: Performance of SimCode: time 0.005655/0.3773, allocations: 6.071 MB / 0.6564 GB, free: 2.945 MB / 478.1 MB Notification: Performance of Templates: time 0.01937/0.3966, allocations: 13.66 MB / 0.6697 GB, free: 5.301 MB / 494.1 MB make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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_SolarGeometry_Examples_IncidenceAngle -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.SolarGeometry.Examples.IncidenceAngle.o Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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_SolarGeometry_Examples_IncidenceAngle -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.SolarGeometry.Examples.IncidenceAngle_functions.o Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_functions.c Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_functions.c:24:31: error: use of undeclared identifier '_OMC_LIT0' tmpMeta1 = stringAppend(_OMC_LIT0,_uri); ^ Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_functions.c:25:40: error: use of undeclared identifier '_OMC_LIT1' tmpMeta2 = stringAppend(tmpMeta1,_OMC_LIT1); ^ Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_functions.c:96:31: error: use of undeclared identifier '_OMC_LIT2' tmpMeta1 = stringAppend(_OMC_LIT2,_start); ^ Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_functions.c:97:40: error: use of undeclared identifier '_OMC_LIT3' tmpMeta2 = stringAppend(tmpMeta1,_OMC_LIT3); ^ Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_functions.c:98:40: error: use of undeclared identifier '_OMC_LIT4' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT4); ^ Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_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.SolarGeometry.Examples.IncidenceAngle_functions.c:119:35: error: use of undeclared identifier '_OMC_LIT6' tmpMeta5 = stringAppend(_OMC_LIT6,_name); ^ Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_functions.c:120:44: error: use of undeclared identifier '_OMC_LIT7' tmpMeta6 = stringAppend(tmpMeta5,_OMC_LIT7); ^ Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_functions.c:121:44: error: use of undeclared identifier '_OMC_LIT8' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT8); ^ Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_functions.c:122:44: error: use of undeclared identifier '_OMC_LIT9' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT9); ^ Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_functions.c:124:45: error: use of undeclared identifier '_OMC_LIT10' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT10); ^ Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_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.SolarGeometry.Examples.IncidenceAngle_functions.c:141:32: error: use of undeclared identifier '_OMC_LIT6' tmpMeta15 = stringAppend(_OMC_LIT6,_name); ^ Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_functions.c:142:42: error: use of undeclared identifier '_OMC_LIT7' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT7); ^ Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_functions.c:143:42: error: use of undeclared identifier '_OMC_LIT8' tmpMeta17 = stringAppend(tmpMeta16,_OMC_LIT8); ^ Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_functions.c:144:42: error: use of undeclared identifier '_OMC_LIT9' tmpMeta18 = stringAppend(tmpMeta17,_OMC_LIT9); ^ Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_functions.c:146:42: error: use of undeclared identifier '_OMC_LIT10' tmpMeta20 = stringAppend(tmpMeta19,_OMC_LIT10); ^ Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_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.SolarGeometry.Examples.IncidenceAngle_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.SolarGeometry.Examples.IncidenceAngle_functions.o] Error 1