Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.362/1.362, allocations: 285.5 MB / 292.8 MB, free: 10.41 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.00102/0.00102, allocations: 189.3 kB / 361.1 MB, free: 7.086 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.008/1.008, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.0007959/0.0007959, allocations: 94.41 kB / 0.7326 GB, free: 44.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.287e-06/9.308e-06, allocations: 4 kB / 0.8511 GB, free: 2.957 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4086/0.4086, allocations: 115.3 MB / 0.9637 GB, free: 77.96 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1302/0.5388, allocations: 136.3 MB / 1.097 GB, free: 3.73 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001857/0.5391, allocations: 67.95 kB / 1.097 GB, free: 3.664 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.0003664/0.5394, allocations: 56 kB / 1.097 GB, free: 3.613 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.5395, allocations: 4 kB / 1.097 GB, free: 3.609 MB / 0.698 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.00021/0.5397, allocations: 302.5 kB / 1.097 GB, free: 3.27 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.5397, allocations: 8.531 kB / 1.097 GB, free: 3.262 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.657e-05/0.5398, allocations: 0 / 1.097 GB, free: 3.262 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.5399, allocations: 171 kB / 1.097 GB, free: 3.055 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.5399, allocations: 2.125 kB / 1.097 GB, free: 3.055 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.039e-06/0.5399, allocations: 0 / 1.097 GB, free: 3.055 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.627e-05/0.5399, allocations: 0.8125 kB / 1.097 GB, free: 3.055 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.164e-05/0.54, allocations: 33.64 kB / 1.097 GB, free: 3.016 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.54, allocations: 0 / 1.097 GB, free: 3.016 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.123e-06/0.54, allocations: 4.578 kB / 1.097 GB, free: 3.016 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.427e-06/0.54, allocations: 0 / 1.097 GB, free: 3.016 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002299/0.5403, allocations: 360 kB / 1.098 GB, free: 2.625 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.558e-05/0.5403, allocations: 169.2 kB / 1.098 GB, free: 2.449 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.725e-05/0.5404, allocations: 81.05 kB / 1.098 GB, free: 2.367 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.398e-05/0.5404, allocations: 83.66 kB / 1.098 GB, free: 2.289 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.5405, allocations: 105.8 kB / 1.098 GB, free: 2.176 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.5405, allocations: 0 / 1.098 GB, free: 2.176 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 6.077e-05/0.5405, allocations: 25.7 kB / 1.098 GB, free: 2.145 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.448e-05/0.5406, allocations: 56.59 kB / 1.098 GB, free: 2.078 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.258e-05/0.5406, allocations: 90.31 kB / 1.098 GB, free: 1.984 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.498e-06/0.5406, allocations: 26.55 kB / 1.098 GB, free: 1.953 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.99e-05/0.5407, allocations: 80.14 kB / 1.098 GB, free: 1.871 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.002e-06/0.5407, allocations: 3.031 kB / 1.098 GB, free: 1.871 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.6e-07/0.5407, allocations: 0 / 1.098 GB, free: 1.871 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.5408, allocations: 318.7 kB / 1.099 GB, free: 1.551 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.675e-06/0.5408, allocations: 0 / 1.099 GB, free: 1.551 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.635e-06/0.5408, allocations: 6.469 kB / 1.099 GB, free: 1.547 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.149e-05/0.5408, allocations: 75.28 kB / 1.099 GB, free: 1.473 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.089e-05/0.5409, allocations: 75.28 kB / 1.099 GB, free: 1.398 MB / 0.698 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.108e-05/0.5409, allocations: 36.73 kB / 1.099 GB, free: 1.363 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.5409, allocations: 10.19 kB / 1.099 GB, free: 1.355 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.996e-05/0.541, allocations: 77.7 kB / 1.099 GB, free: 1.281 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.709e-05/0.541, allocations: 150.6 kB / 1.099 GB, free: 1.133 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.959e-05/0.5411, allocations: 79.22 kB / 1.099 GB, free: 1.055 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.112e-05/0.5411, allocations: 162.5 kB / 1.099 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.681e-05/0.5412, allocations: 80.06 kB / 1.099 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.095e-05/0.5412, allocations: 79.22 kB / 1.1 GB, free: 0.7383 MB / 0.698 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 8.909e-05/0.5413, allocations: 257 kB / 1.1 GB, free: 492 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.526e-05/0.5414, allocations: 102.1 kB / 1.1 GB, free: 384 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.513e-05/0.5414, allocations: 109.5 kB / 1.1 GB, free: 268 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-05/0.5415, allocations: 184.2 kB / 1.1 GB, free: 76 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.404e-05/0.5415, allocations: 176.8 kB / 1.1 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.358e-05/0.5416, allocations: 177.2 kB / 1.1 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001786/0.5418, allocations: 394.3 kB / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.84e-05/0.5418, allocations: 107 kB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.478e-05/0.5419, allocations: 102.1 kB / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.885e-05/0.5419, allocations: 186.3 kB / 1.101 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.254e-05/0.542, allocations: 181.3 kB / 1.101 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.679e-05/0.5421, allocations: 180 kB / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.478e-05/0.5421, allocations: 180.2 kB / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001091/0.5422, allocations: 307.8 kB / 1.102 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.955e-05/0.5423, allocations: 178.5 kB / 1.102 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.378e-05/0.5424, allocations: 186 kB / 1.102 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.8e-05/0.5424, allocations: 105 kB / 1.102 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.96e-05/0.5425, allocations: 184.2 kB / 1.103 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.913e-05/0.5425, allocations: 103.8 kB / 1.103 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.383e-05/0.5426, allocations: 80.66 kB / 1.103 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002366/0.5428, allocations: 0 / 1.103 GB, free: 13.15 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: 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.000119/0.5429, allocations: 179.5 kB / 1.103 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 2.809e-05/0.543, allocations: 0.8438 kB / 1.103 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.543, allocations: 3.938 kB / 1.103 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.01e-07/0.543, allocations: 0.5 kB / 1.103 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/0.5433, allocations: 0.5278 MB / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001377/0.5434, allocations: 118.2 kB / 1.104 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002147/0.5436, allocations: 0.6841 MB / 1.104 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/0.5436, allocations: 0 / 1.104 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of Templates: time 0.001249/0.5449, allocations: 152.9 kB / 1.104 GB, free: 11.46 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1)