Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.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.Logical.Validation.IntegerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch") [: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.154/2.154, allocations: 284.9 MB / 292.2 MB, free: 10.75 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.001615/0.001615, allocations: 181.2 kB / 360.4 MB, free: 7.5 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.646/1.646, allocations: 205.1 MB / 0.6188 GB, free: 12.42 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.001564/0.001563, allocations: 89.22 kB / 0.7318 GB, free: 44.99 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.297e-06/9.468e-06, allocations: 0 / 0.8503 GB, free: 3.844 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5387/0.5387, allocations: 115.2 MB / 0.9628 GB, free: 78.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2001/0.7388, allocations: 137.5 MB / 1.097 GB, free: 3.305 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002485/0.7391, allocations: 75.95 kB / 1.097 GB, free: 3.23 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.02137/0.7605, allocations: 4.19 MB / 1.101 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.256e-06/0.7606, allocations: 0.5625 kB / 1.101 GB, free: 15.11 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.0005811/0.7612, allocations: 492.1 kB / 1.102 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.7612, allocations: 8.031 kB / 1.102 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000103/0.7613, allocations: 27.8 kB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.7615, allocations: 167.6 kB / 1.102 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.681e-05/0.7615, allocations: 4 kB / 1.102 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.549e-05/0.7616, allocations: 21.78 kB / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001602/0.7618, allocations: 37.2 kB / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001899/0.762, allocations: 91.08 kB / 1.102 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.762, allocations: 0 / 1.102 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.827e-05/0.7621, allocations: 5.312 kB / 1.102 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.7621, allocations: 4 kB / 1.102 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009295/0.763, allocations: 468.8 kB / 1.102 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002734/0.7633, allocations: 66.59 kB / 1.103 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.573e-05/0.7634, allocations: 24.86 kB / 1.103 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.356e-06/0.7634, allocations: 0 / 1.103 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001677/0.7636, allocations: 91.38 kB / 1.103 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 1.803e-06/0.7636, allocations: 3.938 kB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.0003616/0.764, allocations: 109.5 kB / 1.103 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.764, allocations: 59.55 kB / 1.103 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.7642, allocations: 138 kB / 1.103 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.724e-05/0.7642, allocations: 33.7 kB / 1.103 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.385e-05/0.7643, allocations: 108.4 kB / 1.103 GB, free: 13 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.871e-05/0.7644, allocations: 31.61 kB / 1.103 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.707e-05/0.7645, allocations: 8 kB / 1.103 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.7646, allocations: 322.8 kB / 1.103 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003097/0.7649, allocations: 84.73 kB / 1.104 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003418/0.7653, allocations: 122.6 kB / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007261/0.766, allocations: 120.6 kB / 1.104 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.766, allocations: 0 / 1.104 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001258/0.7673, allocations: 302.7 kB / 1.104 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.7673, allocations: 7.984 kB / 1.104 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.7673, allocations: 4 kB / 1.104 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.7673, allocations: 0 / 1.104 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.781e-05/0.7674, allocations: 15.75 kB / 1.104 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.7675, allocations: 4 kB / 1.104 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009466/0.7684, allocations: 120.7 kB / 1.104 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.934e-05/0.7685, allocations: 19.98 kB / 1.104 GB, free: 11.83 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: 17 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,$PRE.booPul3.y,booPul3.y,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 3 * 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.0001303/0.7687, allocations: 132.6 kB / 1.104 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.579e-05/0.7687, allocations: 11.81 kB / 1.104 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.762e-05/0.7687, allocations: 12.56 kB / 1.104 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.7688, allocations: 0 / 1.104 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.7688, allocations: 0 / 1.104 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.7688, allocations: 0 / 1.104 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002041/0.769, allocations: 188.3 kB / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.769, allocations: 0 / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.958e-05/0.7691, allocations: 12 kB / 1.105 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.193e-06/0.7691, allocations: 3.938 kB / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.135e-05/0.7692, allocations: 15.89 kB / 1.105 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.7692, allocations: 0 / 1.105 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.7692, allocations: 0 / 1.105 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002608/0.7694, allocations: 128.9 kB / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.137e-05/0.7695, allocations: 85.02 kB / 1.105 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.091e-05/0.7696, allocations: 3.984 kB / 1.105 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.342e-05/0.7696, allocations: 4 kB / 1.105 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.968e-05/0.7697, allocations: 11.98 kB / 1.105 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/0.7697, allocations: 8 kB / 1.105 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8.063e-05/0.7698, allocations: 101 kB / 1.105 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003862/0.7702, allocations: 51.84 kB / 1.105 GB, free: 11 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: 14 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,booPul1.y,booPul2.y,booPul3.y,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * 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.0001793/0.7704, allocations: 120.9 kB / 1.105 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0006327/0.771, allocations: 250.7 kB / 1.105 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.771, allocations: 4 kB / 1.105 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001162/0.7712, allocations: 43.94 kB / 1.105 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003181/0.7715, allocations: 19.98 kB / 1.105 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004719/0.772, allocations: 149.7 kB / 1.105 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003228/0.7723, allocations: 0.7351 MB / 1.106 GB, free: 9.613 MB / 0.7136 GB Notification: Performance of SimCode: time 7.02e-07/0.7723, allocations: 0 / 1.106 GB, free: 9.613 MB / 0.7136 GB Notification: Performance of Templates: time 0.007328/0.7797, allocations: 2.444 MB / 1.109 GB, free: 7.258 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe 2>&1)