Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) 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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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_3.0.0_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 3.0.0/package.mo): time 0.8877/0.8877, allocations: 132.4 MB / 139.7 MB, free: 15.59 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001233/0.001233, allocations: 168.3 kB / 171.6 MB, free: 1.961 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.536/1.536, allocations: 170.5 MB / 373.9 MB, free: 15.9 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001657/0.001657, allocations: 108 kB / 444.4 MB, free: 9.426 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.6054/0.6054, allocations: 73.4 MB / 0.666 GB, free: 62.03 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.175/0.7805, allocations: 105.1 MB / 0.7687 GB, free: 15.05 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002696/0.7808, allocations: 86.14 kB / 0.7687 GB, free: 14.97 MB / 490.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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.02485/0.8057, allocations: 9.067 MB / 0.7776 GB, free: 5.957 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.066e-05/0.8057, allocations: 8 kB / 0.7776 GB, free: 5.949 MB / 490.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.001057/0.8068, allocations: 0.6525 MB / 0.7782 GB, free: 5.238 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.8069, allocations: 8.031 kB / 0.7782 GB, free: 5.23 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001997/0.8071, allocations: 51.34 kB / 0.7783 GB, free: 5.18 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008453/0.8079, allocations: 387.8 kB / 0.7787 GB, free: 4.762 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.691e-05/0.808, allocations: 4 kB / 0.7787 GB, free: 4.758 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.808, allocations: 0 / 0.7787 GB, free: 4.758 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.56e-05/0.8081, allocations: 31.98 kB / 0.7787 GB, free: 4.727 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.8082, allocations: 77.66 kB / 0.7788 GB, free: 4.645 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.8083, allocations: 0 / 0.7788 GB, free: 4.645 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.8083, allocations: 0 / 0.7788 GB, free: 4.645 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.8083, allocations: 0 / 0.7788 GB, free: 4.645 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007991/0.8091, allocations: 417.2 kB / 0.7792 GB, free: 4.199 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/0.8092, allocations: 58.5 kB / 0.7792 GB, free: 4.133 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.777e-05/0.8093, allocations: 36.94 kB / 0.7793 GB, free: 4.094 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.082e-05/0.8093, allocations: 0 / 0.7793 GB, free: 4.094 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001441/0.8095, allocations: 86.45 kB / 0.7793 GB, free: 4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=5): time 1.623e-06/0.8095, allocations: 0 / 0.7793 GB, free: 4 MB / 490.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003203/0.8098, allocations: 156.9 kB / 0.7795 GB, free: 3.84 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.899e-05/0.8099, allocations: 85.05 kB / 0.7796 GB, free: 3.738 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009101/0.8108, allocations: 0.6245 MB / 0.7802 GB, free: 3.109 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.655e-05/0.8108, allocations: 25.7 kB / 0.7802 GB, free: 3.078 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/0.811, allocations: 140.1 kB / 0.7803 GB, free: 2.938 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.727e-05/0.811, allocations: 11.91 kB / 0.7804 GB, free: 2.926 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.174e-06/0.811, allocations: 0 / 0.7804 GB, free: 2.926 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002252/0.8113, allocations: 378.7 kB / 0.7807 GB, free: 2.547 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.539e-05/0.8114, allocations: 35.98 kB / 0.7808 GB, free: 2.512 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.57e-05/0.8114, allocations: 39.98 kB / 0.7808 GB, free: 2.473 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001273/0.8116, allocations: 31.98 kB / 0.7808 GB, free: 2.441 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.8116, allocations: 0 / 0.7808 GB, free: 2.441 MB / 490.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002853/0.8119, allocations: 165 kB / 0.781 GB, free: 2.273 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.8119, allocations: 4 kB / 0.781 GB, free: 2.27 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.8119, allocations: 0 / 0.781 GB, free: 2.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/0.8119, allocations: 4 kB / 0.781 GB, free: 2.266 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.008e-05/0.8119, allocations: 1.5 kB / 0.781 GB, free: 2.266 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.812, allocations: 0 / 0.781 GB, free: 2.266 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001309/0.8121, allocations: 15.78 kB / 0.781 GB, free: 2.25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.16e-05/0.8121, allocations: 12 kB / 0.781 GB, free: 2.238 MB / 490.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.0001413/0.8123, allocations: 137.7 kB / 0.7811 GB, free: 2.094 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.939e-05/0.8124, allocations: 51.34 kB / 0.7812 GB, free: 2.043 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001192/0.8125, allocations: 64.52 kB / 0.7813 GB, free: 1.977 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.8125, allocations: 0 / 0.7813 GB, free: 1.977 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.8125, allocations: 0 / 0.7813 GB, free: 1.977 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.8125, allocations: 0 / 0.7813 GB, free: 1.977 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003704/0.8129, allocations: 302.1 kB / 0.7815 GB, free: 1.645 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.8129, allocations: 8 kB / 0.7816 GB, free: 1.637 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.1e-06/0.8129, allocations: 0 / 0.7816 GB, free: 1.637 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.8129, allocations: 0 / 0.7816 GB, free: 1.637 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/0.813, allocations: 5.234 kB / 0.7816 GB, free: 1.633 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.813, allocations: 3.906 kB / 0.7816 GB, free: 1.629 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.813, allocations: 4 kB / 0.7816 GB, free: 1.625 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002532/0.8132, allocations: 173.9 kB / 0.7817 GB, free: 1.438 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/0.8134, allocations: 128.3 kB / 0.7819 GB, free: 1.293 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.42e-05/0.8134, allocations: 9.312 kB / 0.7819 GB, free: 1.285 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.8136, allocations: 8 kB / 0.7819 GB, free: 1.277 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.809e-05/0.8136, allocations: 3.984 kB / 0.7819 GB, free: 1.273 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.148e-05/0.8136, allocations: 4 kB / 0.7819 GB, free: 1.27 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0007142/0.8144, allocations: 0.5146 MB / 0.7824 GB, free: 0.7578 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000297/0.8147, allocations: 56 kB / 0.7824 GB, free: 0.7031 MB / 490.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.0005146/0.8152, allocations: 281.3 kB / 0.7827 GB, free: 432 kB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000208/0.8154, allocations: 123.4 kB / 0.7828 GB, free: 296 kB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.8154, allocations: 0 / 0.7828 GB, free: 296 kB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.592e-05/0.8155, allocations: 69.62 kB / 0.7829 GB, free: 220 kB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005158/0.816, allocations: 106.5 kB / 0.783 GB, free: 116 kB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001514/0.8176, allocations: 0.7487 MB / 0.7837 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008632/0.8185, allocations: 0.9686 MB / 0.7847 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of SimCode: time 3.81e-07/0.8185, allocations: 0 / 0.7847 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of Templates: time 0.01074/0.8292, allocations: 3.986 MB / 0.7886 GB, free: 10.42 MB / 0.4948 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe 2>&1)