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.Add.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.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Add") [: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.42/2.42, allocations: 253.1 MB / 260.4 MB, free: 7.629 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.002726/0.002725, allocations: 189.2 kB / 319.6 MB, free: 3.336 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.106/2.106, 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.001285/0.001285, allocations: 88.58 kB / 0.6746 GB, free: 4.461 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.49e-05/1.508e-05, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.3117, allocations: 106.2 MB / 0.8881 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7958/1.108, allocations: 131.8 MB / 1.017 GB, free: 6.598 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002918/1.108, allocations: 70.95 kB / 1.017 GB, free: 6.559 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.01258/1.121, allocations: 1.179 MB / 1.018 GB, free: 5.562 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.221e-05/1.121, allocations: 0 / 1.018 GB, free: 5.562 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.001541/1.122, allocations: 397.3 kB / 1.018 GB, free: 5.137 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 8.842e-05/1.122, allocations: 8.031 kB / 1.018 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001288/1.122, allocations: 11.81 kB / 1.018 GB, free: 5.117 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003166/1.123, allocations: 182.8 kB / 1.019 GB, free: 4.898 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.987e-05/1.123, allocations: 0 / 1.019 GB, free: 4.898 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.58e-05/1.123, allocations: 4 kB / 1.019 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003318/1.123, allocations: 48.86 kB / 1.019 GB, free: 4.863 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003015/1.124, allocations: 79.03 kB / 1.019 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/1.124, allocations: 0 / 1.019 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.059e-05/1.124, allocations: 3.984 kB / 1.019 GB, free: 4.789 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/1.124, allocations: 3.938 kB / 1.019 GB, free: 4.785 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001278/1.125, allocations: 320.6 kB / 1.019 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008646/1.126, allocations: 87.3 kB / 1.019 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/1.126, allocations: 31.16 kB / 1.019 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.966e-05/1.126, allocations: 160 / 1.019 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/1.126, allocations: 34.56 kB / 1.019 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/1.126, allocations: 0 / 1.019 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0004567/1.127, allocations: 86.14 kB / 1.019 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/1.127, allocations: 59.41 kB / 1.019 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001501/1.127, allocations: 111.3 kB / 1.019 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.041e-05/1.127, allocations: 25.7 kB / 1.019 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.118e-05/1.127, allocations: 95.41 kB / 1.019 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.909e-05/1.127, allocations: 22.22 kB / 1.02 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.206e-05/1.127, allocations: 0 / 1.02 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001639/1.127, allocations: 318.8 kB / 1.02 GB, free: 3.613 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.736e-05/1.127, allocations: 18.5 kB / 1.02 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.478e-05/1.127, allocations: 21.81 kB / 1.02 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/1.128, allocations: 26.55 kB / 1.02 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/1.128, allocations: 3.938 kB / 1.02 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000301/1.128, allocations: 85.64 kB / 1.02 GB, free: 3.492 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/1.128, allocations: 4 kB / 1.02 GB, free: 3.488 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/1.128, allocations: 7.875 kB / 1.02 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/1.128, allocations: 0 / 1.02 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004185/1.128, allocations: 36.84 kB / 1.02 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/1.128, allocations: 0 / 1.02 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002605/1.129, allocations: 19.89 kB / 1.02 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.375e-05/1.129, allocations: 7.984 kB / 1.02 GB, free: 3.418 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: 3 (add1.u1,add1.u2,add1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001147/1.129, allocations: 108.4 kB / 1.02 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.135e-05/1.129, allocations: 7.906 kB / 1.02 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.128e-05/1.129, allocations: 7.312 kB / 1.02 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/1.129, allocations: 4 kB / 1.02 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/1.129, allocations: 0 / 1.02 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/1.129, allocations: 0.875 kB / 1.02 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002977/1.129, allocations: 180.2 kB / 1.02 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/1.129, allocations: 0 / 1.02 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003476/1.13, allocations: 35.97 kB / 1.02 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.092e-06/1.13, allocations: 0 / 1.02 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.053e-05/1.13, allocations: 0 / 1.02 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/1.13, allocations: 7.938 kB / 1.02 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/1.13, allocations: 0 / 1.02 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003569/1.13, allocations: 185.2 kB / 1.021 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.671e-05/1.13, allocations: 81.02 kB / 1.021 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.251e-05/1.13, allocations: 7.891 kB / 1.021 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003207/1.131, allocations: 19.98 kB / 1.021 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/1.131, allocations: 22.41 kB / 1.021 GB, free: 2.727 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-05/1.131, allocations: 4 kB / 1.021 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9.562e-05/1.131, allocations: 94.14 kB / 1.021 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003731/1.131, allocations: 19.94 kB / 1.021 GB, free: 2.617 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: 3 (add1.u1,add1.u2,add1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001984/1.132, allocations: 103.3 kB / 1.021 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002697/1.132, allocations: 62.17 kB / 1.021 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/1.132, allocations: 0 / 1.021 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000138/1.132, allocations: 42.39 kB / 1.021 GB, free: 2.434 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000318/1.132, allocations: 9.938 kB / 1.021 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006006/1.133, allocations: 125.2 kB / 1.021 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004854/1.133, allocations: 0.7153 MB / 1.022 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of SimCode: time 1.452e-06/1.133, allocations: 0 / 1.022 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of Templates: time 0.005978/1.139, allocations: 1.412 MB / 1.023 GB, free: 168 kB / 0.6355 GB