Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.Examples.ReaderTMY3.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.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.Examples.ReaderTMY3") translateModel(Annex60.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.Examples.ReaderTMY3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 105.7 kB / 16.42 MB, free: 6.516 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.001093/0.001093, 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 3.2.3+maint.om/package.mo): time 1.151/1.151, 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.2455/0.2455, allocations: 54.96 MB / 325.6 MB, free: 4.852 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.78e-05/1.78e-05, allocations: 6.219 kB / 456.8 MB, free: 2.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.006538/0.006563, allocations: 5.839 MB / 462.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.3042/0.3108, allocations: 152.8 MB / 0.601 GB, free: 6.883 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006481/0.3115, allocations: 23.12 kB / 0.601 GB, free: 6.875 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005306/0.312, allocations: 213.8 kB / 0.6012 GB, free: 6.699 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.001352/0.3134, allocations: 0.5852 MB / 0.6018 GB, free: 6.316 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001978/0.3154, allocations: 1.204 MB / 0.603 GB, free: 5.824 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0015/0.3169, allocations: 2.01 MB / 0.6049 GB, free: 4.637 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009806/0.3179, allocations: 0.9537 MB / 0.6059 GB, free: 4.031 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006586/0.3186, allocations: 0.6638 MB / 0.6065 GB, free: 3.633 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000561/0.3191, allocations: 0.6529 MB / 0.6072 GB, free: 3.176 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001348/0.3193, allocations: 133.2 kB / 0.6073 GB, free: 3.176 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001044/0.3203, allocations: 0.8374 MB / 0.6081 GB, free: 2.789 MB / 430.1 MB Notification: Performance of combineBinaries: time 0.001299/0.3216, allocations: 2.231 MB / 0.6103 GB, free: 1.156 MB / 430.1 MB Notification: Performance of replaceArrayConstructors: time 0.0006743/0.3223, allocations: 1.402 MB / 0.6116 GB, free: 136 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002168/0.3225, allocations: 257.1 kB / 0.6119 GB, free: 15.99 MB / 446.1 MB Notification: Performance of FrontEnd: time 0.000176/0.3227, allocations: 73.97 kB / 0.612 GB, free: 15.95 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 330 (276) * Number of variables: 330 (276) Notification: Performance of Bindings: time 0.004504/0.3272, allocations: 6.256 MB / 0.6181 GB, free: 10.57 MB / 446.1 MB Notification: Performance of FunctionAlias: time 0.0009575/0.3282, allocations: 1.084 MB / 0.6191 GB, free: 9.453 MB / 446.1 MB Notification: Performance of Early Inline: time 0.003742/0.332, allocations: 4.269 MB / 0.6233 GB, free: 5.121 MB / 446.1 MB Notification: Performance of simplify1: time 0.0003171/0.3323, allocations: 343.6 kB / 0.6236 GB, free: 4.785 MB / 446.1 MB Notification: Performance of Alias: time 0.006398/0.3387, allocations: 6.77 MB / 0.6302 GB, free: 13.35 MB / 462.1 MB Notification: Performance of simplify2: time 0.0002728/0.339, allocations: 263.7 kB / 0.6305 GB, free: 13.09 MB / 462.1 MB Notification: Performance of Events: time 0.0008257/0.3398, allocations: 0.7666 MB / 0.6312 GB, free: 12.31 MB / 462.1 MB Notification: Performance of Detect States: time 0.0008404/0.3407, allocations: 0.7996 MB / 0.632 GB, free: 11.5 MB / 462.1 MB Notification: Performance of Partitioning: time 0.001072/0.3417, allocations: 1.174 MB / 0.6332 GB, free: 10.11 MB / 462.1 MB Notification: Performance of Causalize: time 0.00572/0.3475, allocations: 6.362 MB / 0.6394 GB, free: 3.613 MB / 462.1 MB Notification: Performance of After Index Reduction Inline: time 0.002188/0.3497, allocations: 2.429 MB / 0.6417 GB, free: 1.148 MB / 462.1 MB Notification: Performance of Inline: time 0.004574/0.3542, allocations: 4.959 MB / 0.6466 GB, free: 12.1 MB / 478.1 MB Notification: Performance of Partitioning: time 0.0002076/0.3545, allocations: 203.6 kB / 0.6468 GB, free: 11.89 MB / 478.1 MB Notification: Performance of Cleanup: time 0.0002148/0.3547, allocations: 223.5 kB / 0.647 GB, free: 11.67 MB / 478.1 MB Notification: Performance of Causalize: time 0.007551/0.3622, allocations: 8.831 MB / 0.6556 GB, free: 3.434 MB / 478.1 MB Notification: Performance of Tearing: time 0.0005217/0.3628, allocations: 0.6529 MB / 0.6563 GB, free: 2.684 MB / 478.1 MB Notification: Performance of Initialization: time 5.61e-07/0.3628, allocations: 0 / 0.6563 GB, free: 2.684 MB / 478.1 MB Notification: Performance of Tearing: time 0.0004626/0.3633, allocations: 0.6567 MB / 0.6569 GB, free: 1.93 MB / 478.1 MB Notification: Performance of Categorize: time 3.381e-05/0.3633, allocations: 11.94 kB / 0.6569 GB, free: 1.918 MB / 478.1 MB Notification: Performance of Solve: time 0.001498/0.3648, allocations: 1.003 MB / 0.6579 GB, free: 0.9102 MB / 478.1 MB Notification: Performance of Jacobian: time 2.905e-06/0.3648, allocations: 4 kB / 0.6579 GB, free: 0.9062 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: ......... 27 * 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: .................... 4 (4) {weaDatInpCon.conTim.tStart, weaDatInpCon.conTim1.tStart, weaDat.conTim.tStart, weaDat.conTim1.tStart} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 60 (60) {$SEV_59, $SEV_58, $SEV_57, $SEV_56, $SEV_55, $SEV_54, $SEV_53, $SEV_52, $SEV_51, $SEV_50, $SEV_49, $SEV_48, $SEV_47, $SEV_46, $SEV_45, $SEV_44, $SEV_43, $SEV_42, $SEV_41, $SEV_40, $SEV_39, $SEV_38, $SEV_37, $SEV_36, $SEV_35, $SEV_34, $SEV_33, $SEV_32, $SEV_31, $SEV_30, $SEV_29, $SEV_28, $SEV_27, $SEV_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: ........... 153 (scalar:153, array:0, record:0) * Number of multi strong components: ............ 4 (algorithm:0, when:4, if:0, tuple:0) * Number of for-loop strong components: ......... 4 (generic: 4, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 0, nonlinear:2) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 227 (scalar:223, array:0, record:4) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 4 (generic: 4, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 0, nonlinear:2) Notification: Performance of backend: time 6.978e-05/0.3649, allocations: 84.23 kB / 0.658 GB, free: 0.832 MB / 478.1 MB Notification: Performance of SimCode: time 0.007086/0.372, allocations: 6.994 MB / 0.6648 GB, free: 9.973 MB / 494.1 MB Notification: Performance of Templates: time 0.0257/0.3977, allocations: 18.36 MB / 0.6827 GB, free: 7.621 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.Examples.ReaderTMY3.makefile make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.Examples.ReaderTMY3.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_WeatherData_Examples_ReaderTMY3 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.Examples.ReaderTMY3.o Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.Examples.ReaderTMY3.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_WeatherData_Examples_ReaderTMY3 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.Examples.ReaderTMY3_functions.o Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.Examples.ReaderTMY3_functions.c Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.Examples.ReaderTMY3_functions.c:24:31: error: use of undeclared identifier '_OMC_LIT0' tmpMeta1 = stringAppend(_OMC_LIT0,_uri); ^ Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.Examples.ReaderTMY3_functions.c:25:40: error: use of undeclared identifier '_OMC_LIT1' tmpMeta2 = stringAppend(tmpMeta1,_OMC_LIT1); ^ Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.Examples.ReaderTMY3_functions.c:96:31: error: use of undeclared identifier '_OMC_LIT2' tmpMeta1 = stringAppend(_OMC_LIT2,_start); ^ Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.Examples.ReaderTMY3_functions.c:97:40: error: use of undeclared identifier '_OMC_LIT3' tmpMeta2 = stringAppend(tmpMeta1,_OMC_LIT3); ^ Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.Examples.ReaderTMY3_functions.c:98:40: error: use of undeclared identifier '_OMC_LIT4' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT4); ^ Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.Examples.ReaderTMY3_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.WeatherData.Examples.ReaderTMY3_functions.c:119:35: error: use of undeclared identifier '_OMC_LIT6' tmpMeta5 = stringAppend(_OMC_LIT6,_name); ^ Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.Examples.ReaderTMY3_functions.c:120:44: error: use of undeclared identifier '_OMC_LIT7' tmpMeta6 = stringAppend(tmpMeta5,_OMC_LIT7); ^ Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.Examples.ReaderTMY3_functions.c:121:44: error: use of undeclared identifier '_OMC_LIT8' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT8); ^ Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.Examples.ReaderTMY3_functions.c:122:44: error: use of undeclared identifier '_OMC_LIT9' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT9); ^ Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.Examples.ReaderTMY3_functions.c:124:45: error: use of undeclared identifier '_OMC_LIT10' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT10); ^ Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.Examples.ReaderTMY3_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.WeatherData.Examples.ReaderTMY3_functions.c:141:32: error: use of undeclared identifier '_OMC_LIT6' tmpMeta15 = stringAppend(_OMC_LIT6,_name); ^ Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.Examples.ReaderTMY3_functions.c:142:42: error: use of undeclared identifier '_OMC_LIT7' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT7); ^ Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.Examples.ReaderTMY3_functions.c:143:42: error: use of undeclared identifier '_OMC_LIT8' tmpMeta17 = stringAppend(tmpMeta16,_OMC_LIT8); ^ Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.Examples.ReaderTMY3_functions.c:144:42: error: use of undeclared identifier '_OMC_LIT9' tmpMeta18 = stringAppend(tmpMeta17,_OMC_LIT9); ^ Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.Examples.ReaderTMY3_functions.c:146:42: error: use of undeclared identifier '_OMC_LIT10' tmpMeta20 = stringAppend(tmpMeta19,_OMC_LIT10); ^ Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.Examples.ReaderTMY3_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.WeatherData.Examples.ReaderTMY3_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.WeatherData.Examples.ReaderTMY3_functions.o] Error 1