Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.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.LinearPiecewiseTwo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo") [: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.7499/0.7499, 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.001241/0.001241, allocations: 164.5 kB / 171.6 MB, free: 1.957 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.648/1.648, allocations: 170.5 MB / 373.9 MB, free: 15.87 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.001759/0.001759, allocations: 115.9 kB / 444.4 MB, free: 9.371 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.5781/0.5782, allocations: 73.4 MB / 0.666 GB, free: 62.62 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1746/0.7528, allocations: 103.2 MB / 0.7668 GB, free: 1.121 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004244/0.7534, allocations: 95.92 kB / 0.7669 GB, free: 1.027 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.0144/0.7678, allocations: 4 MB / 0.7708 GB, free: 13.1 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.732e-05/0.7679, allocations: 4 kB / 0.7708 GB, free: 13.09 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009236/0.7688, allocations: 0.5538 MB / 0.7713 GB, free: 12.48 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.106e-05/0.7689, allocations: 8.031 kB / 0.7713 GB, free: 12.48 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001772/0.7691, allocations: 31.62 kB / 0.7714 GB, free: 12.45 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009851/0.7701, allocations: 394.8 kB / 0.7718 GB, free: 12.02 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/0.7701, allocations: 0 / 0.7718 GB, free: 12.02 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.74e-05/0.7702, allocations: 11.91 kB / 0.7718 GB, free: 12.01 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001627/0.7703, allocations: 43.92 kB / 0.7718 GB, free: 11.97 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002252/0.7706, allocations: 65.67 kB / 0.7719 GB, free: 11.9 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.7706, allocations: 0 / 0.7719 GB, free: 11.9 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.938e-05/0.7706, allocations: 1.922 kB / 0.7719 GB, free: 11.9 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.492e-05/0.7707, allocations: 4 kB / 0.7719 GB, free: 11.89 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001142/0.7718, allocations: 482.4 kB / 0.7723 GB, free: 11.39 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001624/0.772, allocations: 38.58 kB / 0.7724 GB, free: 11.34 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.889e-05/0.7721, allocations: 21 kB / 0.7724 GB, free: 11.32 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.076e-05/0.7721, allocations: 0 / 0.7724 GB, free: 11.32 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.32e-05/0.7722, allocations: 34.56 kB / 0.7724 GB, free: 11.27 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 1.753e-06/0.7722, allocations: 8 kB / 0.7724 GB, free: 11.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003762/0.7726, allocations: 82.14 kB / 0.7725 GB, free: 11.18 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.413e-05/0.7726, allocations: 51.41 kB / 0.7726 GB, free: 11.12 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009858/0.7736, allocations: 470 kB / 0.773 GB, free: 10.66 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.076e-05/0.7737, allocations: 25.7 kB / 0.773 GB, free: 10.62 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.7738, allocations: 131.8 kB / 0.7732 GB, free: 10.49 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.297e-05/0.7738, allocations: 3.906 kB / 0.7732 GB, free: 10.49 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.252e-06/0.7739, allocations: 0 / 0.7732 GB, free: 10.49 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002723/0.7741, allocations: 346.8 kB / 0.7735 GB, free: 10.14 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.879e-05/0.7742, allocations: 8 kB / 0.7735 GB, free: 10.13 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.101e-05/0.7742, allocations: 12 kB / 0.7735 GB, free: 10.12 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.073e-05/0.7743, allocations: 15.98 kB / 0.7735 GB, free: 10.11 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.7743, allocations: 0 / 0.7735 GB, free: 10.11 MB / 490.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002231/0.7745, allocations: 89.31 kB / 0.7736 GB, free: 10.01 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.879e-05/0.7746, allocations: 4 kB / 0.7736 GB, free: 10.01 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.7746, allocations: 0.5 kB / 0.7736 GB, free: 10.01 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/0.7746, allocations: 0 / 0.7736 GB, free: 10.01 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.7748, allocations: 19.92 kB / 0.7736 GB, free: 9.988 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/0.7748, allocations: 1.688 kB / 0.7736 GB, free: 9.988 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.7749, allocations: 8.469 kB / 0.7736 GB, free: 9.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.7749, allocations: 4 kB / 0.7736 GB, free: 9.977 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 3 * 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 9.324e-05/0.775, allocations: 101.9 kB / 0.7737 GB, free: 9.871 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.43e-05/0.7751, allocations: 27.62 kB / 0.7738 GB, free: 9.844 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002361/0.7753, allocations: 95.89 kB / 0.7739 GB, free: 9.742 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.7754, allocations: 4 kB / 0.7739 GB, free: 9.738 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.7754, allocations: 0 / 0.7739 GB, free: 9.738 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.7754, allocations: 5.5 kB / 0.7739 GB, free: 9.734 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003435/0.7757, allocations: 273.9 kB / 0.7741 GB, free: 9.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.7758, allocations: 112 / 0.7741 GB, free: 9.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.556e-05/0.7758, allocations: 11.94 kB / 0.7741 GB, free: 9.418 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.7758, allocations: 0 / 0.7741 GB, free: 9.418 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.7759, allocations: 0 / 0.7741 GB, free: 9.418 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.67e-06/0.7759, allocations: 7.938 kB / 0.7742 GB, free: 9.41 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.7759, allocations: 0 / 0.7742 GB, free: 9.41 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002574/0.7761, allocations: 183.2 kB / 0.7743 GB, free: 9.215 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001908/0.7763, allocations: 129.4 kB / 0.7745 GB, free: 9.07 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.855e-05/0.7764, allocations: 3.438 kB / 0.7745 GB, free: 9.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.7765, allocations: 7.984 kB / 0.7745 GB, free: 9.062 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.111e-05/0.7766, allocations: 3.906 kB / 0.7745 GB, free: 9.059 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.7766, allocations: 4 kB / 0.7745 GB, free: 9.055 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0005774/0.7772, allocations: 372.5 kB / 0.7748 GB, free: 8.691 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003581/0.7775, allocations: 36.94 kB / 0.7749 GB, free: 8.656 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 (3): * Single equations (assignments): 3 * 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.0007843/0.7783, allocations: 191 kB / 0.775 GB, free: 8.516 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000294/0.7786, allocations: 79.91 kB / 0.7751 GB, free: 8.426 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.7787, allocations: 0.75 kB / 0.7751 GB, free: 8.426 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.03e-05/0.7787, allocations: 15.98 kB / 0.7751 GB, free: 8.41 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003924/0.7791, allocations: 26.03 kB / 0.7752 GB, free: 8.387 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.7802, allocations: 388.3 kB / 0.7755 GB, free: 7.977 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007227/0.781, allocations: 0.8117 MB / 0.7763 GB, free: 7.145 MB / 490.7 MB Notification: Performance of SimCode: time 4.3e-07/0.781, allocations: 0 / 0.7763 GB, free: 7.145 MB / 490.7 MB Notification: Performance of Templates: time 0.007153/0.7881, allocations: 1.743 MB / 0.778 GB, free: 5.469 MB / 490.7 MB make -j1 -f Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.makefile (rm -f Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; mkfifo Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe >> ../files/Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.sim & ./Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe 2>&1)