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.MultiSum.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.MultiSum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") [: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.38/2.38, allocations: 253.1 MB / 260.4 MB, free: 7.48 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.001778/0.001778, allocations: 173.3 kB / 319.6 MB, free: 3.32 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.302/2.302, allocations: 205.4 MB / 0.5704 GB, free: 15.06 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.001333/0.001333, allocations: 77.66 kB / 0.6746 GB, free: 4.426 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.197e-05/1.215e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2381, allocations: 106.2 MB / 0.8881 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.719/0.9571, allocations: 131.9 MB / 1.017 GB, free: 6.43 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002947/0.9575, allocations: 69.95 kB / 1.017 GB, free: 6.391 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.01089/0.9684, allocations: 1.748 MB / 1.019 GB, free: 4.898 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.659e-05/0.9684, allocations: 4 kB / 1.019 GB, free: 4.895 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001103/0.9696, allocations: 446.5 kB / 1.019 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.9696, allocations: 8.031 kB / 1.019 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.508e-05/0.9697, allocations: 15.56 kB / 1.019 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003143/0.97, allocations: 196.6 kB / 1.019 GB, free: 4.172 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.437e-05/0.9701, allocations: 7.25 kB / 1.019 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.133e-05/0.9701, allocations: 7.984 kB / 1.019 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000325/0.9704, allocations: 79.36 kB / 1.019 GB, free: 4.109 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003036/0.9708, allocations: 113.9 kB / 1.02 GB, free: 4.008 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.9708, allocations: 0 / 1.02 GB, free: 4.008 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.921e-05/0.9708, allocations: 3.906 kB / 1.02 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.9708, allocations: 0 / 1.02 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/0.9719, allocations: 391.5 kB / 1.02 GB, free: 3.633 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/0.973, allocations: 118.1 kB / 1.02 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001656/0.9732, allocations: 48.17 kB / 1.02 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.401e-05/0.9733, allocations: 11.42 kB / 1.02 GB, free: 3.492 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.9733, allocations: 34.56 kB / 1.02 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 2.765e-06/0.9733, allocations: 0 / 1.02 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0005061/0.9738, allocations: 129.5 kB / 1.02 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.9739, allocations: 56.25 kB / 1.02 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001733/0.9741, allocations: 131.7 kB / 1.02 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.766e-05/0.9741, allocations: 25.7 kB / 1.02 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.366e-05/0.9742, allocations: 95.97 kB / 1.021 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.568e-05/0.9743, allocations: 34.98 kB / 1.021 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.638e-05/0.9743, allocations: 0 / 1.021 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001926/0.9745, allocations: 322.2 kB / 1.021 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001302/0.9746, allocations: 37.73 kB / 1.021 GB, free: 2.648 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.9748, allocations: 45.33 kB / 1.021 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.9749, allocations: 37.67 kB / 1.021 GB, free: 2.594 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.9749, allocations: 0 / 1.021 GB, free: 2.594 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003941/0.9754, allocations: 123.5 kB / 1.021 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.9754, allocations: 7.938 kB / 1.021 GB, free: 2.484 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.9754, allocations: 0 / 1.021 GB, free: 2.484 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.9754, allocations: 7.906 kB / 1.021 GB, free: 2.477 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005744/0.976, allocations: 51.95 kB / 1.021 GB, free: 2.426 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.976, allocations: 0 / 1.021 GB, free: 2.426 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003814/0.9764, allocations: 31.97 kB / 1.021 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.865e-05/0.9765, allocations: 4 kB / 1.021 GB, free: 2.391 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: 4 (add1.u[1],add1.u[2],add1.u[3],add1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001231/0.9766, allocations: 107.4 kB / 1.021 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.194e-05/0.9767, allocations: 11.81 kB / 1.021 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.976e-05/0.9767, allocations: 19.36 kB / 1.021 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.9768, allocations: 0 / 1.021 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.9768, allocations: 4 kB / 1.021 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.9768, allocations: 0 / 1.021 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003494/0.9771, allocations: 203.4 kB / 1.022 GB, free: 2.039 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.9772, allocations: 0 / 1.022 GB, free: 2.039 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005081/0.9777, allocations: 55.39 kB / 1.022 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.613e-06/0.9777, allocations: 0 / 1.022 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.612e-05/0.9777, allocations: 3.984 kB / 1.022 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.571e-06/0.9777, allocations: 4 kB / 1.022 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.153e-06/0.9778, allocations: 4 kB / 1.022 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004749/0.9782, allocations: 231.6 kB / 1.022 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.222e-05/0.9783, allocations: 88.94 kB / 1.022 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.065e-05/0.9784, allocations: 11.89 kB / 1.022 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004185/0.9788, allocations: 23.98 kB / 1.022 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001612/0.979, allocations: 34.14 kB / 1.022 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.872e-05/0.979, allocations: 7.984 kB / 1.022 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001151/0.9792, allocations: 106.3 kB / 1.022 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003924/0.9796, allocations: 20 kB / 1.022 GB, free: 1.477 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: 4 (add1.u[1],add1.u[2],add1.u[3],add1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0002031/0.9798, allocations: 99.25 kB / 1.022 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004047/0.9802, allocations: 98.16 kB / 1.022 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.9802, allocations: 0 / 1.022 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002152/0.9804, allocations: 65.66 kB / 1.022 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.9808, allocations: 14.09 kB / 1.022 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007555/0.9816, allocations: 172.1 kB / 1.023 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005016/0.9821, allocations: 0.7344 MB / 1.023 GB, free: 328 kB / 0.6355 GB Notification: Performance of SimCode: time 8.92e-07/0.9821, allocations: 0 / 1.023 GB, free: 328 kB / 0.6355 GB Notification: Performance of Templates: time 0.007588/0.9897, allocations: 2.124 MB / 1.025 GB, free: 14.22 MB / 0.6511 GB