Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3") translateModel(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.41/1.41, allocations: 289.8 MB / 297.1 MB, free: 9.805 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001181/0.001181, allocations: 194.7 kB / 366.3 MB, free: 15.71 MB / 302.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.189/1.189, allocations: 205.1 MB / 0.6256 GB, free: 2.273 MB / 446.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009643/0.0009642, allocations: 89.28 kB / 0.7395 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 6.101e-06/6.121e-06, allocations: 1.531 kB / 0.859 GB, free: 156.9 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1708, allocations: 116.3 MB / 0.9726 GB, free: 54.37 MB / 0.6387 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.255/3.426, allocations: 2.072 GB / 3.044 GB, free: 302.4 MB / 0.9512 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001983/3.426, allocations: 94.02 kB / 3.044 GB, free: 302.3 MB / 0.9512 GB Notification: Performance of FrontEnd: time 0.1824/3.609, allocations: 91.52 MB / 3.134 GB, free: 210.3 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.804e-05/3.609, allocations: 47.94 kB / 3.134 GB, free: 210.2 MB / 0.9512 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.00272/3.611, allocations: 1.66 MB / 3.136 GB, free: 208.5 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/3.612, allocations: 8.031 kB / 3.136 GB, free: 208.5 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001826/3.613, allocations: 401.3 kB / 3.136 GB, free: 208.1 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001382/3.615, allocations: 1.015 MB / 3.137 GB, free: 207 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.881e-05/3.615, allocations: 47.98 kB / 3.137 GB, free: 207 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001206/3.615, allocations: 76 kB / 3.137 GB, free: 206.9 MB / 0.9512 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002117/3.617, allocations: 1.867 MB / 3.139 GB, free: 205 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0016/3.619, allocations: 1.253 MB / 3.14 GB, free: 203.7 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.72e-05/3.619, allocations: 3.938 kB / 3.14 GB, free: 203.7 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/3.619, allocations: 7.906 kB / 3.14 GB, free: 203.7 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.025e-05/3.619, allocations: 36 kB / 3.14 GB, free: 203.6 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005373/3.624, allocations: 4.248 MB / 3.144 GB, free: 199.3 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001499/3.626, allocations: 1.269 MB / 3.145 GB, free: 198 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005283/3.626, allocations: 469.6 kB / 3.146 GB, free: 197.6 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001005/3.626, allocations: 57.22 kB / 3.146 GB, free: 197.5 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008108/3.627, allocations: 0.6858 MB / 3.147 GB, free: 196.8 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=136): time 3.306e-06/3.627, allocations: 4 kB / 3.147 GB, free: 196.8 MB / 0.9512 GB Notification: Performance of matching and sorting (n=136): time 0.00265/3.63, allocations: 1.244 MB / 3.148 GB, free: 195.5 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.078e-05/3.63, allocations: 450.3 kB / 3.148 GB, free: 195 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001035/3.631, allocations: 0.9182 MB / 3.149 GB, free: 194 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 8.772e-05/3.631, allocations: 29.7 kB / 3.149 GB, free: 194 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002238/3.631, allocations: 436.7 kB / 3.15 GB, free: 193.6 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002248/3.632, allocations: 429.5 kB / 3.15 GB, free: 193.1 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.707e-05/3.632, allocations: 0 / 3.15 GB, free: 193.1 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 6.442e-05/3.632, allocations: 357.8 kB / 3.15 GB, free: 192.8 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004829/3.632, allocations: 370.5 kB / 3.151 GB, free: 192.4 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006021/3.633, allocations: 0.5853 MB / 3.151 GB, free: 191.8 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007094/3.634, allocations: 495.4 kB / 3.152 GB, free: 191.3 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/3.634, allocations: 0 / 3.152 GB, free: 191.3 MB / 0.9512 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002507/3.636, allocations: 1.264 MB / 3.153 GB, free: 190 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/3.636, allocations: 4 kB / 3.153 GB, free: 190 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.108e-06/3.636, allocations: 4 kB / 3.153 GB, free: 190 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001098/3.637, allocations: 165.8 kB / 3.153 GB, free: 189.8 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/3.638, allocations: 275.6 kB / 3.153 GB, free: 189.6 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002959/3.641, allocations: 2.941 MB / 3.156 GB, free: 186.4 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/3.642, allocations: 131 kB / 3.156 GB, free: 186.3 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.774e-05/3.642, allocations: 55.95 kB / 3.157 GB, free: 186.2 MB / 0.9512 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.0002239/3.643, allocations: 133 kB / 3.157 GB, free: 186.1 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001866/3.643, allocations: 142.3 kB / 3.157 GB, free: 185.9 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003963/3.647, allocations: 1.876 MB / 3.159 GB, free: 184 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/3.647, allocations: 16 kB / 3.159 GB, free: 184 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/3.647, allocations: 0 / 3.159 GB, free: 184 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.419e-05/3.647, allocations: 15.95 kB / 3.159 GB, free: 184 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001346/3.648, allocations: 1.316 MB / 3.16 GB, free: 182.6 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/3.648, allocations: 4 kB / 3.16 GB, free: 182.6 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001038/3.649, allocations: 279.6 kB / 3.16 GB, free: 182.4 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009485/3.65, allocations: 161.6 kB / 3.16 GB, free: 182.2 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.247e-05/3.65, allocations: 31.97 kB / 3.16 GB, free: 182.2 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002798/3.653, allocations: 2.968 MB / 3.163 GB, free: 179 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/3.653, allocations: 7.906 kB / 3.163 GB, free: 179 MB / 0.9512 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00265/3.656, allocations: 1.472 MB / 3.165 GB, free: 177.5 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007043/3.657, allocations: 466.7 kB / 3.165 GB, free: 177 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002394/3.657, allocations: 0 / 3.165 GB, free: 177 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00101/3.658, allocations: 124 kB / 3.165 GB, free: 176.9 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001516/3.658, allocations: 105.5 kB / 3.165 GB, free: 176.8 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.845e-05/3.658, allocations: 55.97 kB / 3.165 GB, free: 176.7 MB / 0.9512 GB Notification: Performance of sort global known variables: time 0.0008609/3.659, allocations: 0.7114 MB / 3.166 GB, free: 176 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001313/3.66, allocations: 486.6 kB / 3.167 GB, free: 175.5 MB / 0.9512 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.001625/3.662, allocations: 1.082 MB / 3.168 GB, free: 174.5 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001844/3.664, allocations: 1.277 MB / 3.169 GB, free: 173.2 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/3.664, allocations: 9.094 kB / 3.169 GB, free: 173.2 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001098/3.665, allocations: 0.8527 MB / 3.17 GB, free: 172.3 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00152/3.666, allocations: 411.5 kB / 3.17 GB, free: 171.9 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005788/3.672, allocations: 2.551 MB / 3.173 GB, free: 169.3 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00109/3.673, allocations: 1.509 MB / 3.174 GB, free: 167.8 MB / 0.9512 GB Notification: Performance of SimCode: time 3.2e-07/3.673, allocations: 0 / 3.174 GB, free: 167.8 MB / 0.9512 GB Notification: Performance of Templates: time 0.03742/3.711, allocations: 28.27 MB / 3.202 GB, free: 139.6 MB / 0.9512 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & ./Buildings_8_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)