Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.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.And3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3") [: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.343/1.343, allocations: 289.8 MB / 297.1 MB, free: 12.59 MB / 242.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009418/0.0009418, allocations: 187.4 kB / 366.3 MB, free: 11.93 MB / 290.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.072/1.072, allocations: 205.1 MB / 0.6256 GB, free: 2.012 MB / 466.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007922/0.0007922, allocations: 73.69 kB / 0.7395 GB, free: 47.02 MB / 0.5183 GB Notification: Performance of FrontEnd - loaded program: time 8.236e-06/8.246e-06, allocations: 4 kB / 0.859 GB, free: 7.145 MB / 0.5964 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4598/0.4599, allocations: 116.3 MB / 0.9726 GB, free: 81.45 MB / 0.6746 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1354/0.5953, allocations: 138.3 MB / 1.108 GB, free: 5.691 MB / 0.7058 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001562/0.5955, allocations: 68.78 kB / 1.108 GB, free: 5.625 MB / 0.7058 GB Notification: Performance of FrontEnd: time 0.01091/0.6064, allocations: 3.758 MB / 1.111 GB, free: 1.906 MB / 0.7058 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.6065, allocations: 0 / 1.111 GB, free: 1.906 MB / 0.7058 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.0003348/0.6068, allocations: 451.4 kB / 1.112 GB, free: 1.402 MB / 0.7058 GB Notification: Performance of prepare preOptimizeDAE: time 2.609e-05/0.6068, allocations: 8.031 kB / 1.112 GB, free: 1.395 MB / 0.7058 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.457e-05/0.6069, allocations: 17.16 kB / 1.112 GB, free: 1.379 MB / 0.7058 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.925e-05/0.607, allocations: 174.2 kB / 1.112 GB, free: 1.172 MB / 0.7058 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.607, allocations: 3.984 kB / 1.112 GB, free: 1.168 MB / 0.7058 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.173e-05/0.6071, allocations: 17.22 kB / 1.112 GB, free: 1.152 MB / 0.7058 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.575e-05/0.6071, allocations: 20 kB / 1.112 GB, free: 1.133 MB / 0.7058 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.983e-05/0.6072, allocations: 49.67 kB / 1.112 GB, free: 1.078 MB / 0.7058 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.209e-06/0.6072, allocations: 0 / 1.112 GB, free: 1.078 MB / 0.7058 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.113e-06/0.6072, allocations: 0 / 1.112 GB, free: 1.078 MB / 0.7058 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.6072, allocations: 4 kB / 1.112 GB, free: 1.074 MB / 0.7058 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004654/0.6077, allocations: 401 kB / 1.112 GB, free: 0.6445 MB / 0.7058 GB Notification: Performance of preOpt comSubExp (simulation): time 4.256e-05/0.6078, allocations: 26.58 kB / 1.112 GB, free: 0.6094 MB / 0.7058 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.622e-05/0.6078, allocations: 16.86 kB / 1.112 GB, free: 0.5898 MB / 0.7058 GB Notification: Performance of preOpt evalFunc (simulation): time 7.735e-06/0.6078, allocations: 7.984 kB / 1.112 GB, free: 0.582 MB / 0.7058 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.26e-05/0.6079, allocations: 81.3 kB / 1.113 GB, free: 0.4922 MB / 0.7058 GB Notification: Performance of pre-optimization done (n=10): time 1.223e-06/0.6079, allocations: 0 / 1.113 GB, free: 0.4922 MB / 0.7058 GB Notification: Performance of matching and sorting (n=10): time 0.0001684/0.6081, allocations: 85.59 kB / 1.113 GB, free: 412 kB / 0.7058 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.926e-05/0.6081, allocations: 59.41 kB / 1.113 GB, free: 340 kB / 0.7058 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.818e-05/0.6082, allocations: 128.8 kB / 1.113 GB, free: 204 kB / 0.7058 GB Notification: Performance of collectPreVariables (initialization): time 4.153e-05/0.6083, allocations: 33.64 kB / 1.113 GB, free: 164 kB / 0.7058 GB Notification: Performance of collectInitialEqns (initialization): time 5.951e-05/0.6083, allocations: 96.05 kB / 1.113 GB, free: 64 kB / 0.7058 GB Notification: Performance of collectInitialBindings (initialization): time 1.822e-05/0.6083, allocations: 19.86 kB / 1.113 GB, free: 44 kB / 0.7058 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.648e-05/0.6084, allocations: 8 kB / 1.113 GB, free: 36 kB / 0.7058 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.6085, allocations: 318.8 kB / 1.113 GB, free: 15.71 MB / 0.7214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.6087, allocations: 75.98 kB / 1.113 GB, free: 15.64 MB / 0.7214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001637/0.6088, allocations: 127.5 kB / 1.113 GB, free: 15.5 MB / 0.7214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000414/0.6093, allocations: 103.9 kB / 1.114 GB, free: 15.39 MB / 0.7214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.6093, allocations: 0 / 1.114 GB, free: 15.39 MB / 0.7214 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006664/0.6099, allocations: 290.1 kB / 1.114 GB, free: 15.11 MB / 0.7214 GB Notification: Performance of prepare postOptimizeDAE: time 9.418e-06/0.61, allocations: 5.406 kB / 1.114 GB, free: 15.1 MB / 0.7214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.61, allocations: 5.75 kB / 1.114 GB, free: 15.1 MB / 0.7214 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.789e-06/0.61, allocations: 4 kB / 1.114 GB, free: 15.09 MB / 0.7214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.673e-05/0.61, allocations: 3.938 kB / 1.114 GB, free: 15.09 MB / 0.7214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.61, allocations: 4 kB / 1.114 GB, free: 15.09 MB / 0.7214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004627/0.6105, allocations: 116 kB / 1.114 GB, free: 14.97 MB / 0.7214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.052e-05/0.6105, allocations: 19.98 kB / 1.114 GB, free: 14.95 MB / 0.7214 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,and1.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 8.05e-05/0.6106, allocations: 119.2 kB / 1.114 GB, free: 14.83 MB / 0.7214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.528e-05/0.6106, allocations: 11.91 kB / 1.114 GB, free: 14.82 MB / 0.7214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.908e-05/0.6107, allocations: 16.36 kB / 1.114 GB, free: 14.8 MB / 0.7214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-06/0.6107, allocations: 0 / 1.114 GB, free: 14.8 MB / 0.7214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.6107, allocations: 0 / 1.114 GB, free: 14.8 MB / 0.7214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.6107, allocations: 3.938 kB / 1.114 GB, free: 14.8 MB / 0.7214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001143/0.6108, allocations: 162.2 kB / 1.114 GB, free: 14.6 MB / 0.7214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.6108, allocations: 6.344 kB / 1.114 GB, free: 14.6 MB / 0.7214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.023e-05/0.6108, allocations: 3.984 kB / 1.114 GB, free: 14.59 MB / 0.7214 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.6108, allocations: 0.9375 kB / 1.114 GB, free: 14.59 MB / 0.7214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.6109, allocations: 4 kB / 1.114 GB, free: 14.59 MB / 0.7214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.6109, allocations: 1.562 kB / 1.114 GB, free: 14.59 MB / 0.7214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.6109, allocations: 4 kB / 1.114 GB, free: 14.59 MB / 0.7214 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001321/0.611, allocations: 113 kB / 1.114 GB, free: 14.46 MB / 0.7214 GB Notification: Performance of postOpt removeConstants (simulation): time 3.066e-05/0.611, allocations: 85.02 kB / 1.115 GB, free: 14.36 MB / 0.7214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.6111, allocations: 3.906 kB / 1.115 GB, free: 14.35 MB / 0.7214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.698e-05/0.6111, allocations: 4.672 kB / 1.115 GB, free: 14.35 MB / 0.7214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.903e-05/0.6111, allocations: 11.98 kB / 1.115 GB, free: 14.34 MB / 0.7214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.6111, allocations: 4 kB / 1.115 GB, free: 14.33 MB / 0.7214 GB Notification: Performance of sort global known variables: time 4.738e-05/0.6112, allocations: 91.28 kB / 1.115 GB, free: 14.24 MB / 0.7214 GB Notification: Performance of remove unused functions: time 0.0002399/0.6114, allocations: 51.92 kB / 1.115 GB, free: 14.19 MB / 0.7214 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,and1.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.0001205/0.6116, allocations: 111.2 kB / 1.115 GB, free: 14.07 MB / 0.7214 GB Notification: Performance of simCode: created initialization part: time 0.0003057/0.6119, allocations: 229 kB / 1.115 GB, free: 13.83 MB / 0.7214 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.6119, allocations: 0.8438 kB / 1.115 GB, free: 13.83 MB / 0.7214 GB Notification: Performance of simCode: created simulation system equations: time 5.532e-05/0.612, allocations: 39.98 kB / 1.115 GB, free: 13.79 MB / 0.7214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001859/0.6121, allocations: 21.3 kB / 1.115 GB, free: 13.77 MB / 0.7214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002343/0.6124, allocations: 112.2 kB / 1.115 GB, free: 13.64 MB / 0.7214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000246/0.6126, allocations: 0.7189 MB / 1.116 GB, free: 12.9 MB / 0.7214 GB Notification: Performance of SimCode: time 2.3e-07/0.6127, allocations: 0 / 1.116 GB, free: 12.9 MB / 0.7214 GB Notification: Performance of Templates: time 0.004004/0.6167, allocations: 2.228 MB / 1.118 GB, free: 10.75 MB / 0.7214 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe 2>&1)