Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.333/1.333, allocations: 285.5 MB / 292.8 MB, free: 10.45 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009772/0.0009772, allocations: 185.3 kB / 361.1 MB, free: 7.109 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.053/1.053, allocations: 205.1 MB / 0.6195 GB, free: 11.96 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000749/0.000749, allocations: 95.12 kB / 0.7326 GB, free: 44.51 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.215e-06/8.235e-06, allocations: 4 kB / 0.8511 GB, free: 3.258 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4459/0.4459, allocations: 115.3 MB / 0.9637 GB, free: 77.75 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1338/0.5797, allocations: 137.2 MB / 1.098 GB, free: 2.941 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001762/0.58, allocations: 69.03 kB / 1.098 GB, free: 2.875 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.005978/0.586, allocations: 1.706 MB / 1.099 GB, free: 1.227 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.586, allocations: 1.125 kB / 1.099 GB, free: 1.227 MB / 0.698 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.0006058/0.5866, allocations: 442 kB / 1.1 GB, free: 0.75 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.5866, allocations: 8.031 kB / 1.1 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.739e-05/0.5867, allocations: 15.91 kB / 1.1 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001993/0.5869, allocations: 200 kB / 1.1 GB, free: 500 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.5869, allocations: 4.609 kB / 1.1 GB, free: 496 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.043e-05/0.587, allocations: 4.188 kB / 1.1 GB, free: 492 kB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001839/0.5871, allocations: 87.91 kB / 1.1 GB, free: 404 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.5873, allocations: 98.66 kB / 1.1 GB, free: 300 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.5873, allocations: 5.438 kB / 1.1 GB, free: 296 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.5874, allocations: 0.5625 kB / 1.1 GB, free: 296 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.5874, allocations: 4 kB / 1.1 GB, free: 292 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006069/0.588, allocations: 396.1 kB / 1.101 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005679/0.5886, allocations: 126.6 kB / 1.101 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.512e-05/0.5886, allocations: 48.97 kB / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-05/0.5887, allocations: 2.156 kB / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.789e-05/0.5887, allocations: 38.5 kB / 1.101 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.403e-06/0.5887, allocations: 0 / 1.101 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0002807/0.589, allocations: 125.6 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.671e-05/0.589, allocations: 51.41 kB / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.5891, allocations: 138.4 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.5892, allocations: 29.64 kB / 1.101 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.574e-05/0.5892, allocations: 96.03 kB / 1.101 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.145e-05/0.5892, allocations: 27.59 kB / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.618e-06/0.5893, allocations: 0 / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.481e-05/0.5894, allocations: 322.8 kB / 1.102 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.943e-05/0.5894, allocations: 39.98 kB / 1.102 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.426e-05/0.5895, allocations: 39.98 kB / 1.102 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.02e-05/0.5896, allocations: 41.11 kB / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.5896, allocations: 0 / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002072/0.5898, allocations: 121.5 kB / 1.102 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.327e-06/0.5898, allocations: 8 kB / 1.102 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.5898, allocations: 0 / 1.102 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.5898, allocations: 0 / 1.102 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002759/0.5901, allocations: 47.95 kB / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.5901, allocations: 0.75 kB / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001828/0.5903, allocations: 39.88 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.797e-05/0.5904, allocations: 9.797 kB / 1.102 GB, free: 14.47 MB / 0.7136 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 7.731e-05/0.5904, allocations: 107.5 kB / 1.102 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.714e-05/0.5905, allocations: 19.75 kB / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.258e-05/0.5905, allocations: 12.5 kB / 1.102 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.5905, allocations: 0 / 1.102 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.5905, allocations: 0 / 1.102 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.5905, allocations: 4.641 kB / 1.102 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002032/0.5908, allocations: 210 kB / 1.102 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.5908, allocations: 0 / 1.102 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002496/0.591, allocations: 51.89 kB / 1.102 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.591, allocations: 4 kB / 1.102 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.5911, allocations: 0 / 1.102 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.5911, allocations: 0 / 1.102 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.5911, allocations: 2.75 kB / 1.102 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000251/0.5913, allocations: 235 kB / 1.102 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.829e-05/0.5914, allocations: 88.95 kB / 1.103 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.714e-05/0.5914, allocations: 0 / 1.103 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002185/0.5916, allocations: 31.97 kB / 1.103 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.649e-05/0.5917, allocations: 32.7 kB / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.492e-05/0.5917, allocations: 4 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.396e-05/0.5918, allocations: 107.8 kB / 1.103 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002326/0.5921, allocations: 27.91 kB / 1.103 GB, free: 13.48 MB / 0.7136 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.0001404/0.5922, allocations: 111 kB / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001965/0.5924, allocations: 95.97 kB / 1.103 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.5924, allocations: 0 / 1.103 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.5925, allocations: 59.92 kB / 1.103 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000184/0.5927, allocations: 13.88 kB / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004207/0.5931, allocations: 164.3 kB / 1.103 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003113/0.5935, allocations: 0.7344 MB / 1.104 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of SimCode: time 1.523e-06/0.5935, allocations: 0 / 1.104 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of Templates: time 0.00404/0.5975, allocations: 2.126 MB / 1.106 GB, free: 10.19 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1)