Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.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.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect") [: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.5324/0.5324, allocations: 94.73 MB / 102 MB, free: 10.37 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.001155/0.001155, allocations: 179.5 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.488/1.488, allocations: 170.5 MB / 319 MB, free: 9.516 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.001598/0.001598, allocations: 113.7 kB / 381 MB, free: 18.15 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.028e-05/1.03e-05, allocations: 4 kB / 448.6 MB, free: 2.109 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1452, allocations: 61.52 MB / 0.4982 GB, free: 4.496 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3364/0.4817, allocations: 97.22 MB / 0.5931 GB, free: 5.109 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002648/0.482, allocations: 87.94 kB / 0.5932 GB, free: 5.02 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/Fluid/HeatExchangers/DXCoils/BaseClasses/SpeedSelect.mo:15:52-15:57:writable] Warning: Non-array modification '1' for array component, possibly due to missing 'each'. Notification: Performance of FrontEnd: time 0.02375/0.5058, allocations: 9.052 MB / 0.602 GB, free: 12.07 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.726e-05/0.5058, allocations: 4 kB / 0.602 GB, free: 12.07 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0009545/0.5068, allocations: 0.6513 MB / 0.6027 GB, free: 11.36 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.5069, allocations: 8.031 kB / 0.6027 GB, free: 11.35 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001543/0.507, allocations: 59.33 kB / 0.6027 GB, free: 11.29 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007619/0.5078, allocations: 383.8 kB / 0.6031 GB, free: 10.88 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.973e-05/0.5079, allocations: 5.375 kB / 0.6031 GB, free: 10.88 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.392e-05/0.5079, allocations: 4.797 kB / 0.6031 GB, free: 10.87 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.322e-05/0.508, allocations: 31.98 kB / 0.6031 GB, free: 10.84 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.5081, allocations: 69.67 kB / 0.6032 GB, free: 10.77 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.5081, allocations: 3.562 kB / 0.6032 GB, free: 10.77 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.5082, allocations: 0 / 0.6032 GB, free: 10.77 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.5082, allocations: 0 / 0.6032 GB, free: 10.77 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000677/0.5089, allocations: 417.3 kB / 0.6036 GB, free: 10.32 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.509, allocations: 63.34 kB / 0.6037 GB, free: 10.25 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.182e-05/0.509, allocations: 36.94 kB / 0.6037 GB, free: 10.21 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.387e-06/0.5091, allocations: 3.938 kB / 0.6037 GB, free: 10.21 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001233/0.5092, allocations: 84.55 kB / 0.6038 GB, free: 10.11 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.733e-06/0.5092, allocations: 4 kB / 0.6038 GB, free: 10.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003068/0.5095, allocations: 149 kB / 0.6039 GB, free: 9.957 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.807e-05/0.5096, allocations: 85.09 kB / 0.604 GB, free: 9.855 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008434/0.5104, allocations: 0.6167 MB / 0.6046 GB, free: 9.234 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.954e-05/0.5105, allocations: 29.69 kB / 0.6046 GB, free: 9.199 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.5106, allocations: 148.1 kB / 0.6048 GB, free: 9.051 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.574e-05/0.5106, allocations: 7.812 kB / 0.6048 GB, free: 9.043 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.267e-06/0.5106, allocations: 0 / 0.6048 GB, free: 9.043 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000183/0.5108, allocations: 378.7 kB / 0.6051 GB, free: 8.664 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.063e-05/0.5109, allocations: 39.97 kB / 0.6052 GB, free: 8.625 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.114e-05/0.511, allocations: 35.98 kB / 0.6052 GB, free: 8.59 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.917e-05/0.5111, allocations: 37 kB / 0.6052 GB, free: 8.555 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.5111, allocations: 0 / 0.6052 GB, free: 8.555 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002521/0.5113, allocations: 161 kB / 0.6054 GB, free: 8.391 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.5114, allocations: 8 kB / 0.6054 GB, free: 8.383 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.5114, allocations: 0 / 0.6054 GB, free: 8.383 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.632e-05/0.5114, allocations: 3.906 kB / 0.6054 GB, free: 8.379 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.083e-05/0.5114, allocations: 3.984 kB / 0.6054 GB, free: 8.375 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.5114, allocations: 4 kB / 0.6054 GB, free: 8.371 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001131/0.5116, allocations: 7.516 kB / 0.6054 GB, free: 8.367 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.85e-05/0.5116, allocations: 4 kB / 0.6054 GB, free: 8.363 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.sta.y,sta.y,$PRE.sta.nextTime,sta.nextTime,$PRE.sta.index,sta.index) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 2 * 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.0001055/0.5117, allocations: 134.6 kB / 0.6056 GB, free: 8.219 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.734e-05/0.5118, allocations: 55.25 kB / 0.6056 GB, free: 8.164 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001231/0.5119, allocations: 68.53 kB / 0.6057 GB, free: 8.094 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.5119, allocations: 0 / 0.6057 GB, free: 8.094 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.5119, allocations: 4 kB / 0.6057 GB, free: 8.09 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.5119, allocations: 4 kB / 0.6057 GB, free: 8.086 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003587/0.5123, allocations: 306.1 kB / 0.606 GB, free: 7.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.5123, allocations: 0 / 0.606 GB, free: 7.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.242e-06/0.5123, allocations: 3.906 kB / 0.606 GB, free: 7.746 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.594e-06/0.5123, allocations: 1.781 kB / 0.606 GB, free: 7.746 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.5124, allocations: 4 kB / 0.606 GB, free: 7.742 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.5124, allocations: 0 / 0.606 GB, free: 7.742 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.5124, allocations: 0 / 0.606 GB, free: 7.742 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002317/0.5126, allocations: 180.6 kB / 0.6062 GB, free: 7.551 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/0.5127, allocations: 131 kB / 0.6063 GB, free: 7.406 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.833e-05/0.5128, allocations: 4 kB / 0.6063 GB, free: 7.402 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.5129, allocations: 8 kB / 0.6063 GB, free: 7.395 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.321e-05/0.513, allocations: 0 / 0.6063 GB, free: 7.395 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.335e-05/0.513, allocations: 7.984 kB / 0.6063 GB, free: 7.387 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.000621/0.5136, allocations: 0.5185 MB / 0.6068 GB, free: 6.871 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003035/0.514, allocations: 51.98 kB / 0.6069 GB, free: 6.82 MB / 426.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: 4 ($whenCondition1,sta.y,sta.nextTime,sta.index) * Number of discrete states: 2 (sta.nextTime,sta.index) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 3 * 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.0005604/0.5145, allocations: 291.5 kB / 0.6071 GB, free: 6.531 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001969/0.5147, allocations: 127.3 kB / 0.6073 GB, free: 6.395 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.5147, allocations: 0 / 0.6073 GB, free: 6.395 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.645e-05/0.5148, allocations: 65.69 kB / 0.6073 GB, free: 6.324 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005192/0.5153, allocations: 105.1 kB / 0.6074 GB, free: 6.234 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/0.5167, allocations: 0.7522 MB / 0.6082 GB, free: 5.457 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006433/0.5174, allocations: 0.9624 MB / 0.6091 GB, free: 4.465 MB / 426.7 MB Notification: Performance of SimCode: time 9.32e-07/0.5174, allocations: 0 / 0.6091 GB, free: 4.465 MB / 426.7 MB Notification: Performance of Templates: time 0.01032/0.5277, allocations: 3.978 MB / 0.613 GB, free: 0.5664 MB / 426.7 MB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe 2>&1)