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.LogicalSwitch.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.LogicalSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch") [: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.129/2.129, allocations: 284.9 MB / 292.2 MB, free: 10.71 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.001634/0.001634, allocations: 185.2 kB / 360.4 MB, free: 7.488 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.634/1.634, allocations: 205.2 MB / 0.6188 GB, free: 12.43 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.001224/0.001223, allocations: 88.73 kB / 0.7318 GB, free: 44.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.13e-05/1.133e-05, allocations: 4 kB / 0.8502 GB, free: 3.84 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5374/0.5374, allocations: 115.3 MB / 0.9628 GB, free: 78.24 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2021/0.7396, allocations: 137.1 MB / 1.097 GB, free: 3.633 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003002/0.74, allocations: 73.36 kB / 1.097 GB, free: 3.562 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.02597/0.766, allocations: 3.752 MB / 1.1 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.897e-06/0.766, allocations: 4 kB / 1.1 GB, free: 15.88 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006118/0.7667, allocations: 443.4 kB / 1.101 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.7667, allocations: 8.031 kB / 1.101 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001181/0.7669, allocations: 19.89 kB / 1.101 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001716/0.767, allocations: 178.9 kB / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.484e-05/0.7671, allocations: 4 kB / 1.101 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.503e-05/0.7672, allocations: 15.94 kB / 1.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001116/0.7673, allocations: 16 kB / 1.101 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.7675, allocations: 53.67 kB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.7675, allocations: 0 / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.7675, allocations: 0 / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.7676, allocations: 1.875 kB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009686/0.7685, allocations: 397.2 kB / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.89e-05/0.7687, allocations: 30.52 kB / 1.102 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.14e-05/0.7687, allocations: 19.05 kB / 1.102 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.372e-05/0.7688, allocations: 3.906 kB / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001805/0.769, allocations: 79.47 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 2.254e-06/0.769, allocations: 0 / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0003831/0.7694, allocations: 93.52 kB / 1.102 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.7694, allocations: 59.41 kB / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.7696, allocations: 124.8 kB / 1.102 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.586e-05/0.7697, allocations: 30.36 kB / 1.102 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.7698, allocations: 100 kB / 1.102 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.589e-05/0.7699, allocations: 11.81 kB / 1.102 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.12e-05/0.77, allocations: 8 kB / 1.102 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.7701, allocations: 318.8 kB / 1.102 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003973/0.7705, allocations: 79.92 kB / 1.102 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004451/0.771, allocations: 124.8 kB / 1.103 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009383/0.772, allocations: 112.6 kB / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.772, allocations: 0 / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001671/0.7737, allocations: 285.3 kB / 1.103 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.7737, allocations: 8 kB / 1.103 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.7737, allocations: 0 / 1.103 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.284e-05/0.7738, allocations: 7.984 kB / 1.103 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.489e-05/0.7738, allocations: 4 kB / 1.103 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.7738, allocations: 3.984 kB / 1.103 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001231/0.7751, allocations: 119.8 kB / 1.103 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.283e-05/0.7752, allocations: 15.98 kB / 1.103 GB, free: 12.93 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: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,$PRE.booPul3.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * 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.0001762/0.7754, allocations: 126.6 kB / 1.103 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.229e-05/0.7754, allocations: 11.91 kB / 1.103 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.295e-05/0.7755, allocations: 12.38 kB / 1.103 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.7755, allocations: 0 / 1.103 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.7755, allocations: 0 / 1.103 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.188e-06/0.7756, allocations: 3.984 kB / 1.103 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000235/0.7758, allocations: 162.2 kB / 1.103 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.7758, allocations: 3.906 kB / 1.103 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.961e-05/0.7759, allocations: 0 / 1.103 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/0.7759, allocations: 0 / 1.103 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.1e-05/0.7759, allocations: 9.438 kB / 1.103 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.7759, allocations: 0 / 1.103 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.7759, allocations: 4 kB / 1.103 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003193/0.7763, allocations: 113 kB / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.58e-05/0.7764, allocations: 89 kB / 1.104 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.062e-05/0.7764, allocations: 3.906 kB / 1.104 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.321e-05/0.7765, allocations: 0 / 1.104 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.288e-05/0.7765, allocations: 7.984 kB / 1.104 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.74e-05/0.7766, allocations: 4 kB / 1.104 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001012/0.7767, allocations: 110.6 kB / 1.104 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0006519/0.7774, allocations: 43.94 kB / 1.104 GB, free: 12.16 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * 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.0002313/0.7776, allocations: 112.3 kB / 1.104 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0007571/0.7784, allocations: 233 kB / 1.104 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.7784, allocations: 0 / 1.104 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.00012/0.7785, allocations: 31.94 kB / 1.104 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004313/0.779, allocations: 25.67 kB / 1.104 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004761/0.7795, allocations: 112.2 kB / 1.104 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003732/0.7799, allocations: 0.7114 MB / 1.105 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of SimCode: time 9.22e-07/0.7799, allocations: 0 / 1.105 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of Templates: time 0.008741/0.7886, allocations: 2.234 MB / 1.107 GB, free: 8.719 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe 2>&1)