Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.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.RequestCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") [: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.7496/0.7496, allocations: 132.4 MB / 139.7 MB, free: 15.54 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.001294/0.001294, allocations: 164.6 kB / 171.6 MB, free: 2.035 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.617/1.617, allocations: 170.5 MB / 373.9 MB, free: 15.89 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.001751/0.001751, allocations: 104 kB / 444.4 MB, free: 9.418 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.6033/0.6033, allocations: 73.39 MB / 0.666 GB, free: 62.32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.173/0.7764, allocations: 102.3 MB / 0.7659 GB, free: 1.973 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002528/0.7767, allocations: 87.94 kB / 0.766 GB, free: 1.887 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.004792/0.7815, allocations: 1.17 MB / 0.7671 GB, free: 0.7578 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.512e-05/0.7815, allocations: 4 kB / 0.7672 GB, free: 0.7539 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.0008229/0.7823, allocations: 435.7 kB / 0.7676 GB, free: 280 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.95e-05/0.7824, allocations: 16.02 kB / 0.7676 GB, free: 264 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.356e-05/0.7825, allocations: 7.906 kB / 0.7676 GB, free: 256 kB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003947/0.7829, allocations: 186.8 kB / 0.7678 GB, free: 28 kB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/0.7829, allocations: 4 kB / 0.7678 GB, free: 24 kB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.945e-05/0.783, allocations: 6.906 kB / 0.7678 GB, free: 20 kB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001891/0.7832, allocations: 35.98 kB / 0.7678 GB, free: 15.98 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.7834, allocations: 65.67 kB / 0.7679 GB, free: 15.91 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.7834, allocations: 4 kB / 0.7679 GB, free: 15.91 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.919e-05/0.7834, allocations: 4 kB / 0.7679 GB, free: 15.91 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.7834, allocations: 0 / 0.7679 GB, free: 15.91 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007587/0.7842, allocations: 329.1 kB / 0.7682 GB, free: 15.55 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001459/0.7843, allocations: 49.5 kB / 0.7682 GB, free: 15.49 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.562e-05/0.7844, allocations: 40.91 kB / 0.7683 GB, free: 15.45 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.332e-05/0.7845, allocations: 0 / 0.7683 GB, free: 15.45 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001457/0.7846, allocations: 79.42 kB / 0.7684 GB, free: 15.36 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 3.456e-06/0.7846, allocations: 1.5 kB / 0.7684 GB, free: 15.36 MB / 490.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002834/0.7849, allocations: 77.59 kB / 0.7684 GB, free: 15.28 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.288e-05/0.785, allocations: 77.11 kB / 0.7685 GB, free: 15.18 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001826/0.7852, allocations: 119.8 kB / 0.7686 GB, free: 15.06 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.894e-05/0.7853, allocations: 29.7 kB / 0.7687 GB, free: 15.02 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.992e-05/0.7853, allocations: 88.03 kB / 0.7687 GB, free: 14.93 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.801e-05/0.7854, allocations: 23.75 kB / 0.7688 GB, free: 14.91 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.035e-06/0.7854, allocations: 0 / 0.7688 GB, free: 14.91 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001812/0.7856, allocations: 326.7 kB / 0.7691 GB, free: 14.58 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.542e-05/0.7857, allocations: 27.98 kB / 0.7691 GB, free: 14.55 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.937e-05/0.7857, allocations: 28 kB / 0.7691 GB, free: 14.53 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.842e-05/0.7858, allocations: 25.8 kB / 0.7691 GB, free: 14.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.7858, allocations: 0 / 0.7691 GB, free: 14.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001854/0.786, allocations: 93.58 kB / 0.7692 GB, free: 14.41 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.786, allocations: 8 kB / 0.7692 GB, free: 14.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.786, allocations: 4 kB / 0.7692 GB, free: 14.39 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.7861, allocations: 0 / 0.7692 GB, free: 14.39 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000163/0.7862, allocations: 23.92 kB / 0.7693 GB, free: 14.37 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.7863, allocations: 1.797 kB / 0.7693 GB, free: 14.37 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/0.7864, allocations: 31.89 kB / 0.7693 GB, free: 14.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.362e-05/0.7865, allocations: 2.75 kB / 0.7693 GB, free: 14.34 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: 6 ($whenCondition1,reqCou.nInc,$PRE.act1.T_start,act1.T_start,$PRE.act1.count,act1.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * 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 0.0001503/0.7866, allocations: 135.6 kB / 0.7694 GB, free: 14.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.092e-05/0.7866, allocations: 7.906 kB / 0.7694 GB, free: 14.19 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.969e-05/0.7867, allocations: 12.5 kB / 0.7695 GB, free: 14.18 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-06/0.7867, allocations: 0 / 0.7695 GB, free: 14.18 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.7867, allocations: 4 kB / 0.7695 GB, free: 14.17 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.7867, allocations: 3.938 kB / 0.7695 GB, free: 14.17 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003619/0.7871, allocations: 327 kB / 0.7698 GB, free: 13.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.7871, allocations: 0 / 0.7698 GB, free: 13.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001095/0.7872, allocations: 19.98 kB / 0.7698 GB, free: 13.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.7873, allocations: 0 / 0.7698 GB, free: 13.79 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.7873, allocations: 7.984 kB / 0.7698 GB, free: 13.78 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-06/0.7873, allocations: 0.5 kB / 0.7698 GB, free: 13.78 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.7873, allocations: 0 / 0.7698 GB, free: 13.78 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002151/0.7875, allocations: 190.9 kB / 0.77 GB, free: 13.58 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.93e-05/0.7876, allocations: 89.02 kB / 0.7701 GB, free: 13.47 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.181e-05/0.7877, allocations: 8.609 kB / 0.7701 GB, free: 13.46 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/0.7879, allocations: 23.98 kB / 0.7701 GB, free: 13.44 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.788, allocations: 19.97 kB / 0.7701 GB, free: 13.42 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.788, allocations: 0 / 0.7701 GB, free: 13.42 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.494e-05/0.7881, allocations: 103.2 kB / 0.7702 GB, free: 13.32 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002398/0.7884, allocations: 16 kB / 0.7702 GB, free: 13.3 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: 4 ($whenCondition1,reqCou.nInc,act1.T_start,act1.count) * Number of discrete states: 2 (act1.count,reqCou.nInc) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.0001919/0.7886, allocations: 107.2 kB / 0.7703 GB, free: 13.19 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002586/0.7888, allocations: 123.1 kB / 0.7705 GB, free: 13.06 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.7888, allocations: 0 / 0.7705 GB, free: 13.06 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000113/0.789, allocations: 69.62 kB / 0.7705 GB, free: 12.99 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/0.7892, allocations: 7.906 kB / 0.7705 GB, free: 12.98 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004894/0.7897, allocations: 125.2 kB / 0.7706 GB, free: 12.84 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004766/0.7902, allocations: 0.7126 MB / 0.7713 GB, free: 12.1 MB / 490.7 MB Notification: Performance of SimCode: time 2.3e-07/0.7902, allocations: 0 / 0.7713 GB, free: 12.1 MB / 490.7 MB Notification: Performance of Templates: time 0.004363/0.7946, allocations: 1.203 MB / 0.7725 GB, free: 10.94 MB / 490.7 MB make -j1 -f Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.makefile (rm -f Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; mkfifo Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe >> ../files/Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.sim & ./Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1)