Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008961/0.0008962, allocations: 108.5 kB / 16.42 MB, free: 6.527 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.0008449/0.0008449, allocations: 192.3 kB / 17.36 MB, free: 5.73 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.136/1.136, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2467/0.2467, allocations: 54.96 MB / 325.5 MB, free: 4.848 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.189e-05/2.19e-05, allocations: 6.219 kB / 456.8 MB, free: 2.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.0069/0.006931, allocations: 5.885 MB / 462.7 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.3291/0.336, allocations: 151 MB / 0.5993 GB, free: 8.5 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001004/0.3371, allocations: 19.28 kB / 0.5993 GB, free: 8.496 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007968/0.3379, allocations: 195.5 kB / 0.5995 GB, free: 8.328 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.001992/0.3399, allocations: 0.5665 MB / 0.6001 GB, free: 7.969 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002435/0.3423, allocations: 1.199 MB / 0.6012 GB, free: 7.449 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002537/0.3449, allocations: 2.336 MB / 0.6035 GB, free: 5.977 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001429/0.3463, allocations: 1.378 MB / 0.6049 GB, free: 5.113 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009975/0.3473, allocations: 0.9768 MB / 0.6058 GB, free: 4.484 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008243/0.3482, allocations: 1.077 MB / 0.6069 GB, free: 3.676 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002143/0.3484, allocations: 265.5 kB / 0.6071 GB, free: 3.672 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007704/0.3492, allocations: 0.5723 MB / 0.6077 GB, free: 3.512 MB / 430.1 MB Notification: Performance of combineBinaries: time 0.001755/0.3509, allocations: 3.233 MB / 0.6108 GB, free: 1.059 MB / 430.1 MB Notification: Performance of replaceArrayConstructors: time 0.0008823/0.3518, allocations: 1.934 MB / 0.6127 GB, free: 15.64 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002832/0.3521, allocations: 356 kB / 0.6131 GB, free: 15.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 0.0002297/0.3524, allocations: 86.16 kB / 0.6132 GB, free: 15.39 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: 531 (504) * Number of variables: 531 (504) Notification: Performance of Bindings: time 0.007986/0.3603, allocations: 10.19 MB / 0.6231 GB, free: 5.473 MB / 446.1 MB Notification: Performance of FunctionAlias: time 0.001611/0.362, allocations: 1.837 MB / 0.6249 GB, free: 3.645 MB / 446.1 MB Notification: Performance of Early Inline: time 0.008506/0.3705, allocations: 9.925 MB / 0.6346 GB, free: 9.621 MB / 462.1 MB Notification: Performance of simplify1: time 0.0007815/0.3713, allocations: 0.8116 MB / 0.6354 GB, free: 8.809 MB / 462.1 MB Notification: Performance of Alias: time 0.01262/0.3839, allocations: 12.55 MB / 0.6476 GB, free: 11.42 MB / 478.1 MB Notification: Performance of simplify2: time 0.0007959/0.3847, allocations: 0.6205 MB / 0.6483 GB, free: 10.8 MB / 478.1 MB Notification: Performance of Events: time 0.001817/0.3866, allocations: 1.7 MB / 0.6499 GB, free: 9.062 MB / 478.1 MB Notification: Performance of Detect States: time 0.001346/0.3879, allocations: 1.546 MB / 0.6514 GB, free: 7.484 MB / 478.1 MB Notification: Performance of Partitioning: time 0.002096/0.39, allocations: 2.192 MB / 0.6536 GB, free: 5.156 MB / 478.1 MB Notification: Performance of Causalize: time 0.01298/0.403, allocations: 14.84 MB / 0.668 GB, free: 6.922 MB / 494.1 MB Notification: Performance of After Index Reduction Inline: time 0.004805/0.4078, allocations: 5.364 MB / 0.6733 GB, free: 1.496 MB / 494.1 MB Notification: Performance of Inline: time 0.009344/0.4172, allocations: 10.01 MB / 0.6831 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of Partitioning: time 0.0004386/0.4177, allocations: 327.6 kB / 0.6834 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of Cleanup: time 0.0004927/0.4182, allocations: 499.3 kB / 0.6839 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of Causalize: time 0.01393/0.4321, allocations: 17.17 MB / 0.7006 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of Tearing: time 0.0003106/0.4324, allocations: 334.3 kB / 0.7009 GB, free: 6.375 MB / 0.5137 GB Notification: Performance of Initialization: time 1.052e-06/0.4325, allocations: 3.938 kB / 0.7009 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of Tearing: time 0.0002386/0.4327, allocations: 338.1 kB / 0.7013 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of Categorize: time 3.7e-05/0.4327, allocations: 11.94 kB / 0.7013 GB, free: 5.98 MB / 0.5137 GB Notification: Performance of Solve: time 0.002621/0.4354, allocations: 1.638 MB / 0.7029 GB, free: 4.32 MB / 0.5137 GB Notification: Performance of Jacobian: time 4.479e-06/0.4354, allocations: 8.25 kB / 0.7029 GB, free: 4.312 MB / 0.5137 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * 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: ................. 102 (102) {$SEV_101, $SEV_100, $SEV_99, $SEV_98, $SEV_97, $SEV_96, $SEV_95, $SEV_94, $SEV_93, $SEV_92, $SEV_91, $SEV_90, $SEV_89, $SEV_88, $SEV_87, $SEV_86, $SEV_85, $SEV_84, $SEV_83, $SEV_82, $SEV_81, $SEV_80, $SEV_79, $SEV_78, $SEV_77, $SEV_76, $SEV_75, $SEV_74, $SEV_73, $SEV_72, $SEV_71, $SEV_70, $SEV_69, $SEV_68, $SEV_67, $SEV_66, $SEV_65, $SEV_64, $SEV_63, $SEV_62, $SEV_61, $SEV_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: ........... 300 (scalar:300, 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: ........... 378 (scalar:376, 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 0.0001038/0.4355, allocations: 118 kB / 0.703 GB, free: 4.211 MB / 0.5137 GB Notification: Performance of SimCode: time 0.007995/0.4435, allocations: 8.534 MB / 0.7113 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of Templates: time 0.03423/0.4777, allocations: 26.89 MB / 0.7376 GB, free: 0.9297 MB / 0.545 GB make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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_Examples_DiffusePerez -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.Examples.DiffusePerez.o Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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_Examples_DiffusePerez -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.Examples.DiffusePerez_functions.o Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_functions.c Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_functions.c:24:31: error: use of undeclared identifier '_OMC_LIT0' tmpMeta1 = stringAppend(_OMC_LIT0,_uri); ^ Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_functions.c:25:40: error: use of undeclared identifier '_OMC_LIT1' tmpMeta2 = stringAppend(tmpMeta1,_OMC_LIT1); ^ Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_functions.c:96:31: error: use of undeclared identifier '_OMC_LIT2' tmpMeta1 = stringAppend(_OMC_LIT2,_start); ^ Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_functions.c:97:40: error: use of undeclared identifier '_OMC_LIT3' tmpMeta2 = stringAppend(tmpMeta1,_OMC_LIT3); ^ Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_functions.c:98:40: error: use of undeclared identifier '_OMC_LIT4' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT4); ^ Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_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.Examples.DiffusePerez_functions.c:119:35: error: use of undeclared identifier '_OMC_LIT6' tmpMeta5 = stringAppend(_OMC_LIT6,_name); ^ Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_functions.c:120:44: error: use of undeclared identifier '_OMC_LIT7' tmpMeta6 = stringAppend(tmpMeta5,_OMC_LIT7); ^ Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_functions.c:121:44: error: use of undeclared identifier '_OMC_LIT8' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT8); ^ Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_functions.c:122:44: error: use of undeclared identifier '_OMC_LIT9' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT9); ^ Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_functions.c:124:45: error: use of undeclared identifier '_OMC_LIT10' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT10); ^ Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_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.Examples.DiffusePerez_functions.c:141:32: error: use of undeclared identifier '_OMC_LIT6' tmpMeta15 = stringAppend(_OMC_LIT6,_name); ^ Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_functions.c:142:42: error: use of undeclared identifier '_OMC_LIT7' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT7); ^ Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_functions.c:143:42: error: use of undeclared identifier '_OMC_LIT8' tmpMeta17 = stringAppend(tmpMeta16,_OMC_LIT8); ^ Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_functions.c:144:42: error: use of undeclared identifier '_OMC_LIT9' tmpMeta18 = stringAppend(tmpMeta17,_OMC_LIT9); ^ Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_functions.c:146:42: error: use of undeclared identifier '_OMC_LIT10' tmpMeta20 = stringAppend(tmpMeta19,_OMC_LIT10); ^ Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_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.Examples.DiffusePerez_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.Examples.DiffusePerez_functions.o] Error 1