Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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) 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 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") [: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 1.6.0+build.1/package.mo): time 0.4945/0.4945, allocations: 94.73 MB / 102 MB, free: 10.38 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001112/0.001111, allocations: 177.8 kB / 125.3 MB, free: 11.99 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.18/1.18, allocations: 170.5 MB / 319 MB, free: 9.355 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001659/0.00166, allocations: 113.1 kB / 381 MB, free: 18.15 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.302e-06/6.402e-06, allocations: 224 / 448.6 MB, free: 2.129 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1435, allocations: 61.53 MB / 0.4981 GB, free: 4.508 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.356/0.4996, allocations: 99.63 MB / 0.5954 GB, free: 2.715 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002239/0.4999, allocations: 75.95 kB / 0.5955 GB, free: 2.641 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.02301/0.5229, allocations: 8.376 MB / 0.6037 GB, free: 10.37 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.912e-05/0.523, allocations: 8 kB / 0.6037 GB, free: 10.36 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.0009964/0.524, allocations: 0.6565 MB / 0.6043 GB, free: 9.668 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.524, allocations: 9.031 kB / 0.6043 GB, free: 9.66 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001147/0.5241, allocations: 59.36 kB / 0.6044 GB, free: 9.602 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006656/0.5248, allocations: 387.5 kB / 0.6048 GB, free: 9.18 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.846e-05/0.5249, allocations: 12 kB / 0.6048 GB, free: 9.168 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.414e-05/0.5249, allocations: 24.73 kB / 0.6048 GB, free: 9.145 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000463/0.5254, allocations: 217.5 kB / 0.605 GB, free: 8.93 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005332/0.5259, allocations: 315 kB / 0.6053 GB, free: 8.609 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.526, allocations: 0 / 0.6053 GB, free: 8.609 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.069e-05/0.526, allocations: 4 kB / 0.6053 GB, free: 8.605 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.526, allocations: 8.562 kB / 0.6053 GB, free: 8.598 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001671/0.5277, allocations: 1.041 MB / 0.6063 GB, free: 7.508 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003846/0.5281, allocations: 193.8 kB / 0.6065 GB, free: 7.312 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000186/0.5283, allocations: 117.7 kB / 0.6066 GB, free: 7.195 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.143e-05/0.5283, allocations: 4 kB / 0.6066 GB, free: 7.191 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002294/0.5286, allocations: 147.8 kB / 0.6068 GB, free: 7.039 MB / 426.7 MB Notification: Performance of pre-optimization done (n=32): time 1.723e-06/0.5286, allocations: 0 / 0.6068 GB, free: 7.039 MB / 426.7 MB Notification: Performance of matching and sorting (n=32): time 0.0004478/0.529, allocations: 242 kB / 0.607 GB, free: 6.801 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.461e-05/0.5291, allocations: 106.8 kB / 0.6071 GB, free: 6.672 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002804/0.5294, allocations: 267.5 kB / 0.6074 GB, free: 6.406 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.405e-05/0.5294, allocations: 29.69 kB / 0.6074 GB, free: 6.371 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.5296, allocations: 177 kB / 0.6076 GB, free: 6.191 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.301e-05/0.5296, allocations: 102.5 kB / 0.6077 GB, free: 6.09 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.351e-05/0.5297, allocations: 0 / 0.6077 GB, free: 6.09 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.5298, allocations: 342.8 kB / 0.608 GB, free: 5.746 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001584/0.53, allocations: 84.66 kB / 0.6081 GB, free: 5.664 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001758/0.5302, allocations: 131 kB / 0.6082 GB, free: 5.531 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/0.5304, allocations: 79.97 kB / 0.6083 GB, free: 5.453 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.5304, allocations: 0 / 0.6083 GB, free: 5.453 MB / 426.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004267/0.5308, allocations: 273.9 kB / 0.6085 GB, free: 5.18 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.5308, allocations: 4 kB / 0.6085 GB, free: 5.176 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.5308, allocations: 3.984 kB / 0.6085 GB, free: 5.172 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.5309, allocations: 4 kB / 0.6085 GB, free: 5.168 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002856/0.5312, allocations: 63.97 kB / 0.6086 GB, free: 5.105 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.5312, allocations: 4 kB / 0.6086 GB, free: 5.102 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002207/0.5314, allocations: 39.73 kB / 0.6086 GB, free: 5.062 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.09e-05/0.5314, allocations: 7.938 kB / 0.6086 GB, free: 5.055 MB / 426.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: 13 ($whenCondition3,$whenCondition2,$whenCondition1,con.and3.u1,$PRE.con.offHys.entryTime,con.offHys.entryTime,$PRE.con.onTimer.entryTime,con.onTimer.entryTime,$PRE.con.offTimer.entryTime,con.offTimer.entryTime,con.on,$PRE.con.hys.y,con.hys.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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.0001101/0.5315, allocations: 118.4 kB / 0.6088 GB, free: 4.934 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.916e-05/0.5316, allocations: 35.53 kB / 0.6088 GB, free: 4.898 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.169e-05/0.5317, allocations: 35.95 kB / 0.6088 GB, free: 4.863 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.221e-06/0.5317, allocations: 7.984 kB / 0.6088 GB, free: 4.855 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.5317, allocations: 0 / 0.6088 GB, free: 4.855 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.5317, allocations: 0 / 0.6088 GB, free: 4.855 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009142/0.5326, allocations: 0.7287 MB / 0.6095 GB, free: 4.086 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.5327, allocations: 0 / 0.6095 GB, free: 4.086 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002728/0.5329, allocations: 55.91 kB / 0.6096 GB, free: 4.031 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.533, allocations: 4 kB / 0.6096 GB, free: 4.027 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.236e-05/0.533, allocations: 0.6094 kB / 0.6096 GB, free: 4.027 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.533, allocations: 4 kB / 0.6096 GB, free: 4.023 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.533, allocations: 4 kB / 0.6096 GB, free: 4.02 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006399/0.5336, allocations: 466 kB / 0.6101 GB, free: 3.547 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001464/0.5338, allocations: 140.5 kB / 0.6102 GB, free: 3.391 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.585e-05/0.5339, allocations: 4 kB / 0.6102 GB, free: 3.387 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002245/0.5341, allocations: 24.05 kB / 0.6102 GB, free: 3.363 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.245e-05/0.5342, allocations: 23.95 kB / 0.6102 GB, free: 3.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.839e-05/0.5342, allocations: 8 kB / 0.6102 GB, free: 3.332 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001962/0.5344, allocations: 203.1 kB / 0.6104 GB, free: 3.133 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003317/0.5348, allocations: 75.69 kB / 0.6105 GB, free: 3.059 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.con.I.y,cap.T) * Number of discrete variables: 9 (con.on,$whenCondition3,$whenCondition2,$whenCondition1,con.and3.u1,con.offHys.entryTime,con.onTimer.entryTime,con.offTimer.entryTime,con.hys.y) * Number of discrete states: 1 (con.hys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001586/0.5349, allocations: 108 kB / 0.6106 GB, free: 2.945 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003779/0.5353, allocations: 220.2 kB / 0.6108 GB, free: 2.73 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.5353, allocations: 0 / 0.6108 GB, free: 2.73 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001894/0.5355, allocations: 128.4 kB / 0.6109 GB, free: 2.605 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004023/0.5359, allocations: 53.7 kB / 0.611 GB, free: 2.559 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001213/0.5371, allocations: 0.5199 MB / 0.6115 GB, free: 2.016 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000481/0.5376, allocations: 0.8436 MB / 0.6123 GB, free: 1.145 MB / 426.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5377, allocations: 8 kB / 0.6123 GB, free: 1.137 MB / 426.7 MB Notification: Performance of Templates: time 0.007404/0.5451, allocations: 3.463 MB / 0.6157 GB, free: 13.76 MB / 442.7 MB make -j1 -f Buildings_1.6_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.makefile (rm -f Buildings_1.6_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo Buildings_1.6_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/Buildings_1.6_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./Buildings_1.6_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)