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.GreaterThreshold.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.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.128/2.128, allocations: 284.9 MB / 292.2 MB, free: 10.74 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.00159/0.00159, allocations: 185.2 kB / 360.4 MB, free: 7.48 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.633/1.633, allocations: 205.1 MB / 0.6188 GB, free: 12.39 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.001224/0.001223, allocations: 89.11 kB / 0.7318 GB, free: 44.96 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.583e-05/1.599e-05, allocations: 4 kB / 0.8503 GB, free: 3.789 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6195/0.6196, allocations: 115.3 MB / 0.9628 GB, free: 9.785 MB / 0.6823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2858/0.9054, allocations: 140.5 MB / 1.1 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002603/0.9057, allocations: 75.95 kB / 1.1 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.02835/0.9341, allocations: 6.534 MB / 1.107 GB, free: 4.109 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.43e-05/0.9342, allocations: 8 kB / 1.107 GB, free: 4.102 MB / 0.8073 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.0007816/0.9349, allocations: 494 kB / 1.107 GB, free: 3.574 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.935, allocations: 19.97 kB / 1.107 GB, free: 3.555 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.903e-05/0.9351, allocations: 23.72 kB / 1.107 GB, free: 3.531 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008812/0.936, allocations: 331 kB / 1.107 GB, free: 3.172 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.936, allocations: 0 / 1.107 GB, free: 3.172 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.865e-05/0.9361, allocations: 4 kB / 1.107 GB, free: 3.168 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001473/0.9362, allocations: 35.98 kB / 1.107 GB, free: 3.133 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001866/0.9364, allocations: 77.67 kB / 1.107 GB, free: 3.051 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.9364, allocations: 0 / 1.107 GB, free: 3.051 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.914e-05/0.9365, allocations: 3.906 kB / 1.107 GB, free: 3.047 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.9365, allocations: 4 kB / 1.107 GB, free: 3.043 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008134/0.9373, allocations: 409.1 kB / 1.108 GB, free: 2.605 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002648/0.9376, allocations: 82.67 kB / 1.108 GB, free: 2.516 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.674e-05/0.9377, allocations: 24.92 kB / 1.108 GB, free: 2.488 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.9377, allocations: 8 kB / 1.108 GB, free: 2.48 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001427/0.9379, allocations: 71.3 kB / 1.108 GB, free: 2.398 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.933e-06/0.9379, allocations: 0 / 1.108 GB, free: 2.398 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0002943/0.9382, allocations: 89.41 kB / 1.108 GB, free: 2.305 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/0.9382, allocations: 55.39 kB / 1.108 GB, free: 2.238 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005524/0.9388, allocations: 319.4 kB / 1.108 GB, free: 1.918 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.801e-05/0.9388, allocations: 29.7 kB / 1.109 GB, free: 1.883 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 8.218e-05/0.9389, allocations: 119.9 kB / 1.109 GB, free: 1.762 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.022e-05/0.939, allocations: 23.73 kB / 1.109 GB, free: 1.738 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.645e-05/0.939, allocations: 0 / 1.109 GB, free: 1.738 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.9391, allocations: 334.7 kB / 1.109 GB, free: 1.402 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001746/0.9393, allocations: 63.97 kB / 1.109 GB, free: 1.34 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002017/0.9395, allocations: 91.58 kB / 1.109 GB, free: 1.242 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003459/0.9399, allocations: 75.98 kB / 1.109 GB, free: 1.168 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.9399, allocations: 0 / 1.109 GB, free: 1.168 MB / 0.8073 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006185/0.9406, allocations: 209.3 kB / 1.109 GB, free: 0.957 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.9406, allocations: 4 kB / 1.109 GB, free: 0.9531 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.9406, allocations: 3.938 kB / 1.109 GB, free: 0.9492 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.9406, allocations: 4 kB / 1.109 GB, free: 0.9453 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002003/0.9408, allocations: 23.92 kB / 1.109 GB, free: 0.9219 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.9409, allocations: 4.031 kB / 1.109 GB, free: 0.918 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002023/0.9411, allocations: 19.84 kB / 1.109 GB, free: 0.8984 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.959e-05/0.9411, allocations: 11.98 kB / 1.109 GB, free: 0.8867 MB / 0.8073 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,gre.y,$PRE.greHys.greHys.y,greHys.greHys.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.0001042/0.9412, allocations: 117.2 kB / 1.11 GB, free: 0.7656 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.675e-05/0.9413, allocations: 23.72 kB / 1.11 GB, free: 0.7422 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002959/0.9416, allocations: 107.4 kB / 1.11 GB, free: 0.625 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.9416, allocations: 0 / 1.11 GB, free: 0.625 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.9416, allocations: 0 / 1.11 GB, free: 0.625 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.9416, allocations: 3.906 kB / 1.11 GB, free: 0.6211 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002519/0.9419, allocations: 222.1 kB / 1.11 GB, free: 376 kB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.9419, allocations: 0 / 1.11 GB, free: 376 kB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.958e-05/0.942, allocations: 4 kB / 1.11 GB, free: 372 kB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.942, allocations: 0 / 1.11 GB, free: 372 kB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.942, allocations: 3.984 kB / 1.11 GB, free: 368 kB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.942, allocations: 0 / 1.11 GB, free: 368 kB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.942, allocations: 4 kB / 1.11 GB, free: 364 kB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002547/0.9423, allocations: 140.6 kB / 1.11 GB, free: 204 kB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 9.931e-05/0.9424, allocations: 100.8 kB / 1.11 GB, free: 84 kB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.987e-05/0.9425, allocations: 0 / 1.11 GB, free: 84 kB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001567/0.9426, allocations: 15.98 kB / 1.11 GB, free: 68 kB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.626e-05/0.9427, allocations: 11.97 kB / 1.11 GB, free: 56 kB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.9427, allocations: 8 kB / 1.11 GB, free: 48 kB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0003898/0.9431, allocations: 219.1 kB / 1.11 GB, free: 15.83 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003964/0.9435, allocations: 48.06 kB / 1.11 GB, free: 15.79 MB / 0.823 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,gre.y,greHys.greHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * Number of discrete states: 3 (greHys.greHys.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.0008885/0.9444, allocations: 333.9 kB / 1.111 GB, free: 15.5 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002955/0.9448, allocations: 99.98 kB / 1.111 GB, free: 15.41 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.9448, allocations: 4 kB / 1.111 GB, free: 15.4 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.9449, allocations: 39.92 kB / 1.111 GB, free: 15.36 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004375/0.9453, allocations: 40.86 kB / 1.111 GB, free: 15.32 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007766/0.9461, allocations: 275.4 kB / 1.111 GB, free: 15.03 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004588/0.9466, allocations: 0.7784 MB / 1.112 GB, free: 14.22 MB / 0.823 GB Notification: Performance of SimCode: time 6.21e-07/0.9466, allocations: 0 / 1.112 GB, free: 14.22 MB / 0.823 GB Notification: Performance of Templates: time 0.008673/0.9553, allocations: 2.459 MB / 1.114 GB, free: 11.78 MB / 0.823 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe 2>&1)