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.LessEqualThreshold.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.LessEqualThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold") [: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.184/2.184, allocations: 253.1 MB / 260.4 MB, free: 7.605 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.001686/0.001686, allocations: 197.8 kB / 319.6 MB, free: 3.309 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.271/2.271, allocations: 205.4 MB / 0.5704 GB, free: 15.04 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.001795/0.001795, allocations: 93.86 kB / 0.6746 GB, free: 4.418 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.225e-05/1.249e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.228, allocations: 106.3 MB / 0.8881 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7253/0.9533, allocations: 131.4 MB / 1.016 GB, free: 6.957 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002843/0.9537, allocations: 72.89 kB / 1.016 GB, free: 6.918 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.002251/0.956, allocations: 322 kB / 1.017 GB, free: 6.648 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.948e-06/0.956, allocations: 0 / 1.017 GB, free: 6.648 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.0004694/0.9565, allocations: 347.2 kB / 1.017 GB, free: 6.266 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.9566, allocations: 13.06 kB / 1.017 GB, free: 6.254 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.691e-05/0.9566, allocations: 0 / 1.017 GB, free: 6.254 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.9568, allocations: 167 kB / 1.017 GB, free: 6.051 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.9568, allocations: 3.984 kB / 1.017 GB, free: 6.047 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.374e-05/0.9568, allocations: 4 kB / 1.017 GB, free: 6.043 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.41e-05/0.9569, allocations: 10.5 kB / 1.017 GB, free: 6.039 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.027e-05/0.957, allocations: 33.7 kB / 1.017 GB, free: 6 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.957, allocations: 0 / 1.017 GB, free: 6 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.957, allocations: 0 / 1.017 GB, free: 6 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.9571, allocations: 0 / 1.017 GB, free: 6 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005172/0.9576, allocations: 255.5 kB / 1.018 GB, free: 5.723 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.176e-05/0.9577, allocations: 29.39 kB / 1.018 GB, free: 5.688 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.95e-05/0.9578, allocations: 12.91 kB / 1.018 GB, free: 5.672 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.392e-05/0.9578, allocations: 0 / 1.018 GB, free: 5.672 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.9578, allocations: 38.31 kB / 1.018 GB, free: 5.629 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.785e-06/0.9579, allocations: 0 / 1.018 GB, free: 5.629 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001811/0.958, allocations: 44.17 kB / 1.018 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/0.9581, allocations: 54.84 kB / 1.018 GB, free: 5.52 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.804e-05/0.9582, allocations: 96.67 kB / 1.018 GB, free: 5.422 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.9582, allocations: 25.7 kB / 1.018 GB, free: 5.391 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.425e-05/0.9583, allocations: 87.77 kB / 1.018 GB, free: 5.305 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.881e-05/0.9583, allocations: 0 / 1.018 GB, free: 5.305 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-06/0.9583, allocations: 32 / 1.018 GB, free: 5.305 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.9585, allocations: 318.8 kB / 1.018 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.789e-05/0.9585, allocations: 6.875 kB / 1.018 GB, free: 4.98 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.639e-05/0.9585, allocations: 6.625 kB / 1.018 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.186e-05/0.9586, allocations: 0 / 1.018 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.9586, allocations: 0 / 1.018 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001016/0.9587, allocations: 45 kB / 1.018 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.9587, allocations: 4 kB / 1.018 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.9587, allocations: 0 / 1.018 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.9587, allocations: 4.094 kB / 1.018 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001549/0.9589, allocations: 11.98 kB / 1.018 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.9589, allocations: 3.938 kB / 1.018 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.959, allocations: 11.91 kB / 1.018 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.563e-06/0.9591, allocations: 4 kB / 1.018 GB, free: 4.891 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 (lesEquThr.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.585e-05/0.9592, allocations: 109 kB / 1.018 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.195e-05/0.9592, allocations: 0 / 1.018 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.369e-05/0.9592, allocations: 10.7 kB / 1.018 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.9593, allocations: 7.844 kB / 1.018 GB, free: 4.766 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.9593, allocations: 0 / 1.018 GB, free: 4.766 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.9593, allocations: 4 kB / 1.018 GB, free: 4.762 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001781/0.9595, allocations: 133.3 kB / 1.019 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.9595, allocations: 0 / 1.019 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/0.9596, allocations: 15.98 kB / 1.019 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.9596, allocations: 0 / 1.019 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.9596, allocations: 0 / 1.019 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.9596, allocations: 0 / 1.019 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.9597, allocations: 0 / 1.019 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001533/0.9598, allocations: 139.5 kB / 1.019 GB, free: 4.434 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.908e-05/0.9599, allocations: 88.98 kB / 1.019 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.9599, allocations: 0 / 1.019 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/0.9601, allocations: 15.23 kB / 1.019 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.107e-05/0.9601, allocations: 7.875 kB / 1.019 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.9601, allocations: 4 kB / 1.019 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9.47e-05/0.9602, allocations: 85.91 kB / 1.019 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002978/0.9606, allocations: 4 kB / 1.019 GB, free: 4.223 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 (lesEquThr.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.0001553/0.9607, allocations: 103.2 kB / 1.019 GB, free: 4.109 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001013/0.9608, allocations: 11.62 kB / 1.019 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.9608, allocations: 0 / 1.019 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.852e-05/0.9609, allocations: 8 kB / 1.019 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002278/0.9611, allocations: 0 / 1.019 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002647/0.9614, allocations: 78.89 kB / 1.019 GB, free: 4 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003161/0.9617, allocations: 0.6841 MB / 1.02 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of SimCode: time 1.062e-06/0.9618, allocations: 0 / 1.02 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of Templates: time 0.002967/0.9647, allocations: 450 kB / 1.02 GB, free: 2.867 MB / 0.6355 GB