Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.326/1.326, allocations: 289.8 MB / 297.1 MB, free: 6.641 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.0009426/0.0009426, allocations: 181.3 kB / 366.3 MB, free: 1.922 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.024/1.024, allocations: 205.2 MB / 0.6256 GB, free: 5.777 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.0008185/0.0008188, allocations: 88.17 kB / 0.7395 GB, free: 39.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.215e-06/8.295e-06, allocations: 4 kB / 0.859 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4017/0.4017, allocations: 116.3 MB / 0.9726 GB, free: 68.46 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1338/0.5355, allocations: 138.2 MB / 1.108 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002211/0.5358, allocations: 77.19 kB / 1.108 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.007955/0.5437, allocations: 2.616 MB / 1.11 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.5438, allocations: 0 / 1.11 GB, free: 7.586 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003296/0.5441, allocations: 414.9 kB / 1.111 GB, free: 7.125 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.5441, allocations: 8.031 kB / 1.111 GB, free: 7.117 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.994e-05/0.5442, allocations: 8 kB / 1.111 GB, free: 7.109 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.5443, allocations: 171 kB / 1.111 GB, free: 6.902 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.5443, allocations: 0 / 1.111 GB, free: 6.902 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.992e-05/0.5444, allocations: 8 kB / 1.111 GB, free: 6.895 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.414e-05/0.5444, allocations: 12 kB / 1.111 GB, free: 6.883 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.306e-05/0.5445, allocations: 57.61 kB / 1.111 GB, free: 6.82 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.551e-06/0.5445, allocations: 0 / 1.111 GB, free: 6.82 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.5445, allocations: 5.125 kB / 1.111 GB, free: 6.816 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.5446, allocations: 3.906 kB / 1.111 GB, free: 6.812 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004327/0.545, allocations: 325.4 kB / 1.111 GB, free: 6.457 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.135e-05/0.5451, allocations: 34.58 kB / 1.111 GB, free: 6.414 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.727e-05/0.5451, allocations: 12.86 kB / 1.111 GB, free: 6.398 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.284e-05/0.5451, allocations: 7.906 kB / 1.111 GB, free: 6.391 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.716e-05/0.5452, allocations: 67.42 kB / 1.111 GB, free: 6.312 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.382e-06/0.5452, allocations: 0 / 1.111 GB, free: 6.312 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0001717/0.5454, allocations: 77.58 kB / 1.111 GB, free: 6.23 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.841e-05/0.5454, allocations: 55.41 kB / 1.111 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.839e-05/0.5455, allocations: 110.5 kB / 1.112 GB, free: 6.047 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.353e-05/0.5455, allocations: 33.7 kB / 1.112 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.595e-05/0.5456, allocations: 88.23 kB / 1.112 GB, free: 5.918 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.362e-05/0.5456, allocations: 15.91 kB / 1.112 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.843e-05/0.5456, allocations: 4 kB / 1.112 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.668e-05/0.5457, allocations: 322.7 kB / 1.112 GB, free: 5.574 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.5458, allocations: 55.98 kB / 1.112 GB, free: 5.52 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.546, allocations: 86.19 kB / 1.112 GB, free: 5.422 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002968/0.5463, allocations: 71.92 kB / 1.112 GB, free: 5.352 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.5463, allocations: 4 kB / 1.112 GB, free: 5.348 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004797/0.5468, allocations: 189.5 kB / 1.112 GB, free: 5.156 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.5468, allocations: 12.03 kB / 1.112 GB, free: 5.145 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.5468, allocations: 2.031 kB / 1.112 GB, free: 5.145 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.5468, allocations: 0 / 1.112 GB, free: 5.145 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.863e-05/0.5468, allocations: 11.98 kB / 1.112 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.5469, allocations: 0 / 1.112 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003228/0.5472, allocations: 81.03 kB / 1.112 GB, free: 5.055 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.373e-05/0.5472, allocations: 15.98 kB / 1.112 GB, free: 5.039 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 7.633e-05/0.5473, allocations: 112.8 kB / 1.113 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.374e-05/0.5473, allocations: 11.98 kB / 1.113 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.889e-05/0.5474, allocations: 16.28 kB / 1.113 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.5474, allocations: 0 / 1.113 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.5474, allocations: 0 / 1.113 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.5474, allocations: 0 / 1.113 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001043/0.5475, allocations: 150.2 kB / 1.113 GB, free: 4.707 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.5475, allocations: 4 kB / 1.113 GB, free: 4.703 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.755e-06/0.5475, allocations: 0 / 1.113 GB, free: 4.703 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.5475, allocations: 0.5625 kB / 1.113 GB, free: 4.703 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.585e-06/0.5475, allocations: 0 / 1.113 GB, free: 4.703 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.5475, allocations: 4 kB / 1.113 GB, free: 4.699 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.5475, allocations: 0 / 1.113 GB, free: 4.699 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001095/0.5477, allocations: 104.9 kB / 1.113 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.232e-05/0.5477, allocations: 81.11 kB / 1.113 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.5477, allocations: 0.9375 kB / 1.113 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.358e-05/0.5478, allocations: 7.844 kB / 1.113 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.707e-05/0.5478, allocations: 15.92 kB / 1.113 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/0.5478, allocations: 4 kB / 1.113 GB, free: 4.453 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.993e-05/0.5479, allocations: 88.86 kB / 1.113 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000218/0.5481, allocations: 32 kB / 1.113 GB, free: 4.332 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.0001264/0.5482, allocations: 111.2 kB / 1.113 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002326/0.5485, allocations: 159.3 kB / 1.113 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.5485, allocations: 0 / 1.113 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.627e-05/0.5485, allocations: 24 kB / 1.113 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001643/0.5487, allocations: 8.234 kB / 1.113 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002092/0.5489, allocations: 99.56 kB / 1.113 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002103/0.5491, allocations: 0.6997 MB / 1.114 GB, free: 3.168 MB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/0.5491, allocations: 1.031 kB / 1.114 GB, free: 3.168 MB / 0.7136 GB Notification: Performance of Templates: time 0.003291/0.5524, allocations: 1.611 MB / 1.116 GB, free: 1.602 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1)