Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.343/1.343, allocations: 285.5 MB / 292.8 MB, free: 10.39 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.00095/0.00095, allocations: 189.3 kB / 361.1 MB, free: 7.055 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.009/1.009, allocations: 205.1 MB / 0.6195 GB, free: 10.29 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007352/0.0007352, allocations: 94.14 kB / 0.7326 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.355e-06/8.366e-06, allocations: 4 kB / 0.8511 GB, free: 2.918 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4072/0.4072, allocations: 115.3 MB / 0.9637 GB, free: 78.19 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1358/0.5431, allocations: 137.9 MB / 1.098 GB, free: 2.055 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000184/0.5433, allocations: 75.95 kB / 1.098 GB, free: 1.98 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.01173/0.555, allocations: 4.041 MB / 1.102 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.286e-06/0.5551, allocations: 4 kB / 1.102 GB, free: 14.02 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.0005897/0.5556, allocations: 0.5169 MB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.114e-05/0.5557, allocations: 8.031 kB / 1.103 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.274e-05/0.5558, allocations: 27.72 kB / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.5559, allocations: 199.8 kB / 1.103 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.5559, allocations: 12.47 kB / 1.103 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.871e-05/0.556, allocations: 13.31 kB / 1.103 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001174/0.5561, allocations: 48 kB / 1.103 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.5563, allocations: 119.1 kB / 1.103 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.5563, allocations: 0.5625 kB / 1.103 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.5563, allocations: 0 / 1.103 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/0.5563, allocations: 7.984 kB / 1.103 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006991/0.557, allocations: 0.6496 MB / 1.104 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002894/0.5573, allocations: 132.6 kB / 1.104 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.176e-05/0.5574, allocations: 42.64 kB / 1.104 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.348e-05/0.5574, allocations: 4.562 kB / 1.104 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001462/0.5576, allocations: 135.5 kB / 1.104 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 1.343e-06/0.5576, allocations: 0 / 1.104 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.0002468/0.5579, allocations: 118.1 kB / 1.104 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/0.5579, allocations: 114.8 kB / 1.104 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.5581, allocations: 173.1 kB / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.91e-05/0.5581, allocations: 33.69 kB / 1.105 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.858e-05/0.5582, allocations: 108.5 kB / 1.105 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.981e-05/0.5582, allocations: 35.55 kB / 1.105 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.382e-05/0.5582, allocations: 8 kB / 1.105 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.436e-05/0.5583, allocations: 322.8 kB / 1.105 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001565/0.5585, allocations: 83.98 kB / 1.105 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001956/0.5587, allocations: 158.7 kB / 1.105 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003343/0.5591, allocations: 95.92 kB / 1.105 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.5591, allocations: 0 / 1.105 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006348/0.5597, allocations: 283.3 kB / 1.106 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.5597, allocations: 4 kB / 1.106 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.5597, allocations: 4 kB / 1.106 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.5598, allocations: 12.11 kB / 1.106 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.5599, allocations: 27.92 kB / 1.106 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.5599, allocations: 2.422 kB / 1.106 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004551/0.5603, allocations: 119.8 kB / 1.106 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.56e-05/0.5604, allocations: 12 kB / 1.106 GB, free: 10.15 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 9.248e-05/0.5605, allocations: 117 kB / 1.106 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.927e-05/0.5605, allocations: 20.33 kB / 1.106 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001274/0.5607, allocations: 74.61 kB / 1.106 GB, free: 9.926 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.5607, allocations: 4.656 kB / 1.106 GB, free: 9.922 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.5607, allocations: 0 / 1.106 GB, free: 9.922 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.5607, allocations: 0 / 1.106 GB, free: 9.922 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001716/0.5609, allocations: 214.1 kB / 1.106 GB, free: 9.676 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.5609, allocations: 0 / 1.106 GB, free: 9.676 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.505e-05/0.561, allocations: 19.98 kB / 1.106 GB, free: 9.656 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.561, allocations: 8 kB / 1.106 GB, free: 9.648 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.561, allocations: 1.25 kB / 1.106 GB, free: 9.648 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.137e-06/0.561, allocations: 7.844 kB / 1.106 GB, free: 9.641 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.561, allocations: 4 kB / 1.106 GB, free: 9.637 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000205/0.5612, allocations: 178.6 kB / 1.107 GB, free: 9.426 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.187e-05/0.5613, allocations: 92.83 kB / 1.107 GB, free: 9.316 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.607e-05/0.5613, allocations: 11.98 kB / 1.107 GB, free: 9.305 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.5615, allocations: 24.92 kB / 1.107 GB, free: 9.281 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.444e-05/0.5616, allocations: 31.94 kB / 1.107 GB, free: 9.25 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.5616, allocations: 9.812 kB / 1.107 GB, free: 9.242 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9.311e-05/0.5617, allocations: 140 kB / 1.107 GB, free: 9.105 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002561/0.5619, allocations: 48 kB / 1.107 GB, free: 9.059 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.0001601/0.5621, allocations: 123.5 kB / 1.107 GB, free: 8.93 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000349/0.5625, allocations: 235.3 kB / 1.107 GB, free: 8.688 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.5625, allocations: 0 / 1.107 GB, free: 8.688 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.5626, allocations: 55.94 kB / 1.107 GB, free: 8.633 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002414/0.5628, allocations: 32.47 kB / 1.107 GB, free: 8.605 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004161/0.5632, allocations: 209.9 kB / 1.107 GB, free: 8.363 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002824/0.5635, allocations: 0.7467 MB / 1.108 GB, free: 7.594 MB / 0.7136 GB Notification: Performance of SimCode: time 2.61e-07/0.5635, allocations: 0 / 1.108 GB, free: 7.594 MB / 0.7136 GB Notification: Performance of Templates: time 0.005234/0.5688, allocations: 2.938 MB / 1.111 GB, free: 4.758 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe 2>&1)