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.GreaterThreshold.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.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.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 7.0.1/package.mo): time 2.256/2.256, allocations: 253.1 MB / 260.4 MB, free: 7.586 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.00271/0.002709, allocations: 177.3 kB / 319.6 MB, free: 3.305 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.334/2.334, allocations: 205.4 MB / 0.5704 GB, free: 15.09 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.0013/0.0013, allocations: 83.39 kB / 0.6746 GB, free: 4.461 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.112e-05/1.13e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2512/0.2512, allocations: 106.3 MB / 0.8881 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8033/1.055, allocations: 131.7 MB / 1.017 GB, free: 6.582 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004035/1.055, allocations: 66.33 kB / 1.017 GB, free: 6.547 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.004728/1.06, allocations: 0.6651 MB / 1.017 GB, free: 5.988 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.025e-06/1.06, allocations: 0 / 1.017 GB, free: 5.988 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.0006492/1.061, allocations: 358.2 kB / 1.018 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.591e-05/1.061, allocations: 12.03 kB / 1.018 GB, free: 5.586 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.975e-05/1.061, allocations: 7.906 kB / 1.018 GB, free: 5.578 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002014/1.061, allocations: 163.1 kB / 1.018 GB, free: 5.379 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/1.061, allocations: 0 / 1.018 GB, free: 5.379 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.915e-05/1.061, allocations: 0 / 1.018 GB, free: 5.379 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001273/1.061, allocations: 29.23 kB / 1.018 GB, free: 5.359 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/1.061, allocations: 52.75 kB / 1.018 GB, free: 5.309 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/1.061, allocations: 3.938 kB / 1.018 GB, free: 5.305 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/1.061, allocations: 0 / 1.018 GB, free: 5.305 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/1.061, allocations: 0 / 1.018 GB, free: 5.305 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005506/1.062, allocations: 269.5 kB / 1.018 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001442/1.062, allocations: 44.44 kB / 1.018 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.382e-05/1.062, allocations: 23.45 kB / 1.018 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/1.062, allocations: 3.984 kB / 1.018 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/1.062, allocations: 34.56 kB / 1.018 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.683e-06/1.062, allocations: 3.938 kB / 1.018 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002564/1.063, allocations: 64.22 kB / 1.018 GB, free: 4.848 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/1.063, allocations: 55.41 kB / 1.018 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/1.063, allocations: 96.88 kB / 1.019 GB, free: 4.684 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/1.063, allocations: 25.7 kB / 1.019 GB, free: 4.652 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.444e-05/1.063, allocations: 83.7 kB / 1.019 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.688e-05/1.063, allocations: 11.8 kB / 1.019 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.504e-06/1.063, allocations: 4 kB / 1.019 GB, free: 4.555 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001453/1.063, allocations: 317.7 kB / 1.019 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.247e-05/1.063, allocations: 7.375 kB / 1.019 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.547e-05/1.063, allocations: 11.5 kB / 1.019 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.72e-05/1.063, allocations: 11.42 kB / 1.019 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/1.063, allocations: 0 / 1.019 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001637/1.063, allocations: 59.56 kB / 1.019 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/1.063, allocations: 10.09 kB / 1.019 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/1.063, allocations: 3.938 kB / 1.019 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/1.063, allocations: 0 / 1.019 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000238/1.064, allocations: 19.98 kB / 1.019 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/1.064, allocations: 0 / 1.019 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001555/1.064, allocations: 11.98 kB / 1.019 GB, free: 4.121 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/1.064, allocations: 3.938 kB / 1.019 GB, free: 4.117 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 (intGreThr.u,intGreThr.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.684e-05/1.064, allocations: 112.9 kB / 1.019 GB, free: 4 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.924e-05/1.064, allocations: 3.906 kB / 1.019 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.965e-05/1.064, allocations: 11.55 kB / 1.019 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/1.064, allocations: 4 kB / 1.019 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/1.064, allocations: 0 / 1.019 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/1.064, allocations: 0 / 1.019 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002194/1.064, allocations: 149.1 kB / 1.019 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/1.064, allocations: 0 / 1.019 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001707/1.065, allocations: 19.98 kB / 1.019 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/1.065, allocations: 0 / 1.019 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/1.065, allocations: 0 / 1.019 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/1.065, allocations: 3.984 kB / 1.019 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/1.065, allocations: 0 / 1.019 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002118/1.065, allocations: 157.7 kB / 1.02 GB, free: 3.621 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.482e-05/1.065, allocations: 77.11 kB / 1.02 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.616e-05/1.065, allocations: 7.906 kB / 1.02 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001962/1.065, allocations: 15.98 kB / 1.02 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.611e-05/1.065, allocations: 7.797 kB / 1.02 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/1.065, allocations: 4 kB / 1.02 GB, free: 3.496 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.121e-05/1.065, allocations: 86.02 kB / 1.02 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003354/1.066, allocations: 12 kB / 1.02 GB, free: 3.402 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 (intGreThr.u,intGreThr.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.0001741/1.066, allocations: 107.2 kB / 1.02 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001441/1.066, allocations: 27.91 kB / 1.02 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/1.066, allocations: 0 / 1.02 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.206e-05/1.066, allocations: 23.06 kB / 1.02 GB, free: 3.254 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002495/1.066, allocations: 7.188 kB / 1.02 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003823/1.067, allocations: 90.05 kB / 1.02 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004605/1.067, allocations: 0.6993 MB / 1.021 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of SimCode: time 8.92e-07/1.067, allocations: 0 / 1.021 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of Templates: time 0.004024/1.071, allocations: 0.7865 MB / 1.021 GB, free: 1.652 MB / 0.6355 GB