Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.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.SpeedShift,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift") [: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.7096/0.7096, allocations: 132.4 MB / 139.7 MB, free: 15.58 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.002063/0.002063, allocations: 175 kB / 171.6 MB, free: 1.973 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.609/1.609, 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.002103/0.002102, allocations: 110.5 kB / 444.4 MB, free: 9.453 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.6078/0.6078, allocations: 73.4 MB / 0.666 GB, free: 62.24 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1871/0.795, allocations: 106.9 MB / 0.7704 GB, free: 13.4 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000324/0.7954, allocations: 97.77 kB / 0.7705 GB, free: 13.3 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.0365/0.8319, allocations: 12.23 MB / 0.7824 GB, free: 1.133 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.839e-05/0.8321, allocations: 6.438 kB / 0.7824 GB, free: 1.129 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001548/0.8336, allocations: 0.6936 MB / 0.7831 GB, free: 392 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.08e-05/0.8337, allocations: 12.03 kB / 0.7831 GB, free: 380 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002011/0.8339, allocations: 63.16 kB / 0.7832 GB, free: 316 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007799/0.8347, allocations: 329.4 kB / 0.7835 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.404e-05/0.8348, allocations: 4 kB / 0.7835 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.088e-05/0.8348, allocations: 4 kB / 0.7835 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002394/0.835, allocations: 87.95 kB / 0.7836 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002828/0.8353, allocations: 110.7 kB / 0.7837 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.8354, allocations: 4 kB / 0.7837 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.181e-05/0.8354, allocations: 3.906 kB / 0.7837 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.8354, allocations: 3.984 kB / 0.7837 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001179/0.8366, allocations: 0.5009 MB / 0.7842 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002137/0.8368, allocations: 98.56 kB / 0.7843 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.826e-05/0.8369, allocations: 54.94 kB / 0.7843 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.099e-05/0.837, allocations: 8 kB / 0.7844 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001739/0.8372, allocations: 125 kB / 0.7845 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 2.815e-06/0.8372, allocations: 0 / 0.7845 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.0005029/0.8377, allocations: 191.3 kB / 0.7847 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.783e-05/0.8378, allocations: 81.11 kB / 0.7847 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009961/0.8388, allocations: 0.6166 MB / 0.7853 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.8388, allocations: 25.7 kB / 0.7854 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/0.839, allocations: 159.9 kB / 0.7855 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.558e-05/0.839, allocations: 19.72 kB / 0.7855 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.025e-06/0.839, allocations: 0 / 0.7855 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000196/0.8392, allocations: 370.8 kB / 0.7859 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.739e-05/0.8393, allocations: 51.97 kB / 0.7859 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.464e-05/0.8394, allocations: 39.97 kB / 0.786 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001596/0.8396, allocations: 51.91 kB / 0.786 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.8396, allocations: 0 / 0.786 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000361/0.84, allocations: 189.8 kB / 0.7862 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.84, allocations: 4 kB / 0.7862 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.84, allocations: 0 / 0.7862 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.84, allocations: 4 kB / 0.7862 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.634e-05/0.8401, allocations: 7.984 kB / 0.7862 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.8401, allocations: 0 / 0.7862 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001428/0.8403, allocations: 12 kB / 0.7862 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.168e-05/0.8403, allocations: 4 kB / 0.7862 GB, free: 13.03 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,booleanToInteger.u,booleanToInteger.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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.0001558/0.8405, allocations: 144.5 kB / 0.7864 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.105e-05/0.8406, allocations: 55.91 kB / 0.7864 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004717/0.8411, allocations: 220.5 kB / 0.7866 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.8411, allocations: 0 / 0.7866 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/0.8411, allocations: 7.906 kB / 0.7866 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.8411, allocations: 0 / 0.7866 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004345/0.8415, allocations: 334.1 kB / 0.787 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.8416, allocations: 1.688 kB / 0.787 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.482e-05/0.8416, allocations: 4 kB / 0.787 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.8416, allocations: 4 kB / 0.787 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.922e-05/0.8416, allocations: 3.984 kB / 0.787 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.533e-06/0.8417, allocations: 8.562 kB / 0.787 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.8417, allocations: 0 / 0.787 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003694/0.842, allocations: 227.8 kB / 0.7872 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002998/0.8424, allocations: 144.4 kB / 0.7873 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.456e-05/0.8425, allocations: 0 / 0.7873 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.8426, allocations: 8 kB / 0.7873 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.226e-05/0.8427, allocations: 3.984 kB / 0.7874 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.85e-05/0.8427, allocations: 9.5 kB / 0.7874 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0007483/0.8434, allocations: 0.5107 MB / 0.7879 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0007094/0.8442, allocations: 143.8 kB / 0.788 GB, free: 11.14 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,speRat.a,speRat.b,speRat.last,speRat.nextEvent,booleanToInteger.u,booleanToInteger.y) * Number of discrete states: 5 (speRat.last,speRat.nextEvent,speRat.b,speRat.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.001298/0.8455, allocations: 351.9 kB / 0.7883 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002661/0.8457, allocations: 113.7 kB / 0.7884 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.8458, allocations: 0 / 0.7884 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001199/0.8459, allocations: 93.62 kB / 0.7885 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006448/0.8465, allocations: 95.66 kB / 0.7886 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001849/0.8484, allocations: 0.7657 MB / 0.7894 GB, free: 9.684 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000887/0.8493, allocations: 0.9826 MB / 0.7903 GB, free: 8.676 MB / 0.4948 GB Notification: Performance of SimCode: time 7.11e-07/0.8493, allocations: 5.875 kB / 0.7903 GB, free: 8.672 MB / 0.4948 GB Notification: Performance of Templates: time 0.01491/0.8642, allocations: 4.841 MB / 0.7951 GB, free: 3.887 MB / 0.4948 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe 2>&1)