Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And.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.And,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And") [: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.347/1.347, allocations: 289.8 MB / 297.1 MB, free: 6.598 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.00106/0.001061, allocations: 180 kB / 366.3 MB, free: 1.988 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.091/1.091, allocations: 205.1 MB / 0.6256 GB, free: 5.832 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.0008099/0.0008099, allocations: 90.12 kB / 0.7395 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.075e-05/1.084e-05, allocations: 8 kB / 0.859 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4391/0.4391, allocations: 116.3 MB / 0.9726 GB, free: 68.73 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1358/0.5749, allocations: 138.2 MB / 1.108 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001847/0.5752, allocations: 71.95 kB / 1.108 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.007916/0.5831, allocations: 2.61 MB / 1.11 GB, free: 7.59 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.5831, allocations: 0 / 1.11 GB, free: 7.59 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.0003338/0.5834, allocations: 406.4 kB / 1.111 GB, free: 7.137 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.5835, allocations: 8.031 kB / 1.111 GB, free: 7.129 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.826e-05/0.5835, allocations: 11.98 kB / 1.111 GB, free: 7.117 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.5837, allocations: 175.6 kB / 1.111 GB, free: 6.906 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.5837, allocations: 0 / 1.111 GB, free: 6.906 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.11e-05/0.5837, allocations: 8 kB / 1.111 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.522e-05/0.5838, allocations: 12 kB / 1.111 GB, free: 6.887 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.865e-05/0.5838, allocations: 53.67 kB / 1.111 GB, free: 6.828 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.751e-06/0.5839, allocations: 0 / 1.111 GB, free: 6.828 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.425e-06/0.5839, allocations: 1.125 kB / 1.111 GB, free: 6.828 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.5839, allocations: 3.906 kB / 1.111 GB, free: 6.824 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000401/0.5843, allocations: 333.3 kB / 1.111 GB, free: 6.461 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.772e-05/0.5844, allocations: 26.58 kB / 1.111 GB, free: 6.426 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.587e-05/0.5844, allocations: 16.94 kB / 1.111 GB, free: 6.406 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.015e-05/0.5844, allocations: 7.906 kB / 1.111 GB, free: 6.398 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.788e-05/0.5845, allocations: 67.41 kB / 1.111 GB, free: 6.32 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.303e-06/0.5845, allocations: 0 / 1.111 GB, free: 6.32 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0001578/0.5846, allocations: 77.52 kB / 1.111 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.061e-05/0.5847, allocations: 51.41 kB / 1.111 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.137e-05/0.5848, allocations: 118.3 kB / 1.112 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/0.5848, allocations: 29.7 kB / 1.112 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.241e-05/0.5849, allocations: 96.22 kB / 1.112 GB, free: 5.918 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.467e-05/0.5849, allocations: 11.91 kB / 1.112 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.715e-05/0.5849, allocations: 0 / 1.112 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.21e-05/0.585, allocations: 323.6 kB / 1.112 GB, free: 5.582 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.5851, allocations: 51.98 kB / 1.112 GB, free: 5.531 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/0.5852, allocations: 83.91 kB / 1.112 GB, free: 5.438 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002922/0.5855, allocations: 80.61 kB / 1.112 GB, free: 5.359 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.5856, allocations: 0 / 1.112 GB, free: 5.359 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004771/0.586, allocations: 198.5 kB / 1.112 GB, free: 5.16 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.408e-06/0.5861, allocations: 4 kB / 1.112 GB, free: 5.156 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.5861, allocations: 0 / 1.112 GB, free: 5.156 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.5861, allocations: 4 kB / 1.112 GB, free: 5.152 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.673e-05/0.5861, allocations: 3.938 kB / 1.112 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.5861, allocations: 4 kB / 1.112 GB, free: 5.145 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003207/0.5864, allocations: 80.06 kB / 1.112 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.993e-05/0.5865, allocations: 11.98 kB / 1.112 GB, free: 5.055 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,and1.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.853e-05/0.5866, allocations: 112.9 kB / 1.113 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.889e-06/0.5866, allocations: 4 kB / 1.113 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.897e-05/0.5866, allocations: 20.27 kB / 1.113 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.5866, allocations: 0.8438 kB / 1.113 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.5866, allocations: 0 / 1.113 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.5866, allocations: 0 / 1.113 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001023/0.5867, allocations: 150.2 kB / 1.113 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.5867, allocations: 0 / 1.113 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.614e-06/0.5868, allocations: 0 / 1.113 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.5868, allocations: 0 / 1.113 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.5868, allocations: 4 kB / 1.113 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.5868, allocations: 5.969 kB / 1.113 GB, free: 4.719 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.5868, allocations: 8.641 kB / 1.113 GB, free: 4.711 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001023/0.5869, allocations: 96.92 kB / 1.113 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.639e-05/0.5869, allocations: 81.11 kB / 1.113 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.587, allocations: 0 / 1.113 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.234e-05/0.587, allocations: 7.891 kB / 1.113 GB, free: 4.492 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.093e-05/0.587, allocations: 4 kB / 1.113 GB, free: 4.488 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.587, allocations: 3.938 kB / 1.113 GB, free: 4.484 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.632e-05/0.5871, allocations: 96.58 kB / 1.113 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000213/0.5873, allocations: 28 kB / 1.113 GB, free: 4.363 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,and1.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.0001415/0.5874, allocations: 119.1 kB / 1.113 GB, free: 4.238 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002289/0.5877, allocations: 147.4 kB / 1.113 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.5877, allocations: 0 / 1.113 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.853e-05/0.5877, allocations: 28.88 kB / 1.113 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001687/0.5879, allocations: 18.42 kB / 1.113 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002006/0.5881, allocations: 87.62 kB / 1.113 GB, free: 3.93 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002423/0.5884, allocations: 0.6997 MB / 1.114 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of SimCode: time 2.9e-07/0.5884, allocations: 0 / 1.114 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of Templates: time 0.003472/0.5919, allocations: 1.582 MB / 1.116 GB, free: 1.668 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1)