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.Abs.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.Abs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Abs") [: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.337/2.337, allocations: 253.1 MB / 260.4 MB, free: 7.578 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.001646/0.001646, allocations: 185.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.087/2.087, 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.001821/0.001821, allocations: 87.33 kB / 0.6746 GB, free: 4.441 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.171e-05/1.194e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.2916, allocations: 106.2 MB / 0.8881 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7815/1.073, allocations: 131.7 MB / 1.017 GB, free: 6.613 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002848/1.074, allocations: 68.64 kB / 1.017 GB, free: 6.574 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.004258/1.078, allocations: 0.6295 MB / 1.017 GB, free: 6.047 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.013e-05/1.078, allocations: 4 kB / 1.017 GB, free: 6.043 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.0006491/1.079, allocations: 353.9 kB / 1.018 GB, free: 5.656 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/1.079, allocations: 8.031 kB / 1.018 GB, free: 5.648 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.053e-05/1.079, allocations: 7.906 kB / 1.018 GB, free: 5.641 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002013/1.079, allocations: 167.1 kB / 1.018 GB, free: 5.438 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/1.079, allocations: 0 / 1.018 GB, free: 5.438 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.874e-05/1.079, allocations: 0 / 1.018 GB, free: 5.438 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000196/1.079, allocations: 33.48 kB / 1.018 GB, free: 5.418 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/1.079, allocations: 53.42 kB / 1.018 GB, free: 5.363 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/1.079, allocations: 0 / 1.018 GB, free: 5.363 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.782e-05/1.079, allocations: 3.906 kB / 1.018 GB, free: 5.359 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/1.079, allocations: 0 / 1.018 GB, free: 5.359 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006165/1.08, allocations: 267.2 kB / 1.018 GB, free: 5.078 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000165/1.08, allocations: 52.56 kB / 1.018 GB, free: 5.031 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.601e-05/1.08, allocations: 16.45 kB / 1.018 GB, free: 5.016 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.57e-05/1.08, allocations: 3.984 kB / 1.018 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.922e-05/1.08, allocations: 30.56 kB / 1.018 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 2.474e-06/1.08, allocations: 0 / 1.018 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002976/1.081, allocations: 76.41 kB / 1.018 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.646e-05/1.081, allocations: 51.41 kB / 1.018 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/1.081, allocations: 92.44 kB / 1.019 GB, free: 4.746 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/1.081, allocations: 25.7 kB / 1.019 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.722e-05/1.081, allocations: 84.14 kB / 1.019 GB, free: 4.629 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.842e-05/1.081, allocations: 11.64 kB / 1.019 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.664e-06/1.081, allocations: 0 / 1.019 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001543/1.081, allocations: 318.8 kB / 1.019 GB, free: 4.301 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.901e-05/1.081, allocations: 14.88 kB / 1.019 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.28e-05/1.081, allocations: 11.12 kB / 1.019 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.645e-05/1.081, allocations: 11.36 kB / 1.019 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/1.081, allocations: 0 / 1.019 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001815/1.082, allocations: 59.56 kB / 1.019 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/1.082, allocations: 7.938 kB / 1.019 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/1.082, allocations: 0 / 1.019 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/1.082, allocations: 0 / 1.019 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002671/1.082, allocations: 27.83 kB / 1.019 GB, free: 4.188 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/1.082, allocations: 0.8438 kB / 1.019 GB, free: 4.188 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001599/1.082, allocations: 11.98 kB / 1.019 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.261e-05/1.082, allocations: 4 kB / 1.019 GB, free: 4.172 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 (abs1.u,abs1.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 0.0001113/1.082, allocations: 102 kB / 1.019 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.322e-05/1.082, allocations: 3.906 kB / 1.019 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.733e-05/1.082, allocations: 15.75 kB / 1.019 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/1.082, allocations: 0 / 1.019 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/1.083, allocations: 0 / 1.019 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/1.083, allocations: 3.984 kB / 1.019 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002318/1.083, allocations: 157.4 kB / 1.019 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/1.083, allocations: 0 / 1.019 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000185/1.083, allocations: 15.98 kB / 1.019 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/1.083, allocations: 0 / 1.019 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/1.083, allocations: 8 kB / 1.019 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/1.083, allocations: 2.875 kB / 1.019 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/1.083, allocations: 0 / 1.019 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000249/1.083, allocations: 161.1 kB / 1.02 GB, free: 3.672 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.982e-05/1.083, allocations: 77.11 kB / 1.02 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.322e-05/1.083, allocations: 0 / 1.02 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001875/1.084, allocations: 15.98 kB / 1.02 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.525e-05/1.084, allocations: 15.77 kB / 1.02 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/1.084, allocations: 0 / 1.02 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.184e-05/1.084, allocations: 82.16 kB / 1.02 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003261/1.084, allocations: 8 kB / 1.02 GB, free: 3.465 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 (abs1.u,abs1.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.0001952/1.084, allocations: 107.2 kB / 1.02 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001756/1.085, allocations: 25.56 kB / 1.02 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/1.085, allocations: 11.88 kB / 1.02 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.271e-05/1.085, allocations: 22.98 kB / 1.02 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002636/1.085, allocations: 4 kB / 1.02 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004157/1.085, allocations: 85.98 kB / 1.02 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004354/1.086, allocations: 0.6958 MB / 1.021 GB, free: 2.484 MB / 0.6355 GB Notification: Performance of SimCode: time 9.01e-07/1.086, allocations: 0 / 1.021 GB, free: 2.484 MB / 0.6355 GB Notification: Performance of Templates: time 0.004227/1.09, allocations: 0.8126 MB / 1.021 GB, free: 1.695 MB / 0.6355 GB