Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3") translateModel(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3") [: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 8.0.1-maint.8.0.x/package.mo): time 1.4/1.4, allocations: 285.5 MB / 292.8 MB, free: 10.52 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001397/0.001397, allocations: 185.3 kB / 361.1 MB, free: 7.098 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.067/1.067, allocations: 205.1 MB / 0.6195 GB, free: 10.32 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007482/0.0007482, allocations: 91.8 kB / 0.7325 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.532e-06/6.542e-06, allocations: 4 kB / 0.8511 GB, free: 3 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4157/0.4158, allocations: 115.3 MB / 0.9637 GB, free: 78.18 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.023/3.439, allocations: 2.071 GB / 3.035 GB, free: 335 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002367/3.439, allocations: 83.52 kB / 3.035 GB, free: 335 MB / 0.9323 GB Notification: Performance of FrontEnd: time 0.1992/3.638, allocations: 91.54 MB / 3.124 GB, free: 275.2 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001422/3.639, allocations: 43.88 kB / 3.124 GB, free: 275.2 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 335 * Number of variables: 335 Notification: Performance of Generate backend data structure: time 0.00361/3.642, allocations: 1.653 MB / 3.126 GB, free: 273.5 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/3.642, allocations: 8.031 kB / 3.126 GB, free: 273.4 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002169/3.644, allocations: 405.3 kB / 3.126 GB, free: 273.1 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001864/3.646, allocations: 1.015 MB / 3.127 GB, free: 272 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.26e-05/3.646, allocations: 40 kB / 3.127 GB, free: 271.9 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002138/3.647, allocations: 76 kB / 3.127 GB, free: 271.9 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002469/3.649, allocations: 1.863 MB / 3.129 GB, free: 270 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001926/3.651, allocations: 1.263 MB / 3.13 GB, free: 268.6 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.22e-05/3.651, allocations: 7.938 kB / 3.13 GB, free: 268.6 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001336/3.651, allocations: 3.984 kB / 3.13 GB, free: 268.6 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.228e-05/3.651, allocations: 32 kB / 3.13 GB, free: 268.6 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006138/3.657, allocations: 4.263 MB / 3.134 GB, free: 264.3 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001624/3.659, allocations: 1.265 MB / 3.136 GB, free: 263 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005745/3.66, allocations: 477.6 kB / 3.136 GB, free: 262.5 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001096/3.66, allocations: 57.16 kB / 3.136 GB, free: 262.5 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008298/3.661, allocations: 0.6936 MB / 3.137 GB, free: 261.7 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=136): time 3.687e-06/3.661, allocations: 0 / 3.137 GB, free: 261.7 MB / 0.9323 GB Notification: Performance of matching and sorting (n=136): time 0.002823/3.663, allocations: 1.24 MB / 3.138 GB, free: 260.5 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.752e-05/3.663, allocations: 458.2 kB / 3.138 GB, free: 259.9 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001128/3.665, allocations: 0.9168 MB / 3.139 GB, free: 259 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001009/3.665, allocations: 33.7 kB / 3.139 GB, free: 259 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002141/3.665, allocations: 432.8 kB / 3.14 GB, free: 258.5 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002304/3.665, allocations: 421.5 kB / 3.14 GB, free: 258.1 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.629e-05/3.665, allocations: 4 kB / 3.14 GB, free: 258.1 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 6.142e-05/3.665, allocations: 357.8 kB / 3.141 GB, free: 257.8 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005127/3.666, allocations: 370.5 kB / 3.141 GB, free: 257.4 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006373/3.666, allocations: 0.5853 MB / 3.142 GB, free: 256.7 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007489/3.667, allocations: 491.4 kB / 3.142 GB, free: 256.3 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/3.667, allocations: 0 / 3.142 GB, free: 256.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002624/3.67, allocations: 1.264 MB / 3.143 GB, free: 255 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/3.67, allocations: 8 kB / 3.143 GB, free: 255 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/3.67, allocations: 0 / 3.143 GB, free: 255 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001128/3.671, allocations: 177.7 kB / 3.143 GB, free: 254.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/3.672, allocations: 267.6 kB / 3.144 GB, free: 254.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003011/3.675, allocations: 2.937 MB / 3.147 GB, free: 251.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001122/3.676, allocations: 131.1 kB / 3.147 GB, free: 251.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/3.676, allocations: 51.97 kB / 3.147 GB, free: 251.2 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition4,$whenCondition3,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (143): * Single equations (assignments): 141 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002211/3.677, allocations: 140.7 kB / 3.147 GB, free: 251 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002517/3.677, allocations: 138.3 kB / 3.147 GB, free: 250.9 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004167/3.681, allocations: 1.88 MB / 3.149 GB, free: 249 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/3.681, allocations: 16 kB / 3.149 GB, free: 249 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/3.681, allocations: 4 kB / 3.149 GB, free: 249 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.406e-05/3.681, allocations: 7.969 kB / 3.149 GB, free: 249 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001515/3.683, allocations: 1.317 MB / 3.15 GB, free: 247.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/3.683, allocations: 0 / 3.15 GB, free: 247.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001098/3.684, allocations: 283.6 kB / 3.15 GB, free: 247.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009968/3.685, allocations: 169.5 kB / 3.151 GB, free: 247.2 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001032/3.685, allocations: 27.97 kB / 3.151 GB, free: 247.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002894/3.688, allocations: 2.972 MB / 3.153 GB, free: 244 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/3.688, allocations: 0 / 3.153 GB, free: 244 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002763/3.691, allocations: 1.464 MB / 3.155 GB, free: 242.5 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000668/3.691, allocations: 468 kB / 3.155 GB, free: 242 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002885/3.692, allocations: 7.906 kB / 3.155 GB, free: 242 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001116/3.693, allocations: 119.9 kB / 3.155 GB, free: 241.9 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001634/3.693, allocations: 97.41 kB / 3.156 GB, free: 241.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001062/3.693, allocations: 55.97 kB / 3.156 GB, free: 241.7 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0008594/3.694, allocations: 0.7231 MB / 3.156 GB, free: 241 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001394/3.695, allocations: 478.6 kB / 3.157 GB, free: 240.5 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition4,$whenCondition3,weaDat.conTimMin.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 4 (weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (161): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001539/3.697, allocations: 1.088 MB / 3.158 GB, free: 239.5 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001923/3.699, allocations: 1.273 MB / 3.159 GB, free: 238.2 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/3.699, allocations: 4 kB / 3.159 GB, free: 238.2 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001154/3.7, allocations: 0.8527 MB / 3.16 GB, free: 237.4 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001651/3.702, allocations: 419.4 kB / 3.16 GB, free: 236.9 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00664/3.708, allocations: 2.547 MB / 3.163 GB, free: 234.3 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001159/3.709, allocations: 1.503 MB / 3.164 GB, free: 232.8 MB / 0.9323 GB Notification: Performance of SimCode: time 5.21e-07/3.709, allocations: 0 / 3.164 GB, free: 232.8 MB / 0.9323 GB Notification: Performance of Templates: time 0.03799/3.747, allocations: 28.26 MB / 3.192 GB, free: 204.7 MB / 0.9323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.makefile (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & ./Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)