Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.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.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") [: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.8464/0.8464, allocations: 132.4 MB / 139.7 MB, free: 15.56 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.001112/0.001112, allocations: 169.8 kB / 171.6 MB, free: 1.965 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.684/1.684, allocations: 170.5 MB / 373.9 MB, free: 15.91 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.001741/0.001742, allocations: 108.9 kB / 444.4 MB, free: 9.457 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.5784/0.5784, allocations: 73.38 MB / 0.666 GB, free: 62.63 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1498/0.7283, allocations: 101.5 MB / 0.7652 GB, free: 2.852 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002511/0.7287, allocations: 86.66 kB / 0.7652 GB, free: 2.77 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.002031/0.7307, allocations: 499.3 kB / 0.7657 GB, free: 2.305 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.7307, allocations: 4 kB / 0.7657 GB, free: 2.301 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003455/0.7311, allocations: 325.9 kB / 0.766 GB, free: 1.941 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.364e-05/0.7311, allocations: 8.031 kB / 0.766 GB, free: 1.934 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.442e-05/0.7312, allocations: 5.156 kB / 0.766 GB, free: 1.934 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.7313, allocations: 172.8 kB / 0.7662 GB, free: 1.727 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.7314, allocations: 0.7188 kB / 0.7662 GB, free: 1.727 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.989e-06/0.7314, allocations: 0 / 0.7662 GB, free: 1.727 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.225e-05/0.7315, allocations: 16.55 kB / 0.7662 GB, free: 1.711 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.835e-05/0.7315, allocations: 34.23 kB / 0.7663 GB, free: 1.672 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.7316, allocations: 3.594 kB / 0.7663 GB, free: 1.672 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.7316, allocations: 5.625 kB / 0.7663 GB, free: 1.668 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.7316, allocations: 0 / 0.7663 GB, free: 1.668 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003735/0.732, allocations: 241.5 kB / 0.7665 GB, free: 1.395 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.319e-05/0.732, allocations: 18.58 kB / 0.7665 GB, free: 1.367 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.992e-05/0.7321, allocations: 12.92 kB / 0.7665 GB, free: 1.352 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.7321, allocations: 4 kB / 0.7665 GB, free: 1.348 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.7321, allocations: 34.47 kB / 0.7666 GB, free: 1.305 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.7321, allocations: 4 kB / 0.7666 GB, free: 1.301 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001627/0.7323, allocations: 45.62 kB / 0.7666 GB, free: 1.25 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.7323, allocations: 51.41 kB / 0.7667 GB, free: 1.188 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.871e-05/0.7324, allocations: 97.55 kB / 0.7667 GB, free: 1.086 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.7325, allocations: 29.64 kB / 0.7668 GB, free: 1.051 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.689e-05/0.7325, allocations: 84.12 kB / 0.7669 GB, free: 0.9648 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.678e-05/0.7325, allocations: 7.906 kB / 0.7669 GB, free: 0.957 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-06/0.7325, allocations: 0.5625 kB / 0.7669 GB, free: 0.957 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.7327, allocations: 318.9 kB / 0.7672 GB, free: 0.6367 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.366e-05/0.7327, allocations: 0 / 0.7672 GB, free: 0.6367 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.55e-05/0.7327, allocations: 10.94 kB / 0.7672 GB, free: 0.6289 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.92e-05/0.7327, allocations: 4 kB / 0.7672 GB, free: 0.625 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.7327, allocations: 0 / 0.7672 GB, free: 0.625 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.928e-05/0.7328, allocations: 48.41 kB / 0.7672 GB, free: 0.5742 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.7328, allocations: 8 kB / 0.7672 GB, free: 0.5664 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.7329, allocations: 0 / 0.7672 GB, free: 0.5664 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.7329, allocations: 0 / 0.7672 GB, free: 0.5664 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.226e-05/0.733, allocations: 8.094 kB / 0.7672 GB, free: 0.5586 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.733, allocations: 8.938 kB / 0.7673 GB, free: 0.5508 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.991e-05/0.733, allocations: 4 kB / 0.7673 GB, free: 0.5469 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.733, allocations: 0 / 0.7673 GB, free: 0.5469 MB / 474.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 7.353e-05/0.7331, allocations: 105.8 kB / 0.7674 GB, free: 448 kB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.57e-05/0.7331, allocations: 4 kB / 0.7674 GB, free: 444 kB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.733e-05/0.7332, allocations: 3.625 kB / 0.7674 GB, free: 444 kB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.7332, allocations: 4 kB / 0.7674 GB, free: 440 kB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.7332, allocations: 2.125 kB / 0.7674 GB, free: 440 kB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.7332, allocations: 3.906 kB / 0.7674 GB, free: 436 kB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001485/0.7334, allocations: 146.2 kB / 0.7675 GB, free: 252 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.7334, allocations: 0 / 0.7675 GB, free: 252 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.519e-05/0.7334, allocations: 4 kB / 0.7675 GB, free: 248 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.7334, allocations: 0 / 0.7675 GB, free: 248 kB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.7335, allocations: 0 / 0.7675 GB, free: 248 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.7335, allocations: 0 / 0.7675 GB, free: 248 kB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.7335, allocations: 4 kB / 0.7675 GB, free: 244 kB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001194/0.7336, allocations: 143.5 kB / 0.7677 GB, free: 84 kB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.404e-05/0.7337, allocations: 89 kB / 0.7677 GB, free: 15.98 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.7337, allocations: 0 / 0.7677 GB, free: 15.98 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.202e-05/0.7338, allocations: 3.938 kB / 0.7677 GB, free: 15.97 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.079e-05/0.7338, allocations: 4 kB / 0.7678 GB, free: 15.97 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.7339, allocations: 0 / 0.7678 GB, free: 15.97 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.297e-05/0.7339, allocations: 98.44 kB / 0.7678 GB, free: 15.88 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002208/0.7341, allocations: 4 kB / 0.7678 GB, free: 15.87 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001202/0.7343, allocations: 95.25 kB / 0.7679 GB, free: 15.77 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.773e-05/0.7343, allocations: 12.66 kB / 0.768 GB, free: 15.75 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.7344, allocations: 0 / 0.768 GB, free: 15.75 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.791e-05/0.7344, allocations: 4 kB / 0.768 GB, free: 15.75 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001417/0.7345, allocations: 0 / 0.768 GB, free: 15.75 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002313/0.7348, allocations: 73.91 kB / 0.768 GB, free: 15.66 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002911/0.7351, allocations: 0.6926 MB / 0.7687 GB, free: 14.94 MB / 490.7 MB Notification: Performance of SimCode: time 2.2e-07/0.7351, allocations: 0 / 0.7687 GB, free: 14.94 MB / 490.7 MB Notification: Performance of Templates: time 0.002035/0.7371, allocations: 318.3 kB / 0.769 GB, free: 14.65 MB / 490.7 MB make -j1 -f Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile (rm -f Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & ./Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1)