Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.124/2.124, allocations: 284.9 MB / 292.2 MB, free: 10.68 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001529/0.001529, allocations: 189.2 kB / 360.4 MB, free: 7.496 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.64/1.64, allocations: 205.2 MB / 0.6188 GB, free: 12.41 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001249/0.001248, allocations: 88.7 kB / 0.7318 GB, free: 45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.578e-05/1.595e-05, allocations: 4 kB / 0.8503 GB, free: 3.844 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5456/0.5456, allocations: 115.2 MB / 0.9628 GB, free: 78.43 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2082/0.7539, allocations: 140.5 MB / 1.1 GB, free: 244 kB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002654/0.7542, allocations: 79.95 kB / 1.1 GB, free: 164 kB / 0.698 GB Notification: Performance of FrontEnd: time 0.02947/0.7837, allocations: 6.535 MB / 1.107 GB, free: 9.73 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.701e-05/0.7838, allocations: 4 kB / 1.107 GB, free: 9.727 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0008242/0.7846, allocations: 493.7 kB / 1.107 GB, free: 9.199 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.7847, allocations: 8.031 kB / 1.107 GB, free: 9.191 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.489e-05/0.7848, allocations: 23.72 kB / 1.107 GB, free: 9.168 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008538/0.7856, allocations: 338.9 kB / 1.107 GB, free: 8.797 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2e-05/0.7857, allocations: 0 / 1.107 GB, free: 8.797 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.848e-05/0.7857, allocations: 4 kB / 1.107 GB, free: 8.793 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001529/0.7859, allocations: 35.98 kB / 1.107 GB, free: 8.758 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.7861, allocations: 73.66 kB / 1.107 GB, free: 8.68 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.7861, allocations: 4 kB / 1.107 GB, free: 8.676 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.804e-05/0.7861, allocations: 3.906 kB / 1.107 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.7861, allocations: 4 kB / 1.107 GB, free: 8.668 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000843/0.787, allocations: 413.1 kB / 1.108 GB, free: 8.227 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00026/0.7873, allocations: 72.23 kB / 1.108 GB, free: 8.148 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.221e-05/0.7874, allocations: 32.92 kB / 1.108 GB, free: 8.113 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.7874, allocations: 4 kB / 1.108 GB, free: 8.109 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001451/0.7875, allocations: 75.3 kB / 1.108 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.773e-06/0.7876, allocations: 0 / 1.108 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0003036/0.7879, allocations: 93.39 kB / 1.108 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/0.7879, allocations: 52.06 kB / 1.108 GB, free: 7.863 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006047/0.7885, allocations: 319.4 kB / 1.108 GB, free: 7.543 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.021e-05/0.7886, allocations: 25.7 kB / 1.108 GB, free: 7.512 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.06e-05/0.7887, allocations: 120 kB / 1.109 GB, free: 7.391 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.429e-05/0.7887, allocations: 19.75 kB / 1.109 GB, free: 7.371 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.652e-05/0.7887, allocations: 0 / 1.109 GB, free: 7.371 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.7889, allocations: 334.7 kB / 1.109 GB, free: 7.035 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/0.7891, allocations: 67.73 kB / 1.109 GB, free: 6.973 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002037/0.7893, allocations: 91.58 kB / 1.109 GB, free: 6.875 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003342/0.7896, allocations: 83.2 kB / 1.109 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.7897, allocations: 0 / 1.109 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006216/0.7903, allocations: 201.3 kB / 1.109 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.7903, allocations: 4 kB / 1.109 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.7903, allocations: 4 kB / 1.109 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.7904, allocations: 0 / 1.109 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002053/0.7906, allocations: 27.92 kB / 1.109 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.7906, allocations: 4 kB / 1.109 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002107/0.7908, allocations: 23.86 kB / 1.109 GB, free: 6.531 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.335e-05/0.7909, allocations: 8 kB / 1.109 GB, free: 6.523 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.ram.tab.nextTimeEvent,les.y,$PRE.lesHys.lesHys.y,lesHys.lesHys.y,ram.tab.nextTimeEvent,$PRE.ram.tab.nextTimeEventScaled,ram.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 0.0001024/0.791, allocations: 117.7 kB / 1.11 GB, free: 6.402 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.844e-05/0.7911, allocations: 23.7 kB / 1.11 GB, free: 6.379 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003045/0.7914, allocations: 109.7 kB / 1.11 GB, free: 6.27 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.7914, allocations: 0 / 1.11 GB, free: 6.27 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.7914, allocations: 5.75 kB / 1.11 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/0.7914, allocations: 7.906 kB / 1.11 GB, free: 6.258 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002637/0.7917, allocations: 218.1 kB / 1.11 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.7917, allocations: 0 / 1.11 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.646e-05/0.7918, allocations: 8 kB / 1.11 GB, free: 6 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.7918, allocations: 0 / 1.11 GB, free: 6 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.7918, allocations: 3.984 kB / 1.11 GB, free: 5.996 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.7918, allocations: 4 kB / 1.11 GB, free: 5.992 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.7918, allocations: 0 / 1.11 GB, free: 5.992 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002575/0.7921, allocations: 136.7 kB / 1.11 GB, free: 5.84 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.7922, allocations: 100.8 kB / 1.11 GB, free: 5.723 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.602e-05/0.7923, allocations: 8 kB / 1.11 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001609/0.7925, allocations: 13.92 kB / 1.11 GB, free: 5.703 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.127e-05/0.7925, allocations: 7.984 kB / 1.11 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.7925, allocations: 4 kB / 1.11 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0003378/0.7929, allocations: 223.1 kB / 1.11 GB, free: 5.473 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003893/0.7933, allocations: 52.06 kB / 1.11 GB, free: 5.422 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: 5 ($whenCondition1,les.y,lesHys.lesHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * Number of discrete states: 3 (lesHys.lesHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000888/0.7942, allocations: 318.7 kB / 1.111 GB, free: 5.242 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003089/0.7945, allocations: 106.8 kB / 1.111 GB, free: 5.141 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.7945, allocations: 0 / 1.111 GB, free: 5.141 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.7947, allocations: 35.94 kB / 1.111 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004798/0.7951, allocations: 46.84 kB / 1.111 GB, free: 5.059 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008167/0.796, allocations: 276.2 kB / 1.111 GB, free: 4.766 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004608/0.7965, allocations: 0.7783 MB / 1.112 GB, free: 3.961 MB / 0.7136 GB Notification: Performance of SimCode: time 6.81e-07/0.7965, allocations: 5.125 kB / 1.112 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of Templates: time 0.008858/0.8053, allocations: 2.455 MB / 1.114 GB, free: 1.566 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe 2>&1)