Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.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.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.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.329/2.329, allocations: 253.1 MB / 260.4 MB, free: 7.535 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.001675/0.001675, allocations: 185.2 kB / 319.6 MB, free: 3.312 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.225/2.225, allocations: 205.4 MB / 0.5704 GB, free: 15.07 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.001893/0.001893, allocations: 94.77 kB / 0.6746 GB, free: 4.43 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.237e-05/1.262e-05, allocations: 4 kB / 0.7843 GB, free: 102.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2379/0.2379, allocations: 106.2 MB / 0.8881 GB, free: 11.72 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7269/0.9649, allocations: 131.7 MB / 1.017 GB, free: 6.184 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000285/0.9652, allocations: 71.64 kB / 1.017 GB, free: 6.145 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.004249/0.9695, allocations: 0.6414 MB / 1.017 GB, free: 5.613 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.186e-06/0.9696, allocations: 0 / 1.017 GB, free: 5.613 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005823/0.9702, allocations: 357.8 kB / 1.018 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.9702, allocations: 8.031 kB / 1.018 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.26e-05/0.9703, allocations: 7.906 kB / 1.018 GB, free: 5.207 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002057/0.9705, allocations: 182.8 kB / 1.018 GB, free: 4.996 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.9705, allocations: 4 kB / 1.018 GB, free: 4.992 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.776e-05/0.9706, allocations: 4 kB / 1.018 GB, free: 4.988 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001199/0.9707, allocations: 18.94 kB / 1.018 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.9708, allocations: 60.69 kB / 1.018 GB, free: 4.918 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.9709, allocations: 3.938 kB / 1.018 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.9709, allocations: 1 kB / 1.018 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.9709, allocations: 0 / 1.018 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005478/0.9715, allocations: 263.4 kB / 1.018 GB, free: 4.633 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001408/0.9716, allocations: 44.45 kB / 1.018 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.515e-05/0.9717, allocations: 20.58 kB / 1.018 GB, free: 4.574 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.9717, allocations: 3.938 kB / 1.018 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/0.9718, allocations: 34.56 kB / 1.018 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.844e-06/0.9718, allocations: 0 / 1.018 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002667/0.9721, allocations: 60.34 kB / 1.018 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/0.9721, allocations: 55.41 kB / 1.018 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.9722, allocations: 99.81 kB / 1.019 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.9723, allocations: 25.7 kB / 1.019 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.451e-05/0.9723, allocations: 84.12 kB / 1.019 GB, free: 4.188 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.977e-05/0.9724, allocations: 14.75 kB / 1.019 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.244e-06/0.9724, allocations: 0 / 1.019 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.9726, allocations: 310.8 kB / 1.019 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.298e-05/0.9726, allocations: 14.06 kB / 1.019 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.523e-05/0.9727, allocations: 15.55 kB / 1.019 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.536e-05/0.9727, allocations: 7.625 kB / 1.019 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.9728, allocations: 0 / 1.019 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001605/0.9729, allocations: 56.88 kB / 1.019 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.973, allocations: 7.906 kB / 1.019 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.973, allocations: 0 / 1.019 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.973, allocations: 0 / 1.019 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002189/0.9732, allocations: 19.92 kB / 1.019 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.872e-06/0.9732, allocations: 4.625 kB / 1.019 GB, free: 3.754 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001562/0.9734, allocations: 11.98 kB / 1.019 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.9734, allocations: 3.938 kB / 1.019 GB, free: 3.738 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: 2 (intLesEquThr.u,intLesEquThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.757e-05/0.9735, allocations: 108.9 kB / 1.019 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.73e-05/0.9736, allocations: 7.891 kB / 1.019 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.804e-05/0.9736, allocations: 7.625 kB / 1.019 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.9737, allocations: 8.875 kB / 1.019 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.9737, allocations: 0 / 1.019 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.9737, allocations: 0 / 1.019 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002261/0.9739, allocations: 149.2 kB / 1.019 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.9739, allocations: 0 / 1.019 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000169/0.9741, allocations: 16.17 kB / 1.019 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.9741, allocations: 1.812 kB / 1.019 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.9742, allocations: 3.984 kB / 1.019 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.9742, allocations: 4 kB / 1.019 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.9742, allocations: 3.984 kB / 1.019 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002229/0.9744, allocations: 158 kB / 1.02 GB, free: 3.238 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.655e-05/0.9745, allocations: 77.11 kB / 1.02 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.485e-05/0.9745, allocations: 3.906 kB / 1.02 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001871/0.9747, allocations: 15.98 kB / 1.02 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.411e-05/0.9748, allocations: 11.61 kB / 1.02 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.9748, allocations: 4 kB / 1.02 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.489e-05/0.9749, allocations: 90.77 kB / 1.02 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003173/0.9752, allocations: 8 kB / 1.02 GB, free: 3.02 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: 2 (intLesEquThr.u,intLesEquThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001733/0.9754, allocations: 103.2 kB / 1.02 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001551/0.9756, allocations: 26.92 kB / 1.02 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.9756, allocations: 4 kB / 1.02 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.29e-05/0.9757, allocations: 22.88 kB / 1.02 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002563/0.9759, allocations: 4 kB / 1.02 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000388/0.9763, allocations: 90.3 kB / 1.02 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004486/0.9768, allocations: 0.6988 MB / 1.021 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of SimCode: time 8.22e-07/0.9768, allocations: 0 / 1.021 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of Templates: time 0.004143/0.981, allocations: 0.8006 MB / 1.021 GB, free: 1.258 MB / 0.6355 GB