Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.107/2.107, allocations: 284.9 MB / 292.2 MB, free: 10.73 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001557/0.001557, allocations: 185.3 kB / 360.4 MB, free: 7.492 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.641/1.641, allocations: 205.1 MB / 0.6188 GB, free: 12.37 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001234/0.001233, allocations: 84.53 kB / 0.7318 GB, free: 44.94 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.577e-05/1.589e-05, allocations: 8 kB / 0.8503 GB, free: 3.793 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5287/0.5287, allocations: 115.2 MB / 0.9628 GB, free: 78.5 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2004/0.7292, allocations: 137.7 MB / 1.097 GB, free: 2.996 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002506/0.7295, allocations: 75.95 kB / 1.097 GB, free: 2.922 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.02133/0.7508, allocations: 4.043 MB / 1.101 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.217e-05/0.7509, allocations: 4 kB / 1.101 GB, free: 14.94 MB / 0.7136 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.001099/0.752, allocations: 0.5215 MB / 1.102 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.7521, allocations: 8.031 kB / 1.102 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001446/0.7522, allocations: 27.72 kB / 1.102 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002307/0.7525, allocations: 200 kB / 1.102 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.018e-05/0.7525, allocations: 7.906 kB / 1.102 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.494e-05/0.7526, allocations: 15.98 kB / 1.102 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002526/0.7529, allocations: 49.2 kB / 1.102 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002669/0.7531, allocations: 118.6 kB / 1.102 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.7532, allocations: 0 / 1.102 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.98e-05/0.7532, allocations: 0 / 1.102 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.367e-06/0.7532, allocations: 4 kB / 1.102 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00113/0.7543, allocations: 0.6555 MB / 1.103 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004722/0.7548, allocations: 132 kB / 1.103 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001224/0.755, allocations: 46.69 kB / 1.103 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.379e-05/0.755, allocations: 7.75 kB / 1.103 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002354/0.7553, allocations: 125.9 kB / 1.103 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 2.013e-06/0.7553, allocations: 0 / 1.103 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.0004357/0.7557, allocations: 121.4 kB / 1.103 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.85e-05/0.7558, allocations: 110.8 kB / 1.103 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000237/0.7561, allocations: 177.3 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.663e-05/0.7561, allocations: 29.7 kB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.923e-05/0.7562, allocations: 112.5 kB / 1.104 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.55e-05/0.7563, allocations: 35.55 kB / 1.104 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.564e-05/0.7564, allocations: 8 kB / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.7565, allocations: 326.8 kB / 1.104 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003313/0.7568, allocations: 87.88 kB / 1.104 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003638/0.7572, allocations: 149.4 kB / 1.104 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000612/0.7579, allocations: 95.91 kB / 1.104 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.7579, allocations: 0 / 1.104 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001139/0.759, allocations: 289 kB / 1.105 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.7591, allocations: 4 kB / 1.105 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.7591, allocations: 4 kB / 1.105 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.7591, allocations: 4 kB / 1.105 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002014/0.7593, allocations: 32.05 kB / 1.105 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.7593, allocations: 0 / 1.105 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009288/0.7603, allocations: 119.8 kB / 1.105 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-05/0.7603, allocations: 15.98 kB / 1.105 GB, free: 11.05 MB / 0.7136 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 0.0001977/0.7606, allocations: 120.7 kB / 1.105 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.705e-05/0.7606, allocations: 19.8 kB / 1.105 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002196/0.7609, allocations: 74.75 kB / 1.105 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.7609, allocations: 0 / 1.105 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.7609, allocations: 4 kB / 1.105 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.7609, allocations: 4 kB / 1.105 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002706/0.7612, allocations: 214.1 kB / 1.105 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.7612, allocations: 5.484 kB / 1.105 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001694/0.7614, allocations: 23.92 kB / 1.105 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.7614, allocations: 0 / 1.105 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.7614, allocations: 4 kB / 1.105 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/0.7614, allocations: 3.906 kB / 1.105 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.87e-06/0.7615, allocations: 4 kB / 1.105 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003404/0.7618, allocations: 178.1 kB / 1.105 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.509e-05/0.7619, allocations: 92.83 kB / 1.106 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.487e-05/0.762, allocations: 11.94 kB / 1.106 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002552/0.7622, allocations: 30.12 kB / 1.106 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.7624, allocations: 27.95 kB / 1.106 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.42e-05/0.7624, allocations: 11.92 kB / 1.106 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001468/0.7625, allocations: 131.3 kB / 1.106 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004279/0.763, allocations: 48 kB / 1.106 GB, free: 9.961 MB / 0.7136 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.000214/0.7632, allocations: 115.9 kB / 1.106 GB, free: 9.84 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0006301/0.7639, allocations: 231.2 kB / 1.106 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.7639, allocations: 5.125 kB / 1.106 GB, free: 9.598 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001899/0.7641, allocations: 51.94 kB / 1.106 GB, free: 9.547 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004331/0.7645, allocations: 40.22 kB / 1.106 GB, free: 9.508 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006941/0.7652, allocations: 198.9 kB / 1.106 GB, free: 9.277 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003827/0.7656, allocations: 0.7468 MB / 1.107 GB, free: 8.508 MB / 0.7136 GB Notification: Performance of SimCode: time 6.61e-07/0.7656, allocations: 0 / 1.107 GB, free: 8.508 MB / 0.7136 GB Notification: Performance of Templates: time 0.009655/0.7753, allocations: 2.937 MB / 1.11 GB, free: 5.664 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe 2>&1)