Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.345/1.345, allocations: 285.5 MB / 292.8 MB, free: 10.46 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009399/0.0009398, allocations: 185.2 kB / 361.1 MB, free: 7.086 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.073/1.073, allocations: 205.1 MB / 0.6195 GB, free: 10.31 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007835/0.0007834, allocations: 89.77 kB / 0.7326 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.346e-06/8.366e-06, allocations: 4 kB / 0.8511 GB, free: 2.945 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4622/0.4623, allocations: 115.3 MB / 0.9637 GB, free: 78.18 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1432/0.6055, allocations: 137.3 MB / 1.098 GB, free: 2.734 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001856/0.6057, allocations: 69.91 kB / 1.098 GB, free: 2.668 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.00817/0.6139, allocations: 2.618 MB / 1.1 GB, free: 120 kB / 0.698 GB Notification: Performance of Transformations before backend: time 7.744e-06/0.6139, allocations: 4 kB / 1.1 GB, free: 116 kB / 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.0004332/0.6143, allocations: 401.7 kB / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.6144, allocations: 12.03 kB / 1.101 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.688e-05/0.6145, allocations: 4 kB / 1.101 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.6146, allocations: 171 kB / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.6146, allocations: 0 / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.549e-05/0.6147, allocations: 12 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.3e-05/0.6148, allocations: 15.94 kB / 1.101 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.783e-05/0.6149, allocations: 50.47 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.6149, allocations: 0 / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.6149, allocations: 5.562 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.6149, allocations: 3.906 kB / 1.101 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005027/0.6154, allocations: 329.4 kB / 1.101 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.366e-05/0.6155, allocations: 26.58 kB / 1.101 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.758e-05/0.6155, allocations: 21.47 kB / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.275e-05/0.6156, allocations: 9.156 kB / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.392e-05/0.6157, allocations: 63.48 kB / 1.101 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.6157, allocations: 0 / 1.101 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002036/0.6159, allocations: 76.02 kB / 1.102 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/0.6159, allocations: 59.39 kB / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.881e-05/0.616, allocations: 114.9 kB / 1.102 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.845e-05/0.6161, allocations: 25.7 kB / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.21e-05/0.6162, allocations: 100.2 kB / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.728e-05/0.6162, allocations: 7.906 kB / 1.102 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.929e-05/0.6162, allocations: 4 kB / 1.102 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.673e-05/0.6163, allocations: 326.7 kB / 1.102 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/0.6164, allocations: 51.92 kB / 1.102 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/0.6166, allocations: 84.28 kB / 1.102 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003018/0.6169, allocations: 71.92 kB / 1.102 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.6169, allocations: 0 / 1.102 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004931/0.6174, allocations: 203.4 kB / 1.103 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/0.6174, allocations: 4 kB / 1.103 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.6174, allocations: 0 / 1.103 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.6174, allocations: 5.172 kB / 1.103 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.704e-05/0.6174, allocations: 3.984 kB / 1.103 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.6175, allocations: 4 kB / 1.103 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003413/0.6178, allocations: 80.06 kB / 1.103 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.397e-05/0.6178, allocations: 11.98 kB / 1.103 GB, free: 13.58 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 9.714e-05/0.6179, allocations: 116.8 kB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.161e-05/0.618, allocations: 4 kB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.707e-05/0.618, allocations: 18.03 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.618, allocations: 0 / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.618, allocations: 0 / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.618, allocations: 0 / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001335/0.6182, allocations: 154.2 kB / 1.103 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.6182, allocations: 0 / 1.103 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.075e-06/0.6182, allocations: 0 / 1.103 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.6182, allocations: 0 / 1.103 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.6182, allocations: 4 kB / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.6182, allocations: 5.125 kB / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.6182, allocations: 0 / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001375/0.6184, allocations: 104.8 kB / 1.103 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.935e-05/0.6184, allocations: 81.72 kB / 1.103 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.108e-05/0.6185, allocations: 1.625 kB / 1.103 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.365e-05/0.6185, allocations: 7.844 kB / 1.103 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.431e-05/0.6185, allocations: 11.98 kB / 1.103 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/0.6185, allocations: 4 kB / 1.103 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.811e-05/0.6186, allocations: 97.05 kB / 1.103 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002537/0.6189, allocations: 28 kB / 1.103 GB, free: 12.89 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.0001455/0.619, allocations: 119 kB / 1.103 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002688/0.6193, allocations: 155.3 kB / 1.104 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.6193, allocations: 0 / 1.104 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.804e-05/0.6193, allocations: 20 kB / 1.104 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000184/0.6195, allocations: 20.23 kB / 1.104 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002293/0.6198, allocations: 96.09 kB / 1.104 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002464/0.62, allocations: 0.6997 MB / 1.104 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/0.62, allocations: 1.594 kB / 1.104 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of Templates: time 0.003617/0.6237, allocations: 1.61 MB / 1.106 GB, free: 10.17 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1)