Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom") translateModel(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001143, allocations: 106.3 kB / 16.42 MB, free: 6.512 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.001126/0.001126, allocations: 200.1 kB / 17.36 MB, free: 5.746 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.165/1.165, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.212/1.212, allocations: 251.7 MB / 0.51 GB, free: 408 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.244e-05/1.244e-05, allocations: 2.281 kB / 0.7264 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom): time 0.004687/0.004709, allocations: 4.512 MB / 0.7308 GB, free: 212 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003777/0.008497, allocations: 2.688 MB / 0.7334 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003446/0.008855, allocations: 19.94 kB / 0.7334 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001982/0.00906, allocations: 106.6 kB / 0.7335 GB, free: 13.38 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 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105: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 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48: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 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48: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 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47: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/Buildings 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getAbsolutePath.mo:2:1-50:20:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getAbsolutePath' contains a call to impure function 'Modelica.Utilities.Files.exist'. Notification: Performance of NFTyping.typeBindings: time 0.001344/0.01041, allocations: 496.3 kB / 0.734 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005345/0.01095, allocations: 431.5 kB / 0.7344 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.03914/0.0501, allocations: 8.494 MB / 0.7427 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007659/0.05088, allocations: 0.5203 MB / 0.7432 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4601/0.511, allocations: 39.22 MB / 0.7815 GB, free: 32.85 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007932/0.5118, allocations: 477.9 kB / 0.782 GB, free: 32.73 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003046/0.5122, allocations: 115.3 kB / 0.7821 GB, free: 32.73 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004551/0.5126, allocations: 130.8 kB / 0.7822 GB, free: 32.73 MB / 0.5919 GB Notification: Performance of combineBinaries: time 0.001225/0.5139, allocations: 1.591 MB / 0.7837 GB, free: 31.87 MB / 0.5919 GB Notification: Performance of replaceArrayConstructors: time 0.0005154/0.5144, allocations: 0.9846 MB / 0.7847 GB, free: 31.18 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003295/0.5147, allocations: 189.8 kB / 0.7849 GB, free: 31.14 MB / 0.5919 GB Notification: Performance of FrontEnd: time 0.0002032/0.5149, allocations: 57.89 kB / 0.7849 GB, free: 31.12 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 (188) * Number of variables: 188 (188) Notification: Performance of Bindings: time 0.004294/0.5192, allocations: 4.724 MB / 0.7896 GB, free: 28.63 MB / 0.5919 GB Notification: Performance of FunctionAlias: time 0.0009091/0.5201, allocations: 0.7788 MB / 0.7903 GB, free: 28.17 MB / 0.5919 GB Notification: Performance of Early Inline: time 0.00281/0.523, allocations: 2.992 MB / 0.7932 GB, free: 26.25 MB / 0.5919 GB Notification: Performance of simplify1: time 0.0003071/0.5233, allocations: 204 kB / 0.7934 GB, free: 26.17 MB / 0.5919 GB Notification: Performance of Alias: time 0.004769/0.5281, allocations: 5.284 MB / 0.7986 GB, free: 22.87 MB / 0.5919 GB Notification: Performance of simplify2: time 0.0002221/0.5283, allocations: 138.5 kB / 0.7987 GB, free: 22.84 MB / 0.5919 GB Notification: Performance of Events: time 0.0003824/0.5287, allocations: 347.4 kB / 0.7991 GB, free: 22.64 MB / 0.5919 GB Notification: Performance of Detect States: time 0.0004642/0.5292, allocations: 473 kB / 0.7995 GB, free: 22.35 MB / 0.5919 GB Notification: Performance of Partitioning: time 0.0007443/0.5299, allocations: 0.7196 MB / 0.8002 GB, free: 21.92 MB / 0.5919 GB Notification: Performance of Causalize: time 0.003908/0.5338, allocations: 3.886 MB / 0.804 GB, free: 20.35 MB / 0.5919 GB Notification: Performance of After Index Reduction Inline: time 0.001311/0.5351, allocations: 1.439 MB / 0.8054 GB, free: 19.51 MB / 0.5919 GB Notification: Performance of Inline: time 0.003558/0.5387, allocations: 3.39 MB / 0.8087 GB, free: 17.56 MB / 0.5919 GB Notification: Performance of Partitioning: time 0.0001825/0.5389, allocations: 179.7 kB / 0.8089 GB, free: 17.45 MB / 0.5919 GB Notification: Performance of Cleanup: time 0.0002433/0.5392, allocations: 139.3 kB / 0.809 GB, free: 17.38 MB / 0.5919 GB Notification: Performance of Causalize: time 0.006876/0.546, allocations: 6.085 MB / 0.815 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of Tearing: time 1.007e-05/0.5461, allocations: 3.938 kB / 0.815 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of Initialization: time 1.763e-06/0.5461, allocations: 4 kB / 0.815 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of Tearing: time 1.081e-05/0.5461, allocations: 3.375 kB / 0.815 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of Categorize: time 2.188e-05/0.5461, allocations: 6.391 kB / 0.815 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of Solve: time 0.0009104/0.547, allocations: 0.6652 MB / 0.8156 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of Jacobian: time 3.056e-06/0.5471, allocations: 0 / 0.8156 GB, free: 14.46 MB / 0.5919 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: ......... 8 * 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: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 12 (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: ........... 116 (scalar:116, array:0, record:0) * Number of multi strong components: ............ 4 (algorithm:0, when:0, if:4, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 184 (scalar:184, array:0, record:0) * Number of multi strong components: ............ 4 (algorithm:0, when:0, if:4, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 4.879e-05/0.5471, allocations: 72.56 kB / 0.8157 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of SimCode: time 0.002267/0.5494, allocations: 3.59 MB / 0.8192 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of Templates: time 0.008542/0.5579, allocations: 7.044 MB / 0.8261 GB, free: 4.844 MB / 0.5919 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.makefile make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.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_maint_7_0_x_Buildings_HeatTransfer_Windows_Examples_BeamDepthInRoom -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.o Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.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_maint_7_0_x_Buildings_HeatTransfer_Windows_Examples_BeamDepthInRoom -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom_functions.o Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom_functions.c Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom_functions.c:24:31: error: use of undeclared identifier '_OMC_LIT0' tmpMeta1 = stringAppend(_OMC_LIT0,_uri); ^ Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom_functions.c:25:40: error: use of undeclared identifier '_OMC_LIT1' tmpMeta2 = stringAppend(tmpMeta1,_OMC_LIT1); ^ 2 errors generated. make: *** [: Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom_functions.o] Error 1