Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 107.8 kB / 16.42 MB, free: 6.5 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.001104/0.001104, allocations: 188.9 kB / 17.35 MB, free: 5.754 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.166/1.166, 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.2471/0.2471, allocations: 54.96 MB / 325.5 MB, free: 4.859 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.841e-05/1.843e-05, allocations: 2.281 kB / 456.8 MB, free: 2.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.004676/0.004702, allocations: 3.959 MB / 460.8 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.3026/0.3073, allocations: 150.2 MB / 0.5966 GB, free: 9.703 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004733/0.3078, allocations: 13.78 kB / 0.5966 GB, free: 9.699 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004042/0.3082, allocations: 114.7 kB / 0.5967 GB, free: 9.605 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.001076/0.3093, allocations: 411.8 kB / 0.5971 GB, free: 9.363 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001219/0.3105, allocations: 0.7581 MB / 0.5979 GB, free: 9.051 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007279/0.3112, allocations: 1.049 MB / 0.5989 GB, free: 8.727 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005731/0.3118, allocations: 0.5564 MB / 0.5994 GB, free: 8.559 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003563/0.3122, allocations: 376 kB / 0.5998 GB, free: 8.438 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002941/0.3125, allocations: 376.6 kB / 0.6001 GB, free: 8.27 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.567e-05/0.3126, allocations: 76.16 kB / 0.6002 GB, free: 8.27 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004677/0.313, allocations: 402.6 kB / 0.6006 GB, free: 8.184 MB / 430.1 MB Notification: Performance of combineBinaries: time 0.0007216/0.3138, allocations: 1.254 MB / 0.6018 GB, free: 7.406 MB / 430.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003585/0.3141, allocations: 0.7839 MB / 0.6026 GB, free: 6.859 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.3142, allocations: 149.5 kB / 0.6027 GB, free: 6.824 MB / 430.1 MB Notification: Performance of FrontEnd: time 8.921e-05/0.3143, allocations: 41.16 kB / 0.6028 GB, free: 6.801 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: 195 (168) * Number of variables: 195 (168) Notification: Performance of Bindings: time 0.002597/0.3169, allocations: 3.612 MB / 0.6063 GB, free: 4.199 MB / 430.1 MB Notification: Performance of FunctionAlias: time 0.000402/0.3174, allocations: 397.5 kB / 0.6067 GB, free: 3.922 MB / 430.1 MB Notification: Performance of Early Inline: time 0.002018/0.3194, allocations: 2.404 MB / 0.609 GB, free: 2.098 MB / 430.1 MB Notification: Performance of simplify1: time 0.0001528/0.3195, allocations: 189.4 kB / 0.6092 GB, free: 1.969 MB / 430.1 MB Notification: Performance of Alias: time 0.003669/0.3232, allocations: 4.091 MB / 0.6132 GB, free: 15.22 MB / 446.1 MB Notification: Performance of simplify2: time 0.000121/0.3233, allocations: 137.6 kB / 0.6133 GB, free: 15.15 MB / 446.1 MB Notification: Performance of Events: time 0.0003345/0.3237, allocations: 306.6 kB / 0.6136 GB, free: 14.89 MB / 446.1 MB Notification: Performance of Detect States: time 0.0003959/0.3241, allocations: 413.5 kB / 0.614 GB, free: 14.48 MB / 446.1 MB Notification: Performance of Partitioning: time 0.0005436/0.3246, allocations: 0.5749 MB / 0.6146 GB, free: 13.8 MB / 446.1 MB Notification: Performance of Causalize: time 0.002925/0.3276, allocations: 3.183 MB / 0.6177 GB, free: 10.56 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 0.001048/0.3286, allocations: 1.201 MB / 0.6189 GB, free: 9.332 MB / 446.1 MB Notification: Performance of Inline: time 0.002218/0.3309, allocations: 2.451 MB / 0.6213 GB, free: 6.84 MB / 446.1 MB Notification: Performance of Partitioning: time 0.000116/0.331, allocations: 111.6 kB / 0.6214 GB, free: 6.723 MB / 446.1 MB Notification: Performance of Cleanup: time 0.0001071/0.3311, allocations: 111.8 kB / 0.6215 GB, free: 6.613 MB / 446.1 MB Notification: Performance of Causalize: time 0.003577/0.3347, allocations: 4.258 MB / 0.6256 GB, free: 2.543 MB / 446.1 MB Notification: Performance of Tearing: time 0.0002891/0.335, allocations: 334.5 kB / 0.626 GB, free: 2.168 MB / 446.1 MB Notification: Performance of Initialization: time 1.894e-06/0.335, allocations: 0 / 0.626 GB, free: 2.168 MB / 446.1 MB Notification: Performance of Tearing: time 0.0002159/0.3352, allocations: 338.1 kB / 0.6263 GB, free: 1.789 MB / 446.1 MB Notification: Performance of Categorize: time 1.46e-05/0.3352, allocations: 8 kB / 0.6263 GB, free: 1.781 MB / 446.1 MB Notification: Performance of Solve: time 0.0007017/0.3359, allocations: 0.5061 MB / 0.6268 GB, free: 1.273 MB / 446.1 MB Notification: Performance of Jacobian: time 2.645e-06/0.336, allocations: 4 kB / 0.6268 GB, free: 1.27 MB / 446.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: ........... 79 (scalar:79, 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: ........... 115 (scalar:113, 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 4.582e-05/0.336, allocations: 50.47 kB / 0.6268 GB, free: 1.23 MB / 446.1 MB Notification: Performance of SimCode: time 0.004058/0.3401, allocations: 4.278 MB / 0.631 GB, free: 13.14 MB / 462.1 MB Notification: Performance of Templates: time 0.01456/0.3546, allocations: 10.13 MB / 0.6409 GB, free: 3.043 MB / 462.1 MB make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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_BaseClasses_Examples_AltitudeAngle -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.BaseClasses.Examples.AltitudeAngle.o Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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_BaseClasses_Examples_AltitudeAngle -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.BaseClasses.Examples.AltitudeAngle_functions.o Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_functions.c Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_functions.c:24:31: error: use of undeclared identifier '_OMC_LIT0' tmpMeta1 = stringAppend(_OMC_LIT0,_uri); ^ Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_functions.c:25:40: error: use of undeclared identifier '_OMC_LIT1' tmpMeta2 = stringAppend(tmpMeta1,_OMC_LIT1); ^ Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_functions.c:96:31: error: use of undeclared identifier '_OMC_LIT2' tmpMeta1 = stringAppend(_OMC_LIT2,_start); ^ Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_functions.c:97:40: error: use of undeclared identifier '_OMC_LIT3' tmpMeta2 = stringAppend(tmpMeta1,_OMC_LIT3); ^ Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_functions.c:98:40: error: use of undeclared identifier '_OMC_LIT4' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT4); ^ Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_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.BaseClasses.Examples.AltitudeAngle_functions.c:119:35: error: use of undeclared identifier '_OMC_LIT6' tmpMeta5 = stringAppend(_OMC_LIT6,_name); ^ Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_functions.c:120:44: error: use of undeclared identifier '_OMC_LIT7' tmpMeta6 = stringAppend(tmpMeta5,_OMC_LIT7); ^ Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_functions.c:121:44: error: use of undeclared identifier '_OMC_LIT8' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT8); ^ Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_functions.c:122:44: error: use of undeclared identifier '_OMC_LIT9' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT9); ^ Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_functions.c:124:45: error: use of undeclared identifier '_OMC_LIT10' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT10); ^ Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_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.BaseClasses.Examples.AltitudeAngle_functions.c:141:32: error: use of undeclared identifier '_OMC_LIT6' tmpMeta15 = stringAppend(_OMC_LIT6,_name); ^ Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_functions.c:142:42: error: use of undeclared identifier '_OMC_LIT7' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT7); ^ Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_functions.c:143:42: error: use of undeclared identifier '_OMC_LIT8' tmpMeta17 = stringAppend(tmpMeta16,_OMC_LIT8); ^ Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_functions.c:144:42: error: use of undeclared identifier '_OMC_LIT9' tmpMeta18 = stringAppend(tmpMeta17,_OMC_LIT9); ^ Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_functions.c:146:42: error: use of undeclared identifier '_OMC_LIT10' tmpMeta20 = stringAppend(tmpMeta19,_OMC_LIT10); ^ Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_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.BaseClasses.Examples.AltitudeAngle_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.BaseClasses.Examples.AltitudeAngle_functions.o] Error 1