Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterEqual.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterEqual,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterEqual") [: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 7.0.1/package.mo): time 2.346/2.346, allocations: 253.1 MB / 260.4 MB, free: 7.617 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002572/0.002572, allocations: 189.2 kB / 319.6 MB, free: 3.316 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.006/2.006, allocations: 205.4 MB / 0.5704 GB, free: 15.08 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00133/0.00133, allocations: 99.3 kB / 0.6746 GB, free: 4.438 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.163e-05/1.183e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.2186, allocations: 106.2 MB / 0.8881 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7121/0.9307, allocations: 131.4 MB / 1.016 GB, free: 6.883 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002869/0.931, allocations: 71.58 kB / 1.016 GB, free: 6.844 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.003673/0.9347, allocations: 0.5595 MB / 1.017 GB, free: 6.355 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.223e-05/0.9348, allocations: 4 kB / 1.017 GB, free: 6.352 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006494/0.9355, allocations: 361.6 kB / 1.017 GB, free: 5.957 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.9355, allocations: 12.03 kB / 1.017 GB, free: 5.945 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.137e-05/0.9356, allocations: 3.906 kB / 1.017 GB, free: 5.941 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/0.9357, allocations: 175 kB / 1.018 GB, free: 5.73 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.9358, allocations: 2.188 kB / 1.018 GB, free: 5.73 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.877e-05/0.9358, allocations: 4 kB / 1.018 GB, free: 5.727 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001146/0.9359, allocations: 15.81 kB / 1.018 GB, free: 5.719 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.9361, allocations: 48.45 kB / 1.018 GB, free: 5.668 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.9361, allocations: 0 / 1.018 GB, free: 5.668 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.9361, allocations: 0.8438 kB / 1.018 GB, free: 5.668 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.9362, allocations: 0 / 1.018 GB, free: 5.668 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007546/0.9369, allocations: 287.2 kB / 1.018 GB, free: 5.363 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.937, allocations: 33.58 kB / 1.018 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.22e-05/0.9371, allocations: 16.17 kB / 1.018 GB, free: 5.312 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.9371, allocations: 0 / 1.018 GB, free: 5.312 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.9372, allocations: 30.56 kB / 1.018 GB, free: 5.273 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 3.116e-06/0.9372, allocations: 0 / 1.018 GB, free: 5.273 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002185/0.9374, allocations: 55.66 kB / 1.018 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.9375, allocations: 55.34 kB / 1.018 GB, free: 5.156 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.75e-05/0.9376, allocations: 99.47 kB / 1.018 GB, free: 5.055 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.9376, allocations: 25.7 kB / 1.018 GB, free: 5.023 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.051e-05/0.9377, allocations: 95.69 kB / 1.018 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.276e-05/0.9377, allocations: 3.906 kB / 1.018 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.731e-06/0.9377, allocations: 0 / 1.018 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.9378, allocations: 310.8 kB / 1.019 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.041e-05/0.9379, allocations: 18 kB / 1.019 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.018e-05/0.9379, allocations: 11.81 kB / 1.019 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.207e-05/0.938, allocations: 4 kB / 1.019 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.938, allocations: 0 / 1.019 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001358/0.9381, allocations: 52.72 kB / 1.019 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.9382, allocations: 4 kB / 1.019 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.9382, allocations: 0 / 1.019 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.9382, allocations: 0 / 1.019 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000259/0.9385, allocations: 23.98 kB / 1.019 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.9385, allocations: 0 / 1.019 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000192/0.9387, allocations: 27.97 kB / 1.019 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.9387, allocations: 0 / 1.019 GB, free: 4.484 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (greEqu.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 9.163e-05/0.9388, allocations: 108.9 kB / 1.019 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.63e-05/0.9389, allocations: 0 / 1.019 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.392e-05/0.9389, allocations: 7.438 kB / 1.019 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.299e-05/0.9389, allocations: 0.75 kB / 1.019 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.918e-06/0.939, allocations: 15.78 kB / 1.019 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.939, allocations: 0 / 1.019 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002066/0.9392, allocations: 144 kB / 1.019 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.9392, allocations: 4 kB / 1.019 GB, free: 4.172 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002016/0.9394, allocations: 20.86 kB / 1.019 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.9394, allocations: 0 / 1.019 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.9395, allocations: 4 kB / 1.019 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.9395, allocations: 0 / 1.019 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.9395, allocations: 0 / 1.019 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002041/0.9397, allocations: 145.6 kB / 1.019 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.948e-05/0.9398, allocations: 85.02 kB / 1.019 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.192e-05/0.9398, allocations: 4.047 kB / 1.019 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002309/0.94, allocations: 27.95 kB / 1.019 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.64e-05/0.9401, allocations: 7.688 kB / 1.019 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.9401, allocations: 0 / 1.019 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.718e-05/0.9402, allocations: 86.14 kB / 1.019 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003028/0.9405, allocations: 8 kB / 1.019 GB, free: 3.77 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (greEqu.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0002292/0.9407, allocations: 99.19 kB / 1.019 GB, free: 3.664 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000152/0.9409, allocations: 26.5 kB / 1.019 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.9409, allocations: 3.938 kB / 1.019 GB, free: 3.641 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.591e-05/0.941, allocations: 11.5 kB / 1.019 GB, free: 3.633 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.9413, allocations: 10.97 kB / 1.02 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003369/0.9416, allocations: 79.09 kB / 1.02 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003476/0.942, allocations: 0.7026 MB / 1.02 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of SimCode: time 6.21e-07/0.942, allocations: 0 / 1.02 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of Templates: time 0.003678/0.9457, allocations: 0.6522 MB / 1.021 GB, free: 2.168 MB / 0.6355 GB