Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.4935/0.4935, allocations: 94.74 MB / 102 MB, free: 10.38 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001106/0.001106, allocations: 177 kB / 125.3 MB, free: 12 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.242/1.242, allocations: 170.5 MB / 319 MB, free: 9.359 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001602/0.001602, allocations: 108.4 kB / 381 MB, free: 18.16 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.823e-06/6.953e-06, allocations: 224 / 448.6 MB, free: 2.133 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1399, allocations: 61.52 MB / 0.4981 GB, free: 4.523 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.371/0.5109, allocations: 95.25 MB / 0.5912 GB, free: 7.133 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000275/0.5112, allocations: 96.53 kB / 0.5912 GB, free: 7.043 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.07165/0.5829, allocations: 34.7 MB / 0.6251 GB, free: 4.574 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.583, allocations: 4 kB / 0.6251 GB, free: 4.57 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005531/0.5835, allocations: 398.3 kB / 0.6255 GB, free: 4.137 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.5836, allocations: 8.031 kB / 0.6255 GB, free: 4.129 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.747e-05/0.5837, allocations: 83.28 kB / 0.6256 GB, free: 4.047 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.5838, allocations: 243.9 kB / 0.6258 GB, free: 3.77 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.849e-05/0.5839, allocations: 150.6 kB / 0.626 GB, free: 3.621 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.37e-05/0.584, allocations: 154.6 kB / 0.6261 GB, free: 3.469 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.412e-05/0.5841, allocations: 154.5 kB / 0.6263 GB, free: 3.316 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.666e-05/0.5841, allocations: 101 kB / 0.6264 GB, free: 3.211 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.054e-05/0.5842, allocations: 77.94 kB / 0.6264 GB, free: 3.137 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.869e-05/0.5843, allocations: 158.6 kB / 0.6266 GB, free: 2.98 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.023e-05/0.5843, allocations: 150.6 kB / 0.6267 GB, free: 2.832 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003393/0.5847, allocations: 426.5 kB / 0.6271 GB, free: 2.379 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.411e-05/0.5847, allocations: 169.1 kB / 0.6273 GB, free: 2.203 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.103e-05/0.5848, allocations: 88.08 kB / 0.6274 GB, free: 2.113 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/0.5848, allocations: 83.12 kB / 0.6275 GB, free: 2.031 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.527e-05/0.5849, allocations: 109.8 kB / 0.6276 GB, free: 1.914 MB / 442.7 MB Notification: Performance of pre-optimization done (n=0): time 1.563e-06/0.5849, allocations: 0 / 0.6276 GB, free: 1.914 MB / 442.7 MB Notification: Performance of matching and sorting (n=0): time 8.541e-05/0.585, allocations: 29.7 kB / 0.6276 GB, free: 1.879 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.631e-05/0.585, allocations: 51.97 kB / 0.6277 GB, free: 1.816 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.5852, allocations: 96.98 kB / 0.6277 GB, free: 1.715 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.5852, allocations: 25.7 kB / 0.6278 GB, free: 1.684 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.659e-05/0.5853, allocations: 84.14 kB / 0.6278 GB, free: 1.598 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.134e-06/0.5853, allocations: 0 / 0.6278 GB, free: 1.598 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.893e-06/0.5853, allocations: 0 / 0.6278 GB, free: 1.598 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.5854, allocations: 312.2 kB / 0.6281 GB, free: 1.285 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.216e-05/0.5854, allocations: 4 kB / 0.6281 GB, free: 1.281 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.976e-05/0.5855, allocations: 22.52 kB / 0.6282 GB, free: 1.25 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.402e-05/0.5855, allocations: 15.98 kB / 0.6282 GB, free: 1.234 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.5855, allocations: 3.906 kB / 0.6282 GB, free: 1.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001186/0.5857, allocations: 37.64 kB / 0.6282 GB, free: 1.188 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.5857, allocations: 9.719 kB / 0.6282 GB, free: 1.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.5857, allocations: 0.5469 kB / 0.6282 GB, free: 1.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.5857, allocations: 0 / 0.6282 GB, free: 1.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.616e-05/0.5858, allocations: 7.984 kB / 0.6282 GB, free: 1.172 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.5858, allocations: 8.094 kB / 0.6283 GB, free: 1.164 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.49e-05/0.5859, allocations: 3.938 kB / 0.6283 GB, free: 1.16 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.5859, allocations: 4 kB / 0.6283 GB, free: 1.156 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001102/0.586, allocations: 181.2 kB / 0.6284 GB, free: 0.9727 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.647e-05/0.5861, allocations: 105 kB / 0.6285 GB, free: 0.8633 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.66e-05/0.5862, allocations: 116.6 kB / 0.6286 GB, free: 0.7461 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.256e-05/0.5863, allocations: 176.3 kB / 0.6288 GB, free: 0.5664 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.279e-05/0.5863, allocations: 180.3 kB / 0.629 GB, free: 392 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.941e-05/0.5864, allocations: 180.2 kB / 0.6292 GB, free: 204 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002518/0.5867, allocations: 385.7 kB / 0.6295 GB, free: 15.78 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.542e-05/0.5867, allocations: 102.7 kB / 0.6296 GB, free: 15.67 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.427e-05/0.5868, allocations: 107.6 kB / 0.6297 GB, free: 15.56 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.088e-05/0.5869, allocations: 188.3 kB / 0.6299 GB, free: 15.37 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-05/0.587, allocations: 176.3 kB / 0.6301 GB, free: 15.19 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.731e-05/0.5871, allocations: 188.2 kB / 0.6302 GB, free: 15 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.291e-05/0.5872, allocations: 176.3 kB / 0.6304 GB, free: 14.82 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001459/0.5873, allocations: 313 kB / 0.6307 GB, free: 14.49 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.631e-05/0.5874, allocations: 186.1 kB / 0.6309 GB, free: 14.29 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.239e-05/0.5875, allocations: 180.3 kB / 0.6311 GB, free: 14.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.019e-05/0.5876, allocations: 109.2 kB / 0.6312 GB, free: 13.99 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.842e-05/0.5877, allocations: 180.2 kB / 0.6313 GB, free: 13.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-05/0.5877, allocations: 105 kB / 0.6314 GB, free: 13.7 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.722e-05/0.5878, allocations: 83.28 kB / 0.6315 GB, free: 13.61 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002722/0.588, allocations: 4 kB / 0.6315 GB, free: 13.61 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001451/0.5882, allocations: 182.5 kB / 0.6317 GB, free: 13.42 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 7.808e-05/0.5883, allocations: 8 kB / 0.6317 GB, free: 13.41 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.5883, allocations: 0 / 0.6317 GB, free: 13.41 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 5.26e-06/0.5883, allocations: 4 kB / 0.6317 GB, free: 13.41 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003189/0.5886, allocations: 0.5225 MB / 0.6322 GB, free: 12.88 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001912/0.5888, allocations: 119.3 kB / 0.6323 GB, free: 12.74 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002793/0.5891, allocations: 0.6841 MB / 0.633 GB, free: 12.03 MB / 458.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5891, allocations: 0 / 0.633 GB, free: 12.03 MB / 458.7 MB Notification: Performance of Templates: time 0.001971/0.5911, allocations: 331.1 kB / 0.6333 GB, free: 11.75 MB / 458.7 MB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)