Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.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.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") translateModel(Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 108 kB / 16.42 MB, free: 5.984 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.001074/0.001074, allocations: 186.2 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.16/1.16, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2466/0.2466, allocations: 54.96 MB / 325.5 MB, free: 4.844 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.214e-05/1.215e-05, allocations: 2.281 kB / 456.8 MB, free: 2.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.004421/0.004441, allocations: 3.92 MB / 460.7 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.3073/0.3118, allocations: 150.1 MB / 0.5965 GB, free: 9.707 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004537/0.3123, allocations: 13.22 kB / 0.5966 GB, free: 9.703 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003628/0.3126, allocations: 115.2 kB / 0.5967 GB, free: 9.609 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.001015/0.3137, allocations: 403.1 kB / 0.5971 GB, free: 9.375 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001247/0.3149, allocations: 0.7484 MB / 0.5978 GB, free: 9.066 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006868/0.3156, allocations: 1.02 MB / 0.5988 GB, free: 8.754 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005485/0.3162, allocations: 0.5441 MB / 0.5993 GB, free: 8.586 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003456/0.3165, allocations: 373.1 kB / 0.5997 GB, free: 8.461 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002852/0.3168, allocations: 356.5 kB / 0.6 GB, free: 8.305 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.473e-05/0.3169, allocations: 79.34 kB / 0.6001 GB, free: 8.301 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005047/0.3174, allocations: 399.1 kB / 0.6005 GB, free: 8.219 MB / 430.1 MB Notification: Performance of combineBinaries: time 0.0006562/0.3181, allocations: 1.231 MB / 0.6017 GB, free: 7.457 MB / 430.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003358/0.3184, allocations: 0.7752 MB / 0.6024 GB, free: 6.914 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.3185, allocations: 140.1 kB / 0.6026 GB, free: 6.883 MB / 430.1 MB Notification: Performance of FrontEnd: time 0.0001028/0.3186, allocations: 38.03 kB / 0.6026 GB, free: 6.863 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: 191 (164) * Number of variables: 191 (164) Notification: Performance of Bindings: time 0.00249/0.3211, allocations: 3.638 MB / 0.6061 GB, free: 4.285 MB / 430.1 MB Notification: Performance of FunctionAlias: time 0.0002768/0.3214, allocations: 252.3 kB / 0.6064 GB, free: 4.102 MB / 430.1 MB Notification: Performance of Early Inline: time 0.001896/0.3233, allocations: 2.322 MB / 0.6087 GB, free: 2.336 MB / 430.1 MB Notification: Performance of simplify1: time 0.0001528/0.3235, allocations: 187 kB / 0.6088 GB, free: 2.207 MB / 430.1 MB Notification: Performance of Alias: time 0.003488/0.327, allocations: 3.936 MB / 0.6127 GB, free: 15.56 MB / 446.1 MB Notification: Performance of simplify2: time 0.0001129/0.3271, allocations: 127.3 kB / 0.6128 GB, free: 15.5 MB / 446.1 MB Notification: Performance of Events: time 0.0003259/0.3274, allocations: 308.8 kB / 0.6131 GB, free: 15.28 MB / 446.1 MB Notification: Performance of Detect States: time 0.0003762/0.3278, allocations: 402.3 kB / 0.6135 GB, free: 14.96 MB / 446.1 MB Notification: Performance of Partitioning: time 0.000495/0.3283, allocations: 0.5516 MB / 0.614 GB, free: 14.38 MB / 446.1 MB Notification: Performance of Causalize: time 0.002805/0.3311, allocations: 3.083 MB / 0.617 GB, free: 11.24 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 0.001045/0.3322, allocations: 1.181 MB / 0.6182 GB, free: 10.03 MB / 446.1 MB Notification: Performance of Inline: time 0.002163/0.3344, allocations: 2.373 MB / 0.6205 GB, free: 7.625 MB / 446.1 MB Notification: Performance of Partitioning: time 0.0001003/0.3345, allocations: 103.6 kB / 0.6206 GB, free: 7.516 MB / 446.1 MB Notification: Performance of Cleanup: time 0.0001002/0.3346, allocations: 107.8 kB / 0.6207 GB, free: 7.41 MB / 446.1 MB Notification: Performance of Causalize: time 0.003484/0.3381, allocations: 4.173 MB / 0.6248 GB, free: 3.406 MB / 446.1 MB Notification: Performance of Tearing: time 0.0002743/0.3384, allocations: 326.2 kB / 0.6251 GB, free: 3.039 MB / 446.1 MB Notification: Performance of Initialization: time 6.01e-07/0.3384, allocations: 0 / 0.6251 GB, free: 3.039 MB / 446.1 MB Notification: Performance of Tearing: time 0.0002192/0.3386, allocations: 338.2 kB / 0.6254 GB, free: 2.66 MB / 446.1 MB Notification: Performance of Categorize: time 1.895e-05/0.3386, allocations: 8.031 kB / 0.6254 GB, free: 2.652 MB / 446.1 MB Notification: Performance of Solve: time 0.0006998/0.3393, allocations: 494.2 kB / 0.6259 GB, free: 2.168 MB / 446.1 MB Notification: Performance of Jacobian: time 2.605e-06/0.3393, allocations: 0 / 0.6259 GB, free: 2.168 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: ........... 74 (scalar:74, 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: ........... 110 (scalar:108, 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.771e-05/0.3394, allocations: 51.55 kB / 0.6259 GB, free: 2.125 MB / 446.1 MB Notification: Performance of SimCode: time 0.004081/0.3435, allocations: 4.205 MB / 0.63 GB, free: 14.11 MB / 462.1 MB Notification: Performance of Templates: time 0.01397/0.3575, allocations: 9.864 MB / 0.6397 GB, free: 4.277 MB / 462.1 MB make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.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_BaseClasses_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.BaseClasses.Examples.DiffuseIsotropic.o Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.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_BaseClasses_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.BaseClasses.Examples.DiffuseIsotropic_functions.o Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_functions.c Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.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.BaseClasses.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.BaseClasses.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.BaseClasses.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.BaseClasses.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.BaseClasses.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.BaseClasses.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.BaseClasses.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.BaseClasses.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.BaseClasses.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.BaseClasses.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.BaseClasses.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.BaseClasses.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.BaseClasses.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.BaseClasses.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.BaseClasses.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.BaseClasses.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.BaseClasses.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.BaseClasses.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.BaseClasses.Examples.DiffuseIsotropic_functions.o] Error 1