Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.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.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis") translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis") [: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.7723/0.7723, allocations: 132.4 MB / 139.7 MB, free: 15.53 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.001072/0.001072, allocations: 165.9 kB / 171.6 MB, free: 1.992 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.678/1.678, allocations: 170.5 MB / 373.8 MB, free: 15.81 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.002041/0.002041, allocations: 112.5 kB / 444.4 MB, free: 9.355 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.5253/0.5253, allocations: 73.39 MB / 0.666 GB, free: 62.3 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1694/0.6948, allocations: 106.4 MB / 0.7699 GB, free: 13.82 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002569/0.6951, allocations: 75.25 kB / 0.77 GB, free: 13.75 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.02411/0.7192, allocations: 7.796 MB / 0.7776 GB, free: 6.012 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.19e-05/0.7193, allocations: 8 kB / 0.7776 GB, free: 6.004 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001238/0.7206, allocations: 0.6143 MB / 0.7782 GB, free: 5.348 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.7206, allocations: 12.03 kB / 0.7782 GB, free: 5.336 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002128/0.7209, allocations: 47.44 kB / 0.7783 GB, free: 5.289 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008969/0.7218, allocations: 379.3 kB / 0.7786 GB, free: 4.875 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.973e-05/0.7218, allocations: 12 kB / 0.7787 GB, free: 4.863 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.563e-05/0.7219, allocations: 16 kB / 0.7787 GB, free: 4.848 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004423/0.7223, allocations: 178.1 kB / 0.7788 GB, free: 4.676 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005166/0.7229, allocations: 273.5 kB / 0.7791 GB, free: 4.391 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.7229, allocations: 0 / 0.7791 GB, free: 4.391 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.726e-05/0.7229, allocations: 0 / 0.7791 GB, free: 4.391 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.7229, allocations: 5.062 kB / 0.7791 GB, free: 4.387 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001772/0.7247, allocations: 0.9195 MB / 0.78 GB, free: 3.41 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003525/0.7251, allocations: 154.1 kB / 0.7802 GB, free: 3.254 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001641/0.7253, allocations: 95.52 kB / 0.7802 GB, free: 3.16 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.686e-05/0.7253, allocations: 192 / 0.7802 GB, free: 3.16 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.7254, allocations: 38.75 kB / 0.7803 GB, free: 3.113 MB / 490.7 MB Notification: Performance of pre-optimization done (n=21): time 1.573e-06/0.7254, allocations: 0 / 0.7803 GB, free: 3.113 MB / 490.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004527/0.7258, allocations: 196.4 kB / 0.7805 GB, free: 2.918 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.045e-05/0.7259, allocations: 136.5 kB / 0.7806 GB, free: 2.754 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003095/0.7262, allocations: 251.6 kB / 0.7808 GB, free: 2.508 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.917e-05/0.7263, allocations: 25.7 kB / 0.7809 GB, free: 2.477 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.7264, allocations: 168 kB / 0.781 GB, free: 2.309 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.735e-05/0.7265, allocations: 70.92 kB / 0.7811 GB, free: 2.238 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.093e-05/0.7265, allocations: 0 / 0.7811 GB, free: 2.238 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.7266, allocations: 338.8 kB / 0.7814 GB, free: 1.898 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.7268, allocations: 64 kB / 0.7815 GB, free: 1.836 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001496/0.7269, allocations: 108.2 kB / 0.7816 GB, free: 1.715 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001237/0.7271, allocations: 64.8 kB / 0.7816 GB, free: 1.652 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.7271, allocations: 0 / 0.7816 GB, free: 1.652 MB / 490.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003694/0.7275, allocations: 217.8 kB / 0.7818 GB, free: 1.434 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.7275, allocations: 4 kB / 0.7819 GB, free: 1.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.7275, allocations: 4.031 kB / 0.7819 GB, free: 1.426 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.7275, allocations: 48 / 0.7819 GB, free: 1.426 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002594/0.7278, allocations: 59.83 kB / 0.7819 GB, free: 1.367 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.822e-06/0.7278, allocations: 0 / 0.7819 GB, free: 1.367 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002143/0.728, allocations: 37.14 kB / 0.7819 GB, free: 1.332 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.012e-05/0.7281, allocations: 10.91 kB / 0.782 GB, free: 1.324 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.con.hys.y,con.hys.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001119/0.7282, allocations: 112.8 kB / 0.7821 GB, free: 1.207 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.05e-05/0.7283, allocations: 31.62 kB / 0.7821 GB, free: 1.176 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.865e-05/0.7284, allocations: 35.05 kB / 0.7821 GB, free: 1.141 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.7284, allocations: 8 kB / 0.7821 GB, free: 1.133 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.7284, allocations: 0 / 0.7821 GB, free: 1.133 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.7284, allocations: 0 / 0.7821 GB, free: 1.133 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004279/0.7288, allocations: 353.8 kB / 0.7825 GB, free: 0.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.7288, allocations: 0 / 0.7825 GB, free: 0.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000257/0.7291, allocations: 47.91 kB / 0.7825 GB, free: 0.7031 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.682e-06/0.7291, allocations: 5.875 kB / 0.7825 GB, free: 0.6992 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.281e-05/0.7292, allocations: 0 / 0.7825 GB, free: 0.6992 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.7292, allocations: 4 kB / 0.7825 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.419e-05/0.7292, allocations: 3.906 kB / 0.7825 GB, free: 0.6914 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005731/0.7298, allocations: 387.1 kB / 0.7829 GB, free: 304 kB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001516/0.7299, allocations: 128.7 kB / 0.783 GB, free: 156 kB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.431e-05/0.73, allocations: 7.984 kB / 0.783 GB, free: 148 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002224/0.7302, allocations: 28.05 kB / 0.7831 GB, free: 120 kB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.135e-05/0.7303, allocations: 11.97 kB / 0.7831 GB, free: 108 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.63e-05/0.7303, allocations: 7.906 kB / 0.7831 GB, free: 100 kB / 490.7 MB Notification: Performance of sort global known variables: time 0.0002711/0.7306, allocations: 203.1 kB / 0.7833 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003382/0.7309, allocations: 67.78 kB / 0.7833 GB, free: 15.83 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.PID.I.y,cap.T) * Number of discrete variables: 1 (con.hys.y) * Number of discrete states: 1 (con.hys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001928/0.7311, allocations: 103.2 kB / 0.7834 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003309/0.7315, allocations: 165.7 kB / 0.7836 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.7315, allocations: 0 / 0.7836 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001549/0.7316, allocations: 83.94 kB / 0.7837 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004506/0.7321, allocations: 61.77 kB / 0.7837 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/0.7333, allocations: 461.1 kB / 0.7842 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005751/0.7339, allocations: 0.8177 MB / 0.785 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of SimCode: time 2.264e-06/0.7339, allocations: 0.6562 kB / 0.785 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of Templates: time 0.007813/0.7417, allocations: 2.998 MB / 0.7879 GB, free: 11.17 MB / 0.4948 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.makefile (rm -f Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.sim & ./Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1)