Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 2.574e-05/2.576e-05, allocations: 4.906 kB / 0.5922 GB, free: 18.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.005089/0.005125, allocations: 4.302 MB / 0.5964 GB, free: 14.71 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1673/0.1725, allocations: 149.8 MB / 0.7427 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001334/0.1739, allocations: 11.94 kB / 0.7427 GB, free: 8.379 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007167/0.1746, allocations: 138.6 kB / 0.7428 GB, free: 8.242 MB / 0.5762 GB [/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/Buildings 3.0.0/BoundaryConditions/WeatherData/BaseClasses/getAbsolutePath.mo:7:3-16:19:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getAbsolutePath.loadResource' contains a call to impure function 'Modelica.Utilities.Files.fullPathName'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/BoundaryConditions/WeatherData/BaseClasses/getAbsolutePath.mo:2:1-80:20:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getAbsolutePath' contains a call to impure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getAbsolutePath.loadResource'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-92:25:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3' contains a call to impure function 'Modelica.Utilities.Streams.readLine'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-47:21:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3' contains a call to impure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-47:20:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3' contains a call to impure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-46:20:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3' contains a call to impure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3'. [/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.002204/0.1769, allocations: 464.4 kB / 0.7433 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001598/0.1785, allocations: 0.6097 MB / 0.7439 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001098/0.1796, allocations: 1.162 MB / 0.745 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001158/0.1808, allocations: 0.8732 MB / 0.7458 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005296/0.1813, allocations: 490.1 kB / 0.7463 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000463/0.1818, allocations: 0.4976 MB / 0.7468 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001181/0.1819, allocations: 112 kB / 0.7469 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006628/0.1826, allocations: 459.6 kB / 0.7473 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.001097/0.1837, allocations: 1.699 MB / 0.749 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of replaceArrayConstructors: time 0.0006305/0.1843, allocations: 1.081 MB / 0.7501 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000192/0.1845, allocations: 191.3 kB / 0.7502 GB, free: 0.5586 MB / 0.5762 GB Notification: Performance of FrontEnd: time 0.0001848/0.1847, allocations: 47.62 kB / 0.7503 GB, free: 0.5117 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 (254) * Number of variables: 281 (254) Notification: Performance of Bindings: time 0.3763/0.561, allocations: 5.018 MB / 0.7552 GB, free: 7.168 MB / 0.5762 GB Notification: Performance of FunctionAlias: time 0.0008444/0.5619, allocations: 0.8823 MB / 0.756 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of Early Inline: time 0.002833/0.5647, allocations: 3.244 MB / 0.7592 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of simplify1: time 0.0002825/0.565, allocations: 249.2 kB / 0.7594 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of Alias: time 0.008535/0.5735, allocations: 6.114 MB / 0.7654 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of simplify2: time 0.0002413/0.5738, allocations: 138.3 kB / 0.7656 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of Events: time 0.0004431/0.5743, allocations: 325.1 kB / 0.7659 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of Detect States: time 0.000519/0.5748, allocations: 435.5 kB / 0.7663 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of Partitioning: time 0.0006591/0.5754, allocations: 0.6353 MB / 0.7669 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of Causalize: time 0.003444/0.5789, allocations: 3.419 MB / 0.7702 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of After Index Reduction Inline: time 0.001331/0.5802, allocations: 1.309 MB / 0.7715 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of Inline: time 0.002754/0.583, allocations: 2.834 MB / 0.7743 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of Partitioning: time 0.000155/0.5832, allocations: 144.7 kB / 0.7744 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of Cleanup: time 0.0001398/0.5833, allocations: 118.6 kB / 0.7745 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of Causalize: time 0.004951/0.5883, allocations: 5.11 MB / 0.7795 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of Tearing: time 0.000357/0.5886, allocations: 282 kB / 0.7798 GB, free: 3 MB / 0.5762 GB Notification: Performance of Initialization: time 3.797e-06/0.5887, allocations: 4.094 kB / 0.7798 GB, free: 3 MB / 0.5762 GB Notification: Performance of Tearing: time 0.0001995/0.5889, allocations: 278.8 kB / 0.7801 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of Categorize: time 5.041e-05/0.5889, allocations: 4.391 kB / 0.7801 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of Solve: time 0.001296/0.5902, allocations: 0.5852 MB / 0.7806 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of Jacobian: time 7.213e-06/0.5903, allocations: 4 kB / 0.7806 GB, free: 2.723 MB / 0.5762 GB 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: ........... 83 (scalar:83, 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: ........... 136 (scalar:134, 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.0001291/0.5904, allocations: 57.47 kB / 0.7807 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of SimCode: time 0.006221/0.5966, allocations: 5.013 MB / 0.7856 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of Templates: time 0.01657/0.6132, allocations: 10.97 MB / 0.7963 GB, free: 212 kB / 0.5762 GB make -j1 -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile make -j1 -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.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=Buildings_3_0_0_Buildings_BoundaryConditions_SolarIrradiation_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 Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.o Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.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=Buildings_3_0_0_Buildings_BoundaryConditions_SolarIrradiation_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 Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_functions.o Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_functions.c Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_functions.c:30:62: error: use of undeclared identifier '_OMC_LIT2' if(((omc_Modelica_Utilities_Strings_find(threadData, _uri, _OMC_LIT2, ((modelica_integer) 1), 0 /* false */) == ((modelica_integer) 0)) && (omc_Modelica_Utilities_Strings_find(threadData, _uri, _OMC_LIT3, ((modelica_integer) 1), 0 /* false */) == ((modelica_integer) 0)))) ^ Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_functions.c:30:197: error: use of undeclared identifier '_OMC_LIT3' if(((omc_Modelica_Utilities_Strings_find(threadData, _uri, _OMC_LIT2, ((modelica_integer) 1), 0 /* false */) == ((modelica_integer) 0)) && (omc_Modelica_Utilities_Strings_find(threadData, _uri, _OMC_LIT3, ((modelica_integer) 1), 0 /* false */) == ((modelica_integer) 0)))) ^ Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_functions.c:32:29: error: use of undeclared identifier '_OMC_LIT2' tmpMeta1 = stringAppend(_OMC_LIT2,_uri); ^ Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_functions.c:37:31: error: use of undeclared identifier '_OMC_LIT3' tmpMeta2 = stringAppend(_OMC_LIT3,_uri); ^ Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_functions.c:42:33: error: use of undeclared identifier '_OMC_LIT4' tmpMeta3 = stringAppend(_OMC_LIT4,_uri); ^ Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_functions.c:48:37: error: use of undeclared identifier '_OMC_LIT0' tmpMeta4 = stringAppend(_OMC_LIT0,_uri); ^ Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_functions.c:49:46: error: use of undeclared identifier '_OMC_LIT5' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT5); ^ Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_functions.c:51:46: error: use of undeclared identifier '_OMC_LIT6' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT6); ^ Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_functions.c:53:46: error: use of undeclared identifier '_OMC_LIT7' tmpMeta9 = stringAppend(tmpMeta8,_OMC_LIT7); ^ Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_functions.c:73:34: error: use of undeclared identifier '_OMC_LIT0' tmpMeta12 = stringAppend(_OMC_LIT0,_uri); ^ Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_functions.c:74:44: error: use of undeclared identifier '_OMC_LIT1' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT1); ^ Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_functions.c:146:31: error: use of undeclared identifier '_OMC_LIT8' tmpMeta1 = stringAppend(_OMC_LIT8,_start); ^ Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_functions.c:147:40: error: use of undeclared identifier '_OMC_LIT9' tmpMeta2 = stringAppend(tmpMeta1,_OMC_LIT9); ^ Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_functions.c:148:40: error: use of undeclared identifier '_OMC_LIT10' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT10); ^ Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_functions.c:164:71: error: use of undeclared identifier '_OMC_LIT11' _nexInd = omc_Modelica_Utilities_Strings_find(threadData, _lin, _OMC_LIT11, _nexInd + ((modelica_integer) 1), 1 /* true */); ^ Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_functions.c:169:35: error: use of undeclared identifier '_OMC_LIT12' tmpMeta5 = stringAppend(_OMC_LIT12,_name); ^ Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_functions.c:170:44: error: use of undeclared identifier '_OMC_LIT13' tmpMeta6 = stringAppend(tmpMeta5,_OMC_LIT13); ^ Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_functions.c:171:44: error: use of undeclared identifier '_OMC_LIT14' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT14); ^ Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_functions.c:172:44: error: use of undeclared identifier '_OMC_LIT15' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT15); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_functions.o] Error 1