Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.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.Integers.Validation.Abs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Abs") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Abs") [: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.312/1.312, allocations: 285.5 MB / 292.8 MB, free: 10.43 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.0009598/0.0009598, allocations: 189.3 kB / 361.1 MB, free: 7.074 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.014/1.014, allocations: 205.1 MB / 0.6195 GB, free: 10.26 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.000773/0.000773, allocations: 96.17 kB / 0.7326 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.013e-06/7.033e-06, allocations: 4 kB / 0.8511 GB, free: 2.918 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4128/0.4129, allocations: 115.3 MB / 0.9637 GB, free: 78.08 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1317/0.5446, allocations: 137 MB / 1.097 GB, free: 3.035 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001708/0.5448, allocations: 67.95 kB / 1.097 GB, free: 2.969 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.002442/0.5472, allocations: 0.6196 MB / 1.098 GB, free: 2.379 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.5473, allocations: 4 kB / 1.098 GB, free: 2.375 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003643/0.5476, allocations: 351.3 kB / 1.098 GB, free: 1.992 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.5477, allocations: 8.031 kB / 1.098 GB, free: 1.984 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.235e-05/0.5477, allocations: 7.906 kB / 1.098 GB, free: 1.977 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.5478, allocations: 173.2 kB / 1.099 GB, free: 1.77 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.5479, allocations: 4 kB / 1.099 GB, free: 1.766 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.5479, allocations: 0 / 1.099 GB, free: 1.766 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.183e-05/0.548, allocations: 28.48 kB / 1.099 GB, free: 1.738 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.786e-05/0.5481, allocations: 50.38 kB / 1.099 GB, free: 1.684 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.5481, allocations: 2.938 kB / 1.099 GB, free: 1.684 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.5481, allocations: 0.6562 kB / 1.099 GB, free: 1.684 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.5481, allocations: 3.984 kB / 1.099 GB, free: 1.68 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003688/0.5485, allocations: 261.3 kB / 1.099 GB, free: 1.387 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.737e-05/0.5486, allocations: 51.78 kB / 1.099 GB, free: 1.328 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.522e-05/0.5486, allocations: 14.22 kB / 1.099 GB, free: 1.312 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.498e-05/0.5487, allocations: 4.688 kB / 1.099 GB, free: 1.309 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.5487, allocations: 43.28 kB / 1.099 GB, free: 1.258 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.5487, allocations: 0.6875 kB / 1.099 GB, free: 1.258 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0001696/0.5489, allocations: 58.88 kB / 1.099 GB, free: 1.195 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.402e-05/0.5489, allocations: 51.41 kB / 1.099 GB, free: 1.133 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.056e-05/0.549, allocations: 97 kB / 1.099 GB, free: 1.031 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.549, allocations: 26.45 kB / 1.099 GB, free: 1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.287e-05/0.549, allocations: 89.5 kB / 1.099 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.562e-05/0.5491, allocations: 11.91 kB / 1.099 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.619e-06/0.5491, allocations: 0 / 1.099 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.225e-05/0.5492, allocations: 310.8 kB / 1.1 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.761e-05/0.5492, allocations: 12.56 kB / 1.1 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.329e-05/0.5492, allocations: 9.344 kB / 1.1 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.526e-05/0.5493, allocations: 20.8 kB / 1.1 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.5493, allocations: 0 / 1.1 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001087/0.5494, allocations: 64.3 kB / 1.1 GB, free: 492 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.207e-06/0.5494, allocations: 4 kB / 1.1 GB, free: 488 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.5494, allocations: 0.5 kB / 1.1 GB, free: 488 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.448e-06/0.5494, allocations: 0 / 1.1 GB, free: 488 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001427/0.5496, allocations: 21.42 kB / 1.1 GB, free: 468 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.5496, allocations: 5.625 kB / 1.1 GB, free: 468 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.126e-05/0.5497, allocations: 11.98 kB / 1.1 GB, free: 456 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.495e-06/0.5497, allocations: 0 / 1.1 GB, free: 456 kB / 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: 2 (abs1.u,abs1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 6.695e-05/0.5498, allocations: 113.5 kB / 1.1 GB, free: 336 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.644e-05/0.5498, allocations: 0 / 1.1 GB, free: 336 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.264e-05/0.5498, allocations: 8.734 kB / 1.1 GB, free: 324 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.5498, allocations: 3.906 kB / 1.1 GB, free: 320 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.5498, allocations: 8 kB / 1.1 GB, free: 312 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.5498, allocations: 0.5156 kB / 1.1 GB, free: 312 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001464/0.55, allocations: 150.2 kB / 1.1 GB, free: 124 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.55, allocations: 2.125 kB / 1.1 GB, free: 124 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.5501, allocations: 15.98 kB / 1.1 GB, free: 108 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.624e-06/0.5501, allocations: 0 / 1.1 GB, free: 108 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.5501, allocations: 0 / 1.1 GB, free: 108 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.5501, allocations: 6.406 kB / 1.1 GB, free: 104 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.5502, allocations: 7.906 kB / 1.1 GB, free: 96 kB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001532/0.5503, allocations: 156.4 kB / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.68e-05/0.5504, allocations: 85.02 kB / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.5504, allocations: 0 / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.5505, allocations: 7.984 kB / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.58e-05/0.5506, allocations: 17.95 kB / 1.1 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.5506, allocations: 4 kB / 1.1 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.481e-05/0.5506, allocations: 80.78 kB / 1.1 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002248/0.5508, allocations: 15.92 kB / 1.1 GB, free: 15.7 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: 2 (abs1.u,abs1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.000108/0.551, allocations: 99.03 kB / 1.101 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001066/0.5511, allocations: 36.78 kB / 1.101 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.012e-06/0.5511, allocations: 0 / 1.101 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.309e-05/0.5511, allocations: 19.94 kB / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001624/0.5513, allocations: 14.31 kB / 1.101 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00023/0.5515, allocations: 76.58 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00024/0.5518, allocations: 0.6993 MB / 1.101 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of SimCode: time 2.9e-07/0.5518, allocations: 0 / 1.101 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of Templates: time 0.002309/0.5541, allocations: 0.8089 MB / 1.102 GB, free: 13.94 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Abs -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1)