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.TimerNegativeStartTime.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.TimerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") [: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.136/2.136, 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.001574/0.001574, allocations: 181.3 kB / 360.4 MB, free: 7.52 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.627/1.627, allocations: 205.1 MB / 0.6188 GB, free: 12.46 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.001235/0.001235, allocations: 91.78 kB / 0.7318 GB, free: 45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.093e-05/1.102e-05, allocations: 4 kB / 0.8503 GB, free: 3.848 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5269/0.5269, allocations: 115.2 MB / 0.9628 GB, free: 78.33 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2/0.727, allocations: 137.3 MB / 1.097 GB, free: 3.418 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002436/0.7273, allocations: 70.86 kB / 1.097 GB, free: 3.352 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.009519/0.7368, allocations: 1.767 MB / 1.099 GB, free: 1.645 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.224e-06/0.7368, allocations: 4 kB / 1.099 GB, free: 1.641 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000574/0.7374, allocations: 396 kB / 1.099 GB, free: 1.203 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.7375, allocations: 8.531 kB / 1.099 GB, free: 1.195 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.318e-05/0.7376, allocations: 11.91 kB / 1.099 GB, free: 1.184 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.7377, allocations: 163.1 kB / 1.099 GB, free: 0.9844 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.763e-05/0.7377, allocations: 9.359 kB / 1.099 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.098e-05/0.7378, allocations: 17.08 kB / 1.099 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001439/0.738, allocations: 31.98 kB / 1.099 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001942/0.7382, allocations: 81.59 kB / 1.099 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.7382, allocations: 0 / 1.099 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.26e-05/0.7382, allocations: 7.891 kB / 1.099 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-06/0.7382, allocations: 0 / 1.099 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008099/0.739, allocations: 341.2 kB / 1.1 GB, free: 476 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002213/0.7393, allocations: 86.66 kB / 1.1 GB, free: 380 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.7394, allocations: 45.78 kB / 1.1 GB, free: 332 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.13e-05/0.7394, allocations: 0 / 1.1 GB, free: 332 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002103/0.7396, allocations: 102 kB / 1.1 GB, free: 220 kB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 1.944e-06/0.7397, allocations: 0 / 1.1 GB, free: 220 kB / 0.698 GB Notification: Performance of matching and sorting (n=13): time 0.0003534/0.74, allocations: 120.4 kB / 1.1 GB, free: 96 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.7401, allocations: 55.41 kB / 1.1 GB, free: 28 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.538e-05/0.7402, allocations: 112.8 kB / 1.1 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.7e-05/0.7402, allocations: 33.7 kB / 1.1 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.62e-05/0.7403, allocations: 84.14 kB / 1.1 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.733e-05/0.7404, allocations: 37.52 kB / 1.1 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.139e-05/0.7404, allocations: 0 / 1.1 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.7405, allocations: 322.8 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/0.7407, allocations: 43.94 kB / 1.101 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001971/0.7409, allocations: 86.69 kB / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003408/0.7412, allocations: 51.95 kB / 1.101 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.7413, allocations: 0 / 1.101 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006292/0.7419, allocations: 177.6 kB / 1.101 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.7419, allocations: 4 kB / 1.101 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.7419, allocations: 1.938 kB / 1.101 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.742, allocations: 4 kB / 1.101 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.7421, allocations: 11.94 kB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.7421, allocations: 3.984 kB / 1.101 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004055/0.7425, allocations: 47.91 kB / 1.101 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.476e-05/0.7426, allocations: 8 kB / 1.101 GB, free: 14.98 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.thrTim.passed,thrTim.passed,$PRE.noThr.passed,noThr.passed,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.noThr.entryTime,noThr.entryTime,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.booPul.y,booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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 0.0001202/0.7427, allocations: 129.4 kB / 1.101 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.596e-05/0.7427, allocations: 7.906 kB / 1.101 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.049e-05/0.7428, allocations: 8.438 kB / 1.101 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.7428, allocations: 4 kB / 1.101 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.7428, allocations: 0 / 1.101 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.7428, allocations: 7.891 kB / 1.101 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004643/0.7433, allocations: 355.8 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.7433, allocations: 0 / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.098e-05/0.7434, allocations: 16.67 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.7434, allocations: 0 / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.7434, allocations: 0 / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.7434, allocations: 6.438 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/0.7434, allocations: 3.906 kB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003115/0.7438, allocations: 221.8 kB / 1.102 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.086e-05/0.7438, allocations: 88.95 kB / 1.102 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.79e-05/0.7439, allocations: 0 / 1.102 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001564/0.744, allocations: 19.98 kB / 1.102 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.408e-05/0.7441, allocations: 11.97 kB / 1.102 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.005e-05/0.7441, allocations: 4 kB / 1.102 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.828e-05/0.7442, allocations: 88.53 kB / 1.102 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003813/0.7446, allocations: 39.73 kB / 1.102 GB, free: 13.91 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: 11 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 2 (noThr.entryTime,thrTim.entryTime) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0002347/0.7448, allocations: 115.7 kB / 1.102 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004215/0.7453, allocations: 149.6 kB / 1.102 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.7453, allocations: 0 / 1.102 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001539/0.7455, allocations: 60 kB / 1.102 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.7457, allocations: 22.33 kB / 1.102 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004054/0.7462, allocations: 121.8 kB / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002997/0.7465, allocations: 0.7117 MB / 1.103 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of SimCode: time 7.01e-07/0.7465, allocations: 0 / 1.103 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of Templates: time 0.005554/0.752, allocations: 1.553 MB / 1.105 GB, free: 11.18 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1)