Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.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.ChillerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch") [: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.7619/0.7619, 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.0013/0.001301, allocations: 169 kB / 171.6 MB, free: 2.031 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.664/1.664, allocations: 170.5 MB / 373.9 MB, free: 15.84 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.001856/0.001856, allocations: 117.9 kB / 444.4 MB, free: 9.391 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.5354/0.5354, allocations: 73.4 MB / 0.666 GB, free: 62.29 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1552/0.6907, allocations: 102.2 MB / 0.7658 GB, free: 2.027 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002759/0.691, allocations: 87.94 kB / 0.7659 GB, free: 1.941 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.00417/0.6952, allocations: 1.101 MB / 0.767 GB, free: 0.875 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.477e-06/0.6952, allocations: 0 / 0.767 GB, free: 0.875 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004771/0.6957, allocations: 384.3 kB / 0.7674 GB, free: 468 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.6958, allocations: 8.031 kB / 0.7674 GB, free: 460 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.168e-05/0.6958, allocations: 7.906 kB / 0.7674 GB, free: 452 kB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000198/0.696, allocations: 184.8 kB / 0.7676 GB, free: 228 kB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.6961, allocations: 4 kB / 0.7676 GB, free: 224 kB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.785e-05/0.6961, allocations: 4 kB / 0.7676 GB, free: 220 kB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000116/0.6962, allocations: 28 kB / 0.7676 GB, free: 192 kB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.6963, allocations: 60.2 kB / 0.7677 GB, free: 128 kB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.6964, allocations: 3.938 kB / 0.7677 GB, free: 124 kB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.6964, allocations: 3.906 kB / 0.7677 GB, free: 120 kB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.6964, allocations: 0 / 0.7677 GB, free: 120 kB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006202/0.697, allocations: 297.3 kB / 0.7679 GB, free: 15.79 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.255e-05/0.6971, allocations: 34.58 kB / 0.768 GB, free: 15.75 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.121e-05/0.6972, allocations: 24.89 kB / 0.768 GB, free: 15.72 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.6972, allocations: 0 / 0.768 GB, free: 15.72 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.6973, allocations: 42.64 kB / 0.768 GB, free: 15.67 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 1.463e-06/0.6973, allocations: 0 / 0.768 GB, free: 15.67 MB / 490.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002227/0.6975, allocations: 57.59 kB / 0.7681 GB, free: 15.61 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.6975, allocations: 54.34 kB / 0.7681 GB, free: 15.54 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.6977, allocations: 123.9 kB / 0.7683 GB, free: 15.41 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.508e-05/0.6977, allocations: 29.7 kB / 0.7683 GB, free: 15.38 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.529e-05/0.6978, allocations: 88.08 kB / 0.7684 GB, free: 15.29 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.305e-05/0.6978, allocations: 16.78 kB / 0.7684 GB, free: 15.27 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.11e-06/0.6978, allocations: 4 kB / 0.7684 GB, free: 15.27 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.698, allocations: 318.8 kB / 0.7687 GB, free: 14.95 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.65e-05/0.698, allocations: 8 kB / 0.7687 GB, free: 14.94 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.314e-05/0.6981, allocations: 15.98 kB / 0.7687 GB, free: 14.93 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.883e-05/0.6981, allocations: 16 kB / 0.7687 GB, free: 14.91 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.6981, allocations: 3.938 kB / 0.7687 GB, free: 14.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001239/0.6983, allocations: 63.84 kB / 0.7688 GB, free: 14.84 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.6983, allocations: 4 kB / 0.7688 GB, free: 14.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.6983, allocations: 5.719 kB / 0.7688 GB, free: 14.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.6983, allocations: 8 kB / 0.7688 GB, free: 14.83 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.6984, allocations: 11.98 kB / 0.7688 GB, free: 14.82 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.405e-06/0.6985, allocations: 3.906 kB / 0.7688 GB, free: 14.81 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.309e-05/0.6986, allocations: 10.48 kB / 0.7688 GB, free: 14.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.6986, allocations: 7.984 kB / 0.7689 GB, free: 14.8 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: 2 ($PRE.chiSwi.hysteresis.y,chiSwi.hysteresis.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.595e-05/0.6987, allocations: 109.9 kB / 0.769 GB, free: 14.68 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.631e-05/0.6987, allocations: 7.906 kB / 0.769 GB, free: 14.68 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.065e-05/0.6988, allocations: 8.125 kB / 0.769 GB, free: 14.67 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.6988, allocations: 4 kB / 0.769 GB, free: 14.66 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.6988, allocations: 0 / 0.769 GB, free: 14.66 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.6988, allocations: 0 / 0.769 GB, free: 14.66 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001885/0.699, allocations: 170.1 kB / 0.7691 GB, free: 14.46 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.699, allocations: 0 / 0.7691 GB, free: 14.46 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.93e-05/0.6991, allocations: 15.94 kB / 0.7692 GB, free: 14.45 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.6991, allocations: 0 / 0.7692 GB, free: 14.45 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.6991, allocations: 10.48 kB / 0.7692 GB, free: 14.44 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.6991, allocations: 3.75 kB / 0.7692 GB, free: 14.44 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.6991, allocations: 0 / 0.7692 GB, free: 14.44 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001659/0.6993, allocations: 155.4 kB / 0.7693 GB, free: 14.27 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.609e-05/0.6994, allocations: 93 kB / 0.7694 GB, free: 14.16 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.438e-05/0.6994, allocations: 0 / 0.7694 GB, free: 14.16 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.6995, allocations: 15.98 kB / 0.7694 GB, free: 14.14 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.66e-05/0.6996, allocations: 7.984 kB / 0.7694 GB, free: 14.14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.6996, allocations: 3.938 kB / 0.7694 GB, free: 14.13 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.412e-05/0.6997, allocations: 95.28 kB / 0.7695 GB, free: 14.04 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002285/0.6999, allocations: 15.94 kB / 0.7695 GB, free: 14.02 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: 1 (chiSwi.hysteresis.y) * Number of discrete states: 1 (chiSwi.hysteresis.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001597/0.7001, allocations: 103.2 kB / 0.7696 GB, free: 13.91 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001322/0.7002, allocations: 36.92 kB / 0.7697 GB, free: 13.88 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.7002, allocations: 0 / 0.7697 GB, free: 13.88 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.953e-05/0.7003, allocations: 16 kB / 0.7697 GB, free: 13.86 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002006/0.7005, allocations: 13.02 kB / 0.7697 GB, free: 13.85 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003529/0.7009, allocations: 87.69 kB / 0.7698 GB, free: 13.74 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003291/0.7012, allocations: 0.7188 MB / 0.7705 GB, free: 13 MB / 490.7 MB Notification: Performance of SimCode: time 2.31e-07/0.7012, allocations: 0 / 0.7705 GB, free: 13 MB / 490.7 MB Notification: Performance of Templates: time 0.003212/0.7044, allocations: 0.6982 MB / 0.7712 GB, free: 12.34 MB / 490.7 MB make -j1 -f Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.makefile (rm -f Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; mkfifo Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe >> ../files/Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.sim & ./Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe 2>&1)