Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") [: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.34/1.34, allocations: 289.8 MB / 297.1 MB, free: 12.57 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.001003/0.001003, allocations: 182.7 kB / 366.3 MB, free: 11.88 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.013/1.013, allocations: 205.1 MB / 0.6256 GB, free: 2.008 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.000831/0.000831, allocations: 84.48 kB / 0.7395 GB, free: 47.02 MB / 0.5183 GB Notification: Performance of FrontEnd - loaded program: time 7.705e-06/7.805e-06, allocations: 4 kB / 0.859 GB, free: 7.121 MB / 0.5964 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4564/0.4564, allocations: 116.3 MB / 0.9726 GB, free: 81.34 MB / 0.6746 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1444/0.6009, allocations: 137.3 MB / 1.107 GB, free: 6.594 MB / 0.7058 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001913/0.6011, allocations: 63.95 kB / 1.107 GB, free: 6.531 MB / 0.7058 GB Notification: Performance of FrontEnd: time 0.0003838/0.6015, allocations: 60.23 kB / 1.107 GB, free: 6.477 MB / 0.7058 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.6015, allocations: 0 / 1.107 GB, free: 6.477 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001967/0.6017, allocations: 304.4 kB / 1.107 GB, free: 6.137 MB / 0.7058 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.6018, allocations: 8.031 kB / 1.107 GB, free: 6.129 MB / 0.7058 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.503e-05/0.6018, allocations: 4.938 kB / 1.107 GB, free: 6.125 MB / 0.7058 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.6019, allocations: 163 kB / 1.107 GB, free: 5.926 MB / 0.7058 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.602, allocations: 0 / 1.107 GB, free: 5.926 MB / 0.7058 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.255e-06/0.602, allocations: 0.6875 kB / 1.107 GB, free: 5.926 MB / 0.7058 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.57e-05/0.602, allocations: 0.75 kB / 1.107 GB, free: 5.926 MB / 0.7058 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.944e-05/0.6021, allocations: 33.64 kB / 1.107 GB, free: 5.887 MB / 0.7058 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.6021, allocations: 1.25 kB / 1.107 GB, free: 5.887 MB / 0.7058 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.6021, allocations: 1.188 kB / 1.107 GB, free: 5.887 MB / 0.7058 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.6021, allocations: 3.984 kB / 1.107 GB, free: 5.883 MB / 0.7058 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002486/0.6024, allocations: 361.5 kB / 1.108 GB, free: 5.492 MB / 0.7058 GB Notification: Performance of preOpt comSubExp (simulation): time 6.831e-05/0.6024, allocations: 168.2 kB / 1.108 GB, free: 5.32 MB / 0.7058 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.112e-05/0.6025, allocations: 80.14 kB / 1.108 GB, free: 5.238 MB / 0.7058 GB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.6025, allocations: 76.5 kB / 1.108 GB, free: 5.164 MB / 0.7058 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.398e-05/0.6026, allocations: 114.8 kB / 1.108 GB, free: 5.043 MB / 0.7058 GB Notification: Performance of pre-optimization done (n=0): time 1.383e-06/0.6026, allocations: 3.5 kB / 1.108 GB, free: 5.043 MB / 0.7058 GB Notification: Performance of matching and sorting (n=0): time 8.589e-05/0.6027, allocations: 34.45 kB / 1.108 GB, free: 5.004 MB / 0.7058 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.352e-05/0.6027, allocations: 51.41 kB / 1.108 GB, free: 4.941 MB / 0.7058 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.74e-05/0.6028, allocations: 86 kB / 1.108 GB, free: 4.852 MB / 0.7058 GB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.6028, allocations: 26.27 kB / 1.108 GB, free: 4.82 MB / 0.7058 GB Notification: Performance of collectInitialEqns (initialization): time 4.166e-05/0.6028, allocations: 80.89 kB / 1.108 GB, free: 4.738 MB / 0.7058 GB Notification: Performance of collectInitialBindings (initialization): time 1.493e-06/0.6028, allocations: 0 / 1.108 GB, free: 4.738 MB / 0.7058 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.51e-07/0.6028, allocations: 0.5 kB / 1.108 GB, free: 4.738 MB / 0.7058 GB Notification: Performance of setup shared object (initialization): time 9.524e-05/0.603, allocations: 321.4 kB / 1.109 GB, free: 4.418 MB / 0.7058 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.616e-06/0.603, allocations: 0 / 1.109 GB, free: 4.418 MB / 0.7058 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.018e-06/0.603, allocations: 2.969 kB / 1.109 GB, free: 4.418 MB / 0.7058 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.45e-05/0.603, allocations: 75.97 kB / 1.109 GB, free: 4.344 MB / 0.7058 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.458e-05/0.603, allocations: 75.28 kB / 1.109 GB, free: 4.27 MB / 0.7058 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.036e-05/0.6031, allocations: 38.94 kB / 1.109 GB, free: 4.227 MB / 0.7058 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.6031, allocations: 4 kB / 1.109 GB, free: 4.223 MB / 0.7058 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.634e-05/0.6032, allocations: 75.81 kB / 1.109 GB, free: 4.148 MB / 0.7058 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.025e-05/0.6032, allocations: 155.5 kB / 1.109 GB, free: 3.996 MB / 0.7058 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.284e-05/0.6033, allocations: 79.22 kB / 1.109 GB, free: 3.918 MB / 0.7058 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-05/0.6033, allocations: 157.3 kB / 1.109 GB, free: 3.766 MB / 0.7058 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.862e-05/0.6034, allocations: 77.25 kB / 1.109 GB, free: 3.691 MB / 0.7058 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.183e-05/0.6034, allocations: 80.19 kB / 1.109 GB, free: 3.613 MB / 0.7058 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.279e-05/0.6035, allocations: 260 kB / 1.11 GB, free: 3.352 MB / 0.7058 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.31e-05/0.6036, allocations: 106.3 kB / 1.11 GB, free: 3.242 MB / 0.7058 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.053e-05/0.6036, allocations: 104 kB / 1.11 GB, free: 3.133 MB / 0.7058 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.142e-05/0.6037, allocations: 180.9 kB / 1.11 GB, free: 2.949 MB / 0.7058 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-05/0.6038, allocations: 181 kB / 1.11 GB, free: 2.766 MB / 0.7058 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.365e-05/0.6038, allocations: 184.6 kB / 1.11 GB, free: 2.582 MB / 0.7058 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001653/0.604, allocations: 386.5 kB / 1.111 GB, free: 2.16 MB / 0.7058 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.199e-05/0.604, allocations: 101.9 kB / 1.111 GB, free: 2.055 MB / 0.7058 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.783e-05/0.6041, allocations: 101 kB / 1.111 GB, free: 1.949 MB / 0.7058 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.815e-05/0.6041, allocations: 197.1 kB / 1.111 GB, free: 1.75 MB / 0.7058 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.829e-05/0.6042, allocations: 182 kB / 1.111 GB, free: 1.566 MB / 0.7058 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.537e-05/0.6042, allocations: 178.5 kB / 1.111 GB, free: 1.387 MB / 0.7058 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.122e-05/0.6043, allocations: 184.2 kB / 1.112 GB, free: 1.199 MB / 0.7058 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001199/0.6044, allocations: 299.8 kB / 1.112 GB, free: 0.8828 MB / 0.7058 GB Notification: Performance of postOpt removeConstants (simulation): time 6.606e-05/0.6045, allocations: 182.4 kB / 1.112 GB, free: 0.6797 MB / 0.7058 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.126e-05/0.6046, allocations: 188.2 kB / 1.112 GB, free: 500 kB / 0.7058 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.866e-05/0.6046, allocations: 101 kB / 1.112 GB, free: 392 kB / 0.7058 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.262e-05/0.6047, allocations: 192.2 kB / 1.113 GB, free: 192 kB / 0.7058 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.204e-05/0.6048, allocations: 101.9 kB / 1.113 GB, free: 84 kB / 0.7058 GB Notification: Performance of sort global known variables: time 2.683e-05/0.6048, allocations: 79.28 kB / 1.113 GB, free: 4 kB / 0.7058 GB Notification: Performance of remove unused functions: time 0.0002191/0.605, allocations: 0 / 1.113 GB, free: 4 kB / 0.7058 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001435/0.6052, allocations: 176.3 kB / 1.113 GB, free: 15.82 MB / 0.7214 GB Notification: Performance of simCode: created initialization part: time 2.968e-05/0.6052, allocations: 0 / 1.113 GB, free: 15.82 MB / 0.7214 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.6052, allocations: 0 / 1.113 GB, free: 15.82 MB / 0.7214 GB Notification: Performance of simCode: created simulation system equations: time 2.364e-06/0.6052, allocations: 0 / 1.113 GB, free: 15.82 MB / 0.7214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002578/0.6055, allocations: 0.5283 MB / 1.113 GB, free: 15.29 MB / 0.7214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001565/0.6057, allocations: 119.3 kB / 1.113 GB, free: 15.15 MB / 0.7214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000222/0.6059, allocations: 0.6802 MB / 1.114 GB, free: 14.44 MB / 0.7214 GB Notification: Performance of SimCode: time 2.5e-07/0.6059, allocations: 3.938 kB / 1.114 GB, free: 14.44 MB / 0.7214 GB Notification: Performance of Templates: time 0.00132/0.6072, allocations: 151.3 kB / 1.114 GB, free: 14.32 MB / 0.7214 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1)