Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.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.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") [: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.345/1.345, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.00093/0.00093, allocations: 183.7 kB / 361.1 MB, free: 7.094 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.056/1.056, allocations: 205.1 MB / 0.6195 GB, free: 12.03 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.0008387/0.0008387, allocations: 86.97 kB / 0.7326 GB, free: 44.49 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.295e-06/8.305e-06, allocations: 4 kB / 0.8511 GB, free: 3.234 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.404/0.404, allocations: 115.3 MB / 0.9637 GB, free: 77.92 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1329/0.537, allocations: 137.5 MB / 1.098 GB, free: 2.629 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002023/0.5373, allocations: 72.89 kB / 1.098 GB, free: 2.559 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.006274/0.5435, allocations: 1.922 MB / 1.1 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.5436, allocations: 4 kB / 1.1 GB, free: 0.6914 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004809/0.5441, allocations: 427.9 kB / 1.1 GB, free: 228 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.5441, allocations: 8.031 kB / 1.1 GB, free: 220 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.172e-05/0.5441, allocations: 7.906 kB / 1.1 GB, free: 212 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.5442, allocations: 170.9 kB / 1.1 GB, free: 0 / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.491e-05/0.5443, allocations: 4.047 kB / 1.1 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.226e-05/0.5443, allocations: 4 kB / 1.1 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.268e-05/0.5444, allocations: 27.98 kB / 1.101 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.405e-05/0.5445, allocations: 54.47 kB / 1.101 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.5445, allocations: 4.594 kB / 1.101 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.5445, allocations: 0 / 1.101 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.5445, allocations: 4 kB / 1.101 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003857/0.5449, allocations: 301.3 kB / 1.101 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.956e-05/0.545, allocations: 29.05 kB / 1.101 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.28e-05/0.545, allocations: 20.86 kB / 1.101 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.256e-05/0.5451, allocations: 0.6562 kB / 1.101 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.871e-05/0.5451, allocations: 76.39 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.5451, allocations: 0 / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0001671/0.5453, allocations: 73.59 kB / 1.101 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.5454, allocations: 55.34 kB / 1.101 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.344e-05/0.5454, allocations: 109.2 kB / 1.101 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/0.5455, allocations: 33.7 kB / 1.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.627e-05/0.5455, allocations: 88.14 kB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.57e-05/0.5456, allocations: 7.812 kB / 1.101 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.356e-05/0.5456, allocations: 4 kB / 1.101 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.36e-05/0.5457, allocations: 322.7 kB / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.179e-05/0.5457, allocations: 32 kB / 1.102 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.059e-05/0.5458, allocations: 54.56 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000191/0.546, allocations: 47.89 kB / 1.102 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.546, allocations: 0 / 1.102 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003184/0.5464, allocations: 136.5 kB / 1.102 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.937e-06/0.5464, allocations: 4 kB / 1.102 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.5464, allocations: 4 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.5464, allocations: 0 / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001382/0.5466, allocations: 27.98 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.5466, allocations: 4 kB / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002517/0.5468, allocations: 59.89 kB / 1.102 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.405e-05/0.5469, allocations: 15.78 kB / 1.102 GB, free: 14.31 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,$PRE.booPul.y,booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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 6.784e-05/0.5469, allocations: 112.9 kB / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.286e-05/0.547, allocations: 3.906 kB / 1.102 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.684e-05/0.547, allocations: 8.375 kB / 1.102 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.547, allocations: 0 / 1.102 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.547, allocations: 0 / 1.102 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.547, allocations: 7.984 kB / 1.102 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001071/0.5471, allocations: 158.2 kB / 1.102 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.5471, allocations: 0 / 1.102 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.5472, allocations: 19.98 kB / 1.102 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.5473, allocations: 0 / 1.102 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/0.5473, allocations: 11.94 kB / 1.102 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.5473, allocations: 3.906 kB / 1.102 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.5473, allocations: 0 / 1.102 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001234/0.5474, allocations: 93.02 kB / 1.102 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.283e-05/0.5475, allocations: 87.36 kB / 1.103 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.5475, allocations: 0 / 1.103 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.5476, allocations: 19.98 kB / 1.103 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.5476, allocations: 15.92 kB / 1.103 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.5476, allocations: 0 / 1.103 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.677e-05/0.5477, allocations: 93.91 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002011/0.5479, allocations: 27.98 kB / 1.103 GB, free: 13.59 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001347/0.548, allocations: 117.6 kB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001882/0.5482, allocations: 97.62 kB / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.5483, allocations: 0 / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.958e-05/0.5483, allocations: 24 kB / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001663/0.5485, allocations: 26.36 kB / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002335/0.5487, allocations: 92.38 kB / 1.103 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002403/0.549, allocations: 0.7076 MB / 1.104 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.549, allocations: 0 / 1.104 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of Templates: time 0.003111/0.5521, allocations: 1.36 MB / 1.105 GB, free: 11.16 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1)