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.Or3.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.Or3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") [: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.182/2.182, 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.001502/0.001501, allocations: 177.3 kB / 360.4 MB, free: 7.523 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.637/1.637, allocations: 205.1 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.001208/0.001207, allocations: 89.12 kB / 0.7318 GB, free: 44.97 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.436e-05/1.455e-05, allocations: 4 kB / 0.8503 GB, free: 3.836 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5433/0.5434, allocations: 115.2 MB / 0.9628 GB, free: 78.42 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2003/0.7437, allocations: 137.1 MB / 1.097 GB, free: 3.621 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/0.744, allocations: 68.81 kB / 1.097 GB, free: 3.555 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.01988/0.7639, allocations: 3.754 MB / 1.1 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.764, allocations: 0 / 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.0005233/0.7645, allocations: 451.4 kB / 1.101 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.7645, allocations: 12.03 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.54e-05/0.7646, allocations: 17.66 kB / 1.101 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.7648, allocations: 170.9 kB / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.7648, allocations: 3.984 kB / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.903e-05/0.7649, allocations: 16 kB / 1.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.439e-05/0.765, allocations: 16.66 kB / 1.101 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.7651, allocations: 54.33 kB / 1.101 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.7652, allocations: 3.984 kB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.7652, allocations: 0 / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.7652, allocations: 0 / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008082/0.766, allocations: 397.1 kB / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.312e-05/0.7661, allocations: 27.52 kB / 1.102 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.459e-05/0.7662, allocations: 20.86 kB / 1.102 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.7662, allocations: 3.906 kB / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001408/0.7663, allocations: 83.41 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.894e-06/0.7664, allocations: 0 / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0002969/0.7667, allocations: 89.53 kB / 1.102 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.7667, allocations: 55.41 kB / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.7668, allocations: 131.8 kB / 1.102 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.526e-05/0.7669, allocations: 29.7 kB / 1.102 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.306e-05/0.767, allocations: 96.05 kB / 1.102 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.84e-05/0.767, allocations: 15.81 kB / 1.102 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-05/0.7671, allocations: 8.922 kB / 1.102 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.7672, allocations: 318.8 kB / 1.102 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002867/0.7675, allocations: 75.98 kB / 1.102 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003337/0.7679, allocations: 132.2 kB / 1.103 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007112/0.7686, allocations: 103.9 kB / 1.103 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.7686, allocations: 0 / 1.103 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001219/0.7698, allocations: 281.2 kB / 1.103 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.7699, allocations: 7.984 kB / 1.103 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.7699, allocations: 4 kB / 1.103 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.7699, allocations: 0 / 1.103 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.746e-05/0.7699, allocations: 9.906 kB / 1.103 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.77, allocations: 4 kB / 1.103 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009332/0.7709, allocations: 122.2 kB / 1.103 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.827e-05/0.771, allocations: 16.55 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,or1.y,$PRE.booPul3.y,booPul3.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.0001293/0.7711, allocations: 131.7 kB / 1.103 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.524e-05/0.7712, allocations: 11.89 kB / 1.103 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.051e-05/0.7712, allocations: 8.375 kB / 1.103 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.7712, allocations: 0 / 1.103 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.7713, allocations: 0 / 1.103 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.7713, allocations: 3.984 kB / 1.103 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001635/0.7714, allocations: 158.2 kB / 1.103 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.7715, allocations: 7.906 kB / 1.103 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.48e-05/0.7715, allocations: 0 / 1.103 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.7715, allocations: 7.984 kB / 1.103 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.7715, allocations: 4 kB / 1.103 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.7715, allocations: 0 / 1.103 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.7715, allocations: 1.172 kB / 1.103 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002114/0.7718, allocations: 113.6 kB / 1.104 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.034e-05/0.7718, allocations: 85.02 kB / 1.104 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.843e-05/0.7719, allocations: 5.594 kB / 1.104 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.568e-05/0.7719, allocations: 7.734 kB / 1.104 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.079e-05/0.772, allocations: 15.98 kB / 1.104 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.772, allocations: 4 kB / 1.104 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.513e-05/0.7721, allocations: 91.28 kB / 1.104 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003768/0.7725, allocations: 51.92 kB / 1.104 GB, free: 12.17 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,or1.y,booPul3.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.0001838/0.7727, allocations: 113.7 kB / 1.104 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005462/0.7732, allocations: 229 kB / 1.104 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.7732, allocations: 4.375 kB / 1.104 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.271e-05/0.7733, allocations: 43.91 kB / 1.104 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003156/0.7737, allocations: 15.98 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.0003656/0.774, allocations: 112.3 kB / 1.104 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003338/0.7744, allocations: 0.7114 MB / 1.105 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of SimCode: time 6.81e-07/0.7744, allocations: 0 / 1.105 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of Templates: time 0.006897/0.7813, allocations: 2.224 MB / 1.107 GB, free: 8.727 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1)