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.Xor.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.Xor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") [: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.096/2.096, allocations: 284.9 MB / 292.2 MB, free: 10.72 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.001588/0.001588, allocations: 193.2 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.601/1.601, allocations: 205.1 MB / 0.6188 GB, free: 12.45 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.001217/0.001216, allocations: 86.36 kB / 0.7318 GB, free: 44.99 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.133e-05/1.137e-05, allocations: 4 kB / 0.8503 GB, free: 3.855 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5507/0.5507, allocations: 115.2 MB / 0.9628 GB, free: 78.19 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2/0.7508, allocations: 137.1 MB / 1.097 GB, free: 3.688 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002405/0.7511, allocations: 72.56 kB / 1.097 GB, free: 3.617 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.01358/0.7647, allocations: 2.62 MB / 1.099 GB, free: 1.066 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.7647, allocations: 0 / 1.099 GB, free: 1.066 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004244/0.7652, allocations: 401.7 kB / 1.1 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.7652, allocations: 8.031 kB / 1.1 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.584e-05/0.7653, allocations: 8 kB / 1.1 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001648/0.7655, allocations: 174.9 kB / 1.1 GB, free: 400 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.7655, allocations: 0 / 1.1 GB, free: 400 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.416e-05/0.7655, allocations: 11.98 kB / 1.1 GB, free: 388 kB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.842e-05/0.7656, allocations: 16 kB / 1.1 GB, free: 372 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.7657, allocations: 43.25 kB / 1.1 GB, free: 324 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.7658, allocations: 0.7969 kB / 1.1 GB, free: 324 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.7658, allocations: 4 kB / 1.1 GB, free: 320 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.7658, allocations: 3.906 kB / 1.1 GB, free: 316 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006453/0.7665, allocations: 329.4 kB / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.992e-05/0.7666, allocations: 38.52 kB / 1.1 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.555e-05/0.7666, allocations: 12.86 kB / 1.1 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.076e-05/0.7666, allocations: 4.562 kB / 1.1 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001216/0.7668, allocations: 71.47 kB / 1.1 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.713e-06/0.7668, allocations: 0 / 1.1 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002298/0.767, allocations: 77.11 kB / 1.1 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/0.7671, allocations: 51.41 kB / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.7672, allocations: 119.1 kB / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.292e-05/0.7673, allocations: 33.64 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.122e-05/0.7673, allocations: 88.23 kB / 1.101 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.388e-05/0.7674, allocations: 15.89 kB / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.694e-05/0.7674, allocations: 0 / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.7676, allocations: 322.8 kB / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001896/0.7678, allocations: 55.98 kB / 1.101 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002363/0.768, allocations: 80.28 kB / 1.101 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004916/0.7685, allocations: 75.92 kB / 1.101 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.7685, allocations: 0 / 1.101 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008798/0.7694, allocations: 202.1 kB / 1.101 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.7694, allocations: 4 kB / 1.101 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.7695, allocations: 4 kB / 1.101 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.7695, allocations: 0 / 1.101 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.332e-05/0.7695, allocations: 4.969 kB / 1.101 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.7695, allocations: 7.938 kB / 1.101 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006488/0.7702, allocations: 79.94 kB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.844e-05/0.7703, allocations: 13.73 kB / 1.102 GB, free: 14.53 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: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,xor1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.0001175/0.7704, allocations: 116.7 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.974e-05/0.7704, allocations: 4.516 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.671e-05/0.7705, allocations: 8.281 kB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.7705, allocations: 4 kB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.7705, allocations: 0 / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.283e-06/0.7705, allocations: 5.812 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/0.7707, allocations: 154.2 kB / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.7707, allocations: 0 / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.467e-05/0.7707, allocations: 4 kB / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.7707, allocations: 0 / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/0.7707, allocations: 0 / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.7708, allocations: 0 / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.7708, allocations: 0 / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001755/0.7709, allocations: 104.9 kB / 1.102 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.795e-05/0.771, allocations: 78.8 kB / 1.102 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.435e-05/0.771, allocations: 8.844 kB / 1.102 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.478e-05/0.7711, allocations: 3.906 kB / 1.102 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.828e-05/0.7711, allocations: 11.98 kB / 1.102 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.7712, allocations: 8.953 kB / 1.102 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.01e-05/0.7712, allocations: 87.28 kB / 1.102 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003073/0.7715, allocations: 33.5 kB / 1.102 GB, free: 13.84 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,xor1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001771/0.7717, allocations: 113.4 kB / 1.102 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003874/0.7721, allocations: 163.3 kB / 1.102 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.7722, allocations: 0 / 1.102 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.973e-05/0.7722, allocations: 27.94 kB / 1.102 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.7725, allocations: 13.36 kB / 1.102 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002972/0.7728, allocations: 92.16 kB / 1.103 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003801/0.7732, allocations: 0.7077 MB / 1.103 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of SimCode: time 7.01e-07/0.7732, allocations: 0 / 1.103 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of Templates: time 0.005301/0.7785, allocations: 1.608 MB / 1.105 GB, free: 11.12 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1)