Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.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.LogicalSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch") [: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.323/1.323, allocations: 289.8 MB / 297.1 MB, free: 6.703 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.0008991/0.0008991, allocations: 181.2 kB / 366.3 MB, free: 1.996 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.016/1.016, allocations: 205.1 MB / 0.6256 GB, free: 5.82 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.0007358/0.0007358, allocations: 86.42 kB / 0.7395 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.782e-06/6.802e-06, allocations: 0 / 0.859 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4202/0.4202, allocations: 116.3 MB / 0.9726 GB, free: 68.3 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1364/0.5567, allocations: 138.3 MB / 1.108 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001771/0.5569, allocations: 71.89 kB / 1.108 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.01115/0.5681, allocations: 3.754 MB / 1.111 GB, free: 6.402 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.5681, allocations: 0 / 1.111 GB, free: 6.402 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003549/0.5684, allocations: 443.4 kB / 1.112 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.5685, allocations: 16.03 kB / 1.112 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.227e-05/0.5686, allocations: 20.92 kB / 1.112 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.5687, allocations: 178.9 kB / 1.112 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.155e-05/0.5687, allocations: 4 kB / 1.112 GB, free: 5.652 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.1e-05/0.5688, allocations: 12 kB / 1.112 GB, free: 5.641 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.046e-05/0.5688, allocations: 12 kB / 1.112 GB, free: 5.629 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.702e-05/0.5689, allocations: 57.66 kB / 1.112 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.891e-06/0.5689, allocations: 0 / 1.112 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.5689, allocations: 4 kB / 1.112 GB, free: 5.562 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.5689, allocations: 0 / 1.112 GB, free: 5.562 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000505/0.5695, allocations: 397 kB / 1.112 GB, free: 5.137 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.777e-05/0.5695, allocations: 26.58 kB / 1.112 GB, free: 5.102 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.922e-05/0.5695, allocations: 17.61 kB / 1.112 GB, free: 5.082 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.137e-05/0.5696, allocations: 11.91 kB / 1.112 GB, free: 5.07 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.273e-05/0.5697, allocations: 71.48 kB / 1.113 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 2.445e-06/0.5697, allocations: 4 kB / 1.113 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0001928/0.5699, allocations: 94.55 kB / 1.113 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.584e-05/0.5699, allocations: 51.41 kB / 1.113 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.222e-05/0.57, allocations: 128.1 kB / 1.113 GB, free: 4.695 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.589e-05/0.57, allocations: 33.7 kB / 1.113 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.397e-05/0.5701, allocations: 96.11 kB / 1.113 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.722e-05/0.5701, allocations: 20.36 kB / 1.113 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.56e-05/0.5701, allocations: 4 kB / 1.113 GB, free: 4.535 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.5703, allocations: 330.8 kB / 1.113 GB, free: 4.203 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.5704, allocations: 75.98 kB / 1.113 GB, free: 4.129 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001664/0.5706, allocations: 122.1 kB / 1.113 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004082/0.571, allocations: 111.9 kB / 1.114 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.571, allocations: 0.8438 kB / 1.114 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006703/0.5717, allocations: 289.2 kB / 1.114 GB, free: 3.594 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.778e-06/0.5717, allocations: 6.969 kB / 1.114 GB, free: 3.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.5717, allocations: 4 kB / 1.114 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.768e-06/0.5717, allocations: 0 / 1.114 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.74e-05/0.5718, allocations: 4 kB / 1.114 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.5718, allocations: 11.92 kB / 1.114 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004638/0.5722, allocations: 116.1 kB / 1.114 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.779e-05/0.5723, allocations: 15.98 kB / 1.114 GB, free: 3.441 MB / 0.7136 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,$PRE.booPul3.y,booPul3.y,logicalSwitch.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 9.01e-05/0.5724, allocations: 122.6 kB / 1.114 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.404e-05/0.5724, allocations: 7.906 kB / 1.114 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.749e-05/0.5724, allocations: 8.375 kB / 1.114 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.5724, allocations: 4 kB / 1.114 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.5724, allocations: 0 / 1.114 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.5724, allocations: 3.984 kB / 1.114 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001018/0.5726, allocations: 158.2 kB / 1.114 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.5726, allocations: 3.906 kB / 1.114 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.957e-05/0.5726, allocations: 7.938 kB / 1.114 GB, free: 3.086 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-06/0.5726, allocations: 4 kB / 1.114 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.5726, allocations: 4 kB / 1.114 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.5726, allocations: 4 kB / 1.114 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.5726, allocations: 0 / 1.114 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001246/0.5728, allocations: 113.7 kB / 1.114 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.084e-05/0.5728, allocations: 89 kB / 1.115 GB, free: 2.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.5728, allocations: 3.906 kB / 1.115 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.462e-05/0.5729, allocations: 4 kB / 1.115 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.44e-05/0.5729, allocations: 11.98 kB / 1.115 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-06/0.5729, allocations: 5.031 kB / 1.115 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.158e-05/0.5729, allocations: 95.27 kB / 1.115 GB, free: 2.723 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002344/0.5732, allocations: 43.94 kB / 1.115 GB, free: 2.68 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.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.0001413/0.5733, allocations: 117.6 kB / 1.115 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003056/0.5736, allocations: 233 kB / 1.115 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.5737, allocations: 384 / 1.115 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.408e-05/0.5737, allocations: 36 kB / 1.115 GB, free: 2.277 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001881/0.5739, allocations: 21.95 kB / 1.115 GB, free: 2.258 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002397/0.5741, allocations: 115.3 kB / 1.115 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002314/0.5744, allocations: 0.7114 MB / 1.116 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of SimCode: time 2.2e-07/0.5744, allocations: 4 kB / 1.116 GB, free: 1.379 MB / 0.7136 GB Notification: Performance of Templates: time 0.003945/0.5783, allocations: 2.227 MB / 1.118 GB, free: 15.2 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe 2>&1)