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.GreaterThreshold.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.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") [: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.342/1.342, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.001/0.001, allocations: 177.3 kB / 361.1 MB, free: 7.109 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.053/1.053, allocations: 205.1 MB / 0.6195 GB, free: 10.32 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.0007449/0.0007451, allocations: 87.78 kB / 0.7325 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.612e-06/6.702e-06, allocations: 0 / 0.8511 GB, free: 2.977 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4404/0.4404, allocations: 115.3 MB / 0.9637 GB, free: 78.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1384/0.5788, allocations: 137 MB / 1.097 GB, free: 3.156 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001833/0.579, allocations: 72.8 kB / 1.098 GB, free: 3.086 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.002617/0.5817, allocations: 0.6443 MB / 1.098 GB, free: 2.473 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.5817, allocations: 3.25 kB / 1.098 GB, free: 2.473 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.0003717/0.5821, allocations: 347 kB / 1.098 GB, free: 2.09 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.5821, allocations: 9.125 kB / 1.098 GB, free: 2.082 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.314e-05/0.5822, allocations: 11.89 kB / 1.099 GB, free: 2.07 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.5823, allocations: 172.3 kB / 1.099 GB, free: 1.863 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.5823, allocations: 0 / 1.099 GB, free: 1.863 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.5823, allocations: 4 kB / 1.099 GB, free: 1.859 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.173e-05/0.5824, allocations: 20 kB / 1.099 GB, free: 1.84 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.028e-05/0.5825, allocations: 58.09 kB / 1.099 GB, free: 1.777 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.5825, allocations: 1.156 kB / 1.099 GB, free: 1.777 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.5825, allocations: 1.594 kB / 1.099 GB, free: 1.777 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.5826, allocations: 0 / 1.099 GB, free: 1.777 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003673/0.5829, allocations: 262.5 kB / 1.099 GB, free: 1.484 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.016e-05/0.583, allocations: 44.56 kB / 1.099 GB, free: 1.434 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.683e-05/0.5831, allocations: 24.8 kB / 1.099 GB, free: 1.406 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.5831, allocations: 0.5625 kB / 1.099 GB, free: 1.406 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.5831, allocations: 39.69 kB / 1.099 GB, free: 1.359 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.5831, allocations: 0 / 1.099 GB, free: 1.359 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0001693/0.5833, allocations: 56.73 kB / 1.099 GB, free: 1.301 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.536e-05/0.5833, allocations: 53.38 kB / 1.099 GB, free: 1.238 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.569e-05/0.5834, allocations: 101 kB / 1.099 GB, free: 1.133 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.5834, allocations: 25.7 kB / 1.099 GB, free: 1.102 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.151e-05/0.5835, allocations: 84.05 kB / 1.099 GB, free: 1.016 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.878e-05/0.5835, allocations: 12.41 kB / 1.099 GB, free: 1.004 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-06/0.5836, allocations: 0.5625 kB / 1.099 GB, free: 1.004 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.593e-05/0.5837, allocations: 316.4 kB / 1.1 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.577e-05/0.5837, allocations: 12 kB / 1.1 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.161e-05/0.5837, allocations: 8 kB / 1.1 GB, free: 0.668 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.332e-05/0.5837, allocations: 8 kB / 1.1 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.5838, allocations: 0.5938 kB / 1.1 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001077/0.5839, allocations: 74.59 kB / 1.1 GB, free: 0.582 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.5839, allocations: 4 kB / 1.1 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.5839, allocations: 2.594 kB / 1.1 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.5839, allocations: 0 / 1.1 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.584, allocations: 18.77 kB / 1.1 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.5841, allocations: 4 kB / 1.1 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.159e-05/0.5842, allocations: 15.89 kB / 1.1 GB, free: 0.543 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.5842, allocations: 4 kB / 1.1 GB, free: 0.5391 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: 2 (intGreThr.u,intGreThr.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.184e-05/0.5842, allocations: 105.5 kB / 1.1 GB, free: 440 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.961e-05/0.5843, allocations: 3.906 kB / 1.1 GB, free: 436 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.557e-05/0.5843, allocations: 16 kB / 1.1 GB, free: 416 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.5843, allocations: 0 / 1.1 GB, free: 416 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.5843, allocations: 0 / 1.1 GB, free: 416 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.5843, allocations: 0.7031 kB / 1.1 GB, free: 416 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001358/0.5845, allocations: 148 kB / 1.1 GB, free: 232 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.5845, allocations: 0 / 1.1 GB, free: 232 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.969e-05/0.5846, allocations: 19.98 kB / 1.1 GB, free: 212 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.634e-06/0.5846, allocations: 0 / 1.1 GB, free: 212 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.5846, allocations: 4 kB / 1.1 GB, free: 208 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.5846, allocations: 7.844 kB / 1.1 GB, free: 200 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.5846, allocations: 6.5 kB / 1.1 GB, free: 196 kB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001399/0.5848, allocations: 152.4 kB / 1.1 GB, free: 28 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.488e-05/0.5848, allocations: 81.11 kB / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.5849, allocations: 0 / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001239/0.585, allocations: 15.98 kB / 1.1 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.275e-05/0.585, allocations: 11.98 kB / 1.1 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.5851, allocations: 2.25 kB / 1.1 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.468e-05/0.5851, allocations: 84.95 kB / 1.101 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002254/0.5853, allocations: 11.91 kB / 1.101 GB, free: 15.81 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 (intGreThr.u,intGreThr.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.0001298/0.5855, allocations: 107 kB / 1.101 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.895e-05/0.5856, allocations: 36.53 kB / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.5856, allocations: 4 kB / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.324e-05/0.5856, allocations: 19.98 kB / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001756/0.5858, allocations: 8.734 kB / 1.101 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002499/0.5861, allocations: 76.58 kB / 1.101 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002551/0.5863, allocations: 0.6993 MB / 1.101 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of SimCode: time 2.71e-07/0.5863, allocations: 0 / 1.101 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of Templates: time 0.002544/0.5889, allocations: 0.8013 MB / 1.102 GB, free: 14.05 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1)