Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.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.WallSolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth") translateModel(Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 107.3 kB / 16.42 MB, free: 5.973 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.001082/0.001082, allocations: 191.3 kB / 17.36 MB, free: 5.566 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.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.243/0.243, allocations: 54.96 MB / 325.5 MB, free: 4.848 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.892e-05/1.891e-05, allocations: 8.984 kB / 456.8 MB, free: 2.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.004679/0.004707, allocations: 4.146 MB / 461 MB, free: 14.53 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.3052/0.3099, allocations: 150.2 MB / 0.5968 GB, free: 9.469 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005105/0.3104, allocations: 13.5 kB / 0.5969 GB, free: 9.465 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003948/0.3108, allocations: 122.9 kB / 0.597 GB, free: 9.363 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.001114/0.312, allocations: 452.7 kB / 0.5974 GB, free: 9.102 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001248/0.3132, allocations: 0.7653 MB / 0.5982 GB, free: 8.785 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007732/0.314, allocations: 1.13 MB / 0.5993 GB, free: 8.441 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006381/0.3147, allocations: 0.6375 MB / 0.5999 GB, free: 8.254 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003908/0.3151, allocations: 441.8 kB / 0.6003 GB, free: 8.105 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000335/0.3154, allocations: 437.4 kB / 0.6007 GB, free: 7.91 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.707e-05/0.3155, allocations: 93.06 kB / 0.6008 GB, free: 7.91 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004735/0.316, allocations: 417.1 kB / 0.6012 GB, free: 7.824 MB / 430.1 MB Notification: Performance of combineBinaries: time 0.0007673/0.3167, allocations: 1.456 MB / 0.6026 GB, free: 6.922 MB / 430.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004022/0.3172, allocations: 0.9148 MB / 0.6035 GB, free: 6.281 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001229/0.3173, allocations: 166.2 kB / 0.6037 GB, free: 6.215 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.989e-05/0.3174, allocations: 44.16 kB / 0.6037 GB, free: 6.191 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: 230 (203) * Number of variables: 230 (203) Notification: Performance of Bindings: time 0.002975/0.3204, allocations: 4.225 MB / 0.6078 GB, free: 3.023 MB / 430.1 MB Notification: Performance of FunctionAlias: time 0.0005106/0.3209, allocations: 0.5467 MB / 0.6084 GB, free: 2.652 MB / 430.1 MB Notification: Performance of Early Inline: time 0.002303/0.3232, allocations: 2.843 MB / 0.6112 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of simplify1: time 0.0001782/0.3234, allocations: 224.2 kB / 0.6114 GB, free: 344 kB / 430.1 MB Notification: Performance of Alias: time 0.004425/0.3278, allocations: 5.031 MB / 0.6163 GB, free: 12.08 MB / 446.1 MB Notification: Performance of simplify2: time 0.000131/0.328, allocations: 155.8 kB / 0.6164 GB, free: 11.93 MB / 446.1 MB Notification: Performance of Events: time 0.0003413/0.3283, allocations: 307.9 kB / 0.6167 GB, free: 11.62 MB / 446.1 MB Notification: Performance of Detect States: time 0.0004088/0.3287, allocations: 451.2 kB / 0.6172 GB, free: 11.16 MB / 446.1 MB Notification: Performance of Partitioning: time 0.0005855/0.3293, allocations: 0.6346 MB / 0.6178 GB, free: 10.43 MB / 446.1 MB Notification: Performance of Causalize: time 0.003226/0.3326, allocations: 3.563 MB / 0.6213 GB, free: 6.816 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 0.001167/0.3337, allocations: 1.344 MB / 0.6226 GB, free: 5.441 MB / 446.1 MB Notification: Performance of Inline: time 0.002488/0.3362, allocations: 2.784 MB / 0.6253 GB, free: 2.609 MB / 446.1 MB Notification: Performance of Partitioning: time 0.0001314/0.3364, allocations: 131.6 kB / 0.6254 GB, free: 2.465 MB / 446.1 MB Notification: Performance of Cleanup: time 0.0001144/0.3365, allocations: 127.8 kB / 0.6255 GB, free: 2.34 MB / 446.1 MB Notification: Performance of Causalize: time 0.004159/0.3407, allocations: 4.928 MB / 0.6303 GB, free: 13.61 MB / 462.1 MB Notification: Performance of Tearing: time 0.0002868/0.341, allocations: 334.4 kB / 0.6307 GB, free: 13.24 MB / 462.1 MB Notification: Performance of Initialization: time 6.11e-07/0.341, allocations: 0 / 0.6307 GB, free: 13.24 MB / 462.1 MB Notification: Performance of Tearing: time 0.0002164/0.3412, allocations: 334.2 kB / 0.631 GB, free: 12.86 MB / 462.1 MB Notification: Performance of Categorize: time 1.907e-05/0.3412, allocations: 7.938 kB / 0.631 GB, free: 12.86 MB / 462.1 MB Notification: Performance of Solve: time 0.0008017/0.342, allocations: 0.565 MB / 0.6315 GB, free: 12.28 MB / 462.1 MB Notification: Performance of Jacobian: time 2.795e-06/0.342, allocations: 7.938 kB / 0.6315 GB, free: 12.27 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: ........... 90 (scalar:90, 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: ........... 133 (scalar:131, 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.671e-05/0.3421, allocations: 52.22 kB / 0.6316 GB, free: 12.23 MB / 462.1 MB Notification: Performance of SimCode: time 0.004346/0.3464, allocations: 4.608 MB / 0.6361 GB, free: 7.801 MB / 462.1 MB Notification: Performance of Templates: time 0.01505/0.3615, allocations: 10.78 MB / 0.6466 GB, free: 13.05 MB / 478.1 MB make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.makefile make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.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_WallSolarAzimuth -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.WallSolarAzimuth.o Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.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_WallSolarAzimuth -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.WallSolarAzimuth_functions.o Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth_functions.c Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth_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.WallSolarAzimuth_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.WallSolarAzimuth_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.WallSolarAzimuth_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.WallSolarAzimuth_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.WallSolarAzimuth_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.WallSolarAzimuth_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.WallSolarAzimuth_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.WallSolarAzimuth_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.WallSolarAzimuth_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.WallSolarAzimuth_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.WallSolarAzimuth_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.WallSolarAzimuth_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.WallSolarAzimuth_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.WallSolarAzimuth_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.WallSolarAzimuth_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.WallSolarAzimuth_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.WallSolarAzimuth_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.WallSolarAzimuth_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.WallSolarAzimuth_functions.o] Error 1