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.GreaterEqualThreshold.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.GreaterEqualThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold") [: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.385/2.385, allocations: 253.1 MB / 260.4 MB, free: 7.527 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.00228/0.002279, allocations: 176.5 kB / 319.6 MB, free: 3.344 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.064/2.064, allocations: 205.4 MB / 0.5704 GB, free: 15.1 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.001411/0.001411, allocations: 86.89 kB / 0.6746 GB, free: 4.465 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.546e-05/1.561e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.226/0.2261, allocations: 106.3 MB / 0.8881 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6813/0.9075, allocations: 131.4 MB / 1.016 GB, free: 6.945 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002849/0.9078, allocations: 70.89 kB / 1.016 GB, free: 6.906 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.002262/0.9101, allocations: 331.5 kB / 1.017 GB, free: 6.633 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.405e-06/0.9102, allocations: 0 / 1.017 GB, free: 6.633 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005164/0.9107, allocations: 346.1 kB / 1.017 GB, free: 6.254 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.9108, allocations: 8.031 kB / 1.017 GB, free: 6.246 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.326e-05/0.9108, allocations: 0 / 1.017 GB, free: 6.246 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001693/0.911, allocations: 171 kB / 1.017 GB, free: 6.039 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.911, allocations: 1.031 kB / 1.017 GB, free: 6.039 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.011e-05/0.911, allocations: 0 / 1.017 GB, free: 6.039 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.382e-05/0.9111, allocations: 15.19 kB / 1.017 GB, free: 6.027 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.874e-05/0.9112, allocations: 33.33 kB / 1.017 GB, free: 5.992 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.9113, allocations: 4 kB / 1.017 GB, free: 5.988 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.9113, allocations: 0 / 1.017 GB, free: 5.988 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.9113, allocations: 0 / 1.017 GB, free: 5.988 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005517/0.9118, allocations: 248.4 kB / 1.018 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.204e-05/0.9119, allocations: 25.58 kB / 1.018 GB, free: 5.684 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.146e-05/0.912, allocations: 12.86 kB / 1.018 GB, free: 5.672 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.223e-05/0.912, allocations: 0 / 1.018 GB, free: 5.672 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.9121, allocations: 38.44 kB / 1.018 GB, free: 5.625 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 3.126e-06/0.9121, allocations: 0 / 1.018 GB, free: 5.625 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.000191/0.9123, allocations: 47.48 kB / 1.018 GB, free: 5.578 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.9123, allocations: 51.41 kB / 1.018 GB, free: 5.516 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.712e-05/0.9124, allocations: 104.7 kB / 1.018 GB, free: 5.414 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.9125, allocations: 25.7 kB / 1.018 GB, free: 5.383 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.602e-05/0.9125, allocations: 80.14 kB / 1.018 GB, free: 5.301 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.713e-05/0.9125, allocations: 0 / 1.018 GB, free: 5.301 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-06/0.9126, allocations: 0 / 1.018 GB, free: 5.301 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.9127, allocations: 318 kB / 1.018 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.444e-05/0.9128, allocations: 8.031 kB / 1.018 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.502e-05/0.9128, allocations: 7.125 kB / 1.018 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.721e-05/0.9128, allocations: 7.984 kB / 1.018 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.9128, allocations: 0 / 1.018 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.981e-05/0.9129, allocations: 40.64 kB / 1.018 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.913, allocations: 4 kB / 1.018 GB, free: 4.918 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.913, allocations: 0 / 1.018 GB, free: 4.918 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.913, allocations: 0 / 1.018 GB, free: 4.918 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001542/0.9132, allocations: 16.08 kB / 1.018 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.9132, allocations: 0 / 1.018 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/0.9133, allocations: 15.89 kB / 1.018 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.9133, allocations: 4 kB / 1.018 GB, free: 4.883 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 (greEquThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 8.652e-05/0.9134, allocations: 104.2 kB / 1.018 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.446e-05/0.9135, allocations: 4 kB / 1.018 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.57e-05/0.9135, allocations: 11.27 kB / 1.018 GB, free: 4.766 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.9135, allocations: 7.844 kB / 1.018 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.9135, allocations: 0 / 1.018 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.9136, allocations: 0 / 1.018 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001855/0.9138, allocations: 133.4 kB / 1.019 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.9138, allocations: 3.984 kB / 1.019 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/0.9139, allocations: 8 kB / 1.019 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.9139, allocations: 4 kB / 1.019 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.9139, allocations: 0 / 1.019 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.9139, allocations: 0 / 1.019 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.9139, allocations: 0 / 1.019 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001734/0.9141, allocations: 145.5 kB / 1.019 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.134e-05/0.9142, allocations: 84.95 kB / 1.019 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.466e-05/0.9142, allocations: 3.984 kB / 1.019 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001529/0.9144, allocations: 16.02 kB / 1.019 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.6e-05/0.9145, allocations: 4 kB / 1.019 GB, free: 4.301 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.9145, allocations: 0 / 1.019 GB, free: 4.301 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.863e-05/0.9145, allocations: 89.58 kB / 1.019 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003059/0.9149, allocations: 7.938 kB / 1.019 GB, free: 4.211 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 (greEquThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0002337/0.9151, allocations: 103.2 kB / 1.019 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001158/0.9152, allocations: 11.69 kB / 1.019 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.9152, allocations: 0 / 1.019 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.058e-05/0.9153, allocations: 11.12 kB / 1.019 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002381/0.9155, allocations: 4 kB / 1.019 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002803/0.9158, allocations: 66.69 kB / 1.019 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003733/0.9162, allocations: 0.688 MB / 1.02 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of SimCode: time 6.81e-07/0.9162, allocations: 4.125 kB / 1.02 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of Templates: time 0.003148/0.9194, allocations: 449.8 kB / 1.02 GB, free: 2.852 MB / 0.6355 GB