Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis") [: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 8.1.4-maint.8.1.x/package.mo): time 1.371/1.371, allocations: 289.8 MB / 297.1 MB, free: 8.965 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009309/0.0009309, allocations: 172.4 kB / 366.3 MB, free: 11.36 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.145/1.145, allocations: 205.1 MB / 0.6256 GB, free: 11.38 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008675/0.0008676, allocations: 89.25 kB / 0.7396 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 7.715e-06/7.735e-06, allocations: 4 kB / 0.859 GB, free: 148.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1653, allocations: 116.3 MB / 0.9726 GB, free: 31.7 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4517/0.617, allocations: 138.9 MB / 1.108 GB, free: 16.54 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001831/0.6172, allocations: 68.73 kB / 1.108 GB, free: 16.54 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.01174/0.629, allocations: 4.04 MB / 1.112 GB, free: 16.28 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.363e-06/0.629, allocations: 2.75 kB / 1.112 GB, free: 16.28 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005581/0.6296, allocations: 0.5154 MB / 1.113 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.6296, allocations: 14.08 kB / 1.113 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.896e-05/0.6297, allocations: 26.16 kB / 1.113 GB, free: 15.81 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.6298, allocations: 202.6 kB / 1.113 GB, free: 15.59 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.6299, allocations: 3.375 kB / 1.113 GB, free: 15.59 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.532e-05/0.6299, allocations: 20.78 kB / 1.113 GB, free: 15.59 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001374/0.6301, allocations: 49.22 kB / 1.113 GB, free: 15.59 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.6302, allocations: 112.5 kB / 1.113 GB, free: 15.54 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.6303, allocations: 3.938 kB / 1.113 GB, free: 15.53 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/0.6303, allocations: 6.484 kB / 1.113 GB, free: 15.53 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.6303, allocations: 2.156 kB / 1.113 GB, free: 15.53 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007015/0.631, allocations: 0.6522 MB / 1.114 GB, free: 15.11 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002705/0.6313, allocations: 139.6 kB / 1.114 GB, free: 15.03 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.399e-05/0.6314, allocations: 40.98 kB / 1.114 GB, free: 15.01 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/0.6314, allocations: 3.797 kB / 1.114 GB, free: 15.01 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001251/0.6315, allocations: 119.6 kB / 1.114 GB, free: 14.93 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=14): time 1.292e-06/0.6315, allocations: 3.938 kB / 1.114 GB, free: 14.93 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14): time 0.0002547/0.6318, allocations: 130.5 kB / 1.114 GB, free: 14.88 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.932e-05/0.6318, allocations: 106.1 kB / 1.114 GB, free: 14.76 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.632, allocations: 171.4 kB / 1.114 GB, free: 14.65 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.668e-05/0.632, allocations: 34.83 kB / 1.115 GB, free: 14.62 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.132e-05/0.6321, allocations: 115.3 kB / 1.115 GB, free: 14.53 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.983e-05/0.6321, allocations: 34.38 kB / 1.115 GB, free: 14.51 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.352e-05/0.6321, allocations: 7.219 kB / 1.115 GB, free: 14.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.994e-05/0.6322, allocations: 327.6 kB / 1.115 GB, free: 14.19 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001587/0.6324, allocations: 88.72 kB / 1.115 GB, free: 14.19 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001828/0.6325, allocations: 148 kB / 1.115 GB, free: 14.11 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003416/0.6329, allocations: 105.7 kB / 1.115 GB, free: 14.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.6329, allocations: 0 / 1.115 GB, free: 14.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006149/0.6335, allocations: 281.9 kB / 1.116 GB, free: 14.05 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.6336, allocations: 9.75 kB / 1.116 GB, free: 14.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.6336, allocations: 2.312 kB / 1.116 GB, free: 14.04 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.6336, allocations: 2.156 kB / 1.116 GB, free: 14.04 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.6337, allocations: 24.38 kB / 1.116 GB, free: 14.04 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.6337, allocations: 2.031 kB / 1.116 GB, free: 14.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004598/0.6342, allocations: 119.1 kB / 1.116 GB, free: 14.03 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.702e-05/0.6342, allocations: 18.28 kB / 1.116 GB, free: 14.03 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition3,$whenCondition4,$PRE.hysteresis1.y,hysteresis1.y,$PRE.pul.booPul.y,pul.booPul.y,$whenCondition1,$whenCondition2,$PRE.hysteresis2.y,hysteresis2.y,$PRE.pul1.booPul.y,pul1.booPul.y,$PRE.hysteresis.y,hysteresis.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 17 * 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 7.592e-05/0.6343, allocations: 116.2 kB / 1.116 GB, free: 13.91 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.756e-05/0.6343, allocations: 17.66 kB / 1.116 GB, free: 13.91 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001271/0.6345, allocations: 68.92 kB / 1.116 GB, free: 13.87 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.6345, allocations: 1.969 kB / 1.116 GB, free: 13.87 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.6345, allocations: 10.16 kB / 1.116 GB, free: 13.86 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.6345, allocations: 1.031 kB / 1.116 GB, free: 13.86 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001478/0.6346, allocations: 216.4 kB / 1.116 GB, free: 13.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.6347, allocations: 1.062 kB / 1.116 GB, free: 13.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.665e-05/0.6348, allocations: 24 kB / 1.116 GB, free: 13.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.6348, allocations: 1.156 kB / 1.116 GB, free: 13.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.6348, allocations: 3.891 kB / 1.116 GB, free: 13.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.6348, allocations: 2.188 kB / 1.116 GB, free: 13.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.6348, allocations: 5.062 kB / 1.116 GB, free: 13.69 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001966/0.635, allocations: 183.4 kB / 1.116 GB, free: 13.57 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.346e-05/0.635, allocations: 98.72 kB / 1.116 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.545e-05/0.6351, allocations: 7.281 kB / 1.116 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.6352, allocations: 28.2 kB / 1.116 GB, free: 13.45 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.168e-05/0.6353, allocations: 27.12 kB / 1.117 GB, free: 13.45 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.6353, allocations: 8.031 kB / 1.117 GB, free: 13.45 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.71e-05/0.6354, allocations: 136.1 kB / 1.117 GB, free: 13.37 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002638/0.6357, allocations: 48.5 kB / 1.117 GB, free: 13.37 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,hysteresis1.y,pul.booPul.y,$whenCondition1,$whenCondition2,hysteresis2.y,pul1.booPul.y,hysteresis.y) * Number of discrete states: 3 (hysteresis.y,hysteresis2.y,hysteresis1.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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.0001554/0.6358, allocations: 119.1 kB / 1.117 GB, free: 13.27 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003232/0.6362, allocations: 224.7 kB / 1.117 GB, free: 13.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.6362, allocations: 1.062 kB / 1.117 GB, free: 13.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000101/0.6363, allocations: 59.48 kB / 1.117 GB, free: 13.19 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002434/0.6365, allocations: 46.95 kB / 1.117 GB, free: 13.18 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003765/0.6369, allocations: 197.4 kB / 1.117 GB, free: 13.06 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003496/0.6373, allocations: 0.7552 MB / 1.118 GB, free: 28.35 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/0.6373, allocations: 4 kB / 1.118 GB, free: 28.35 MB / 0.698 GB Notification: Performance of Templates: time 0.005623/0.6429, allocations: 2.935 MB / 1.121 GB, free: 28.15 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe 2>&1)