Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.1.4-maint.8.1.x/package.mo): time 1.325/1.325, allocations: 289.8 MB / 297 MB, free: 12.62 MB / 242.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009323/0.0009322, allocations: 182.3 kB / 366.3 MB, free: 11.93 MB / 290.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.06/1.06, allocations: 205.1 MB / 0.6256 GB, free: 2.012 MB / 466.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008409/0.0008409, allocations: 86.66 kB / 0.7395 GB, free: 46.94 MB / 0.5183 GB Notification: Performance of FrontEnd - loaded program: time 6.472e-06/6.582e-06, allocations: 0 / 0.859 GB, free: 7.152 MB / 0.5964 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4657/0.4657, allocations: 116.3 MB / 0.9726 GB, free: 81.52 MB / 0.6746 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1355/0.6012, allocations: 138.1 MB / 1.107 GB, free: 5.879 MB / 0.7058 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001629/0.6014, allocations: 75.03 kB / 1.108 GB, free: 5.809 MB / 0.7058 GB Notification: Performance of FrontEnd: time 0.005976/0.6074, allocations: 1.7 MB / 1.109 GB, free: 4.152 MB / 0.7058 GB Notification: Performance of Transformations before backend: time 1.007e-05/0.6075, allocations: 8 kB / 1.109 GB, free: 4.145 MB / 0.7058 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.0006283/0.6081, allocations: 438 kB / 1.11 GB, free: 3.676 MB / 0.7058 GB Notification: Performance of prepare preOptimizeDAE: time 3.012e-05/0.6081, allocations: 12.03 kB / 1.11 GB, free: 3.664 MB / 0.7058 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.174e-05/0.6082, allocations: 7.906 kB / 1.11 GB, free: 3.656 MB / 0.7058 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001992/0.6084, allocations: 203.3 kB / 1.11 GB, free: 3.414 MB / 0.7058 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.6084, allocations: 8 kB / 1.11 GB, free: 3.406 MB / 0.7058 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.765e-05/0.6084, allocations: 4 kB / 1.11 GB, free: 3.402 MB / 0.7058 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000182/0.6086, allocations: 75.97 kB / 1.11 GB, free: 3.328 MB / 0.7058 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.6088, allocations: 108.1 kB / 1.11 GB, free: 3.219 MB / 0.7058 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.6088, allocations: 3.984 kB / 1.11 GB, free: 3.215 MB / 0.7058 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.6088, allocations: 0 / 1.11 GB, free: 3.215 MB / 0.7058 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.6088, allocations: 0 / 1.11 GB, free: 3.215 MB / 0.7058 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005909/0.6094, allocations: 396.8 kB / 1.11 GB, free: 2.789 MB / 0.7058 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005444/0.61, allocations: 127.4 kB / 1.111 GB, free: 2.656 MB / 0.7058 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.093e-05/0.6101, allocations: 50.62 kB / 1.111 GB, free: 2.605 MB / 0.7058 GB Notification: Performance of preOpt evalFunc (simulation): time 2.348e-05/0.6101, allocations: 7.984 kB / 1.111 GB, free: 2.598 MB / 0.7058 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.6102, allocations: 34.56 kB / 1.111 GB, free: 2.555 MB / 0.7058 GB Notification: Performance of pre-optimization done (n=10): time 1.333e-06/0.6102, allocations: 0 / 1.111 GB, free: 2.555 MB / 0.7058 GB Notification: Performance of matching and sorting (n=10): time 0.000264/0.6104, allocations: 122.5 kB / 1.111 GB, free: 2.43 MB / 0.7058 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/0.6105, allocations: 55.41 kB / 1.111 GB, free: 2.363 MB / 0.7058 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.6106, allocations: 137.1 kB / 1.111 GB, free: 2.219 MB / 0.7058 GB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.6106, allocations: 29.69 kB / 1.111 GB, free: 2.184 MB / 0.7058 GB Notification: Performance of collectInitialEqns (initialization): time 4.023e-05/0.6107, allocations: 92.98 kB / 1.111 GB, free: 2.09 MB / 0.7058 GB Notification: Performance of collectInitialBindings (initialization): time 3.202e-05/0.6107, allocations: 31.58 kB / 1.111 GB, free: 2.059 MB / 0.7058 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.558e-06/0.6107, allocations: 0 / 1.111 GB, free: 2.059 MB / 0.7058 GB Notification: Performance of setup shared object (initialization): time 9.105e-05/0.6108, allocations: 318.8 kB / 1.111 GB, free: 1.738 MB / 0.7058 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.607e-05/0.6109, allocations: 43.98 kB / 1.111 GB, free: 1.695 MB / 0.7058 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.202e-05/0.611, allocations: 35.94 kB / 1.111 GB, free: 1.66 MB / 0.7058 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.805e-05/0.611, allocations: 41.09 kB / 1.111 GB, free: 1.621 MB / 0.7058 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.611, allocations: 8 kB / 1.111 GB, free: 1.613 MB / 0.7058 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002076/0.6113, allocations: 123.7 kB / 1.112 GB, free: 1.488 MB / 0.7058 GB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.6113, allocations: 4 kB / 1.112 GB, free: 1.484 MB / 0.7058 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.6113, allocations: 0 / 1.112 GB, free: 1.484 MB / 0.7058 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.6113, allocations: 4 kB / 1.112 GB, free: 1.48 MB / 0.7058 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002844/0.6116, allocations: 51.95 kB / 1.112 GB, free: 1.43 MB / 0.7058 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.6116, allocations: 0 / 1.112 GB, free: 1.43 MB / 0.7058 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001815/0.6118, allocations: 35.88 kB / 1.112 GB, free: 1.395 MB / 0.7058 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.883e-05/0.6118, allocations: 7.984 kB / 1.112 GB, free: 1.387 MB / 0.7058 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.014e-05/0.6119, allocations: 105.1 kB / 1.112 GB, free: 1.281 MB / 0.7058 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.908e-05/0.6119, allocations: 11.81 kB / 1.112 GB, free: 1.27 MB / 0.7058 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.918e-05/0.612, allocations: 12.5 kB / 1.112 GB, free: 1.258 MB / 0.7058 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.612, allocations: 0 / 1.112 GB, free: 1.258 MB / 0.7058 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.612, allocations: 9.312 kB / 1.112 GB, free: 1.25 MB / 0.7058 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.612, allocations: 0 / 1.112 GB, free: 1.25 MB / 0.7058 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002087/0.6122, allocations: 206 kB / 1.112 GB, free: 1.012 MB / 0.7058 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.6122, allocations: 3.938 kB / 1.112 GB, free: 1.008 MB / 0.7058 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00026/0.6125, allocations: 51.89 kB / 1.112 GB, free: 0.957 MB / 0.7058 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.6125, allocations: 3.984 kB / 1.112 GB, free: 0.9531 MB / 0.7058 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.6125, allocations: 0 / 1.112 GB, free: 0.9531 MB / 0.7058 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.6125, allocations: 4 kB / 1.112 GB, free: 0.9492 MB / 0.7058 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.6125, allocations: 0 / 1.112 GB, free: 0.9492 MB / 0.7058 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002545/0.6128, allocations: 229.1 kB / 1.112 GB, free: 0.7109 MB / 0.7058 GB Notification: Performance of postOpt removeConstants (simulation): time 3.782e-05/0.6128, allocations: 89.52 kB / 1.112 GB, free: 0.6055 MB / 0.7058 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.817e-05/0.6129, allocations: 8 kB / 1.112 GB, free: 0.5977 MB / 0.7058 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000216/0.6131, allocations: 23.97 kB / 1.112 GB, free: 0.5742 MB / 0.7058 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.595e-05/0.6132, allocations: 35.95 kB / 1.112 GB, free: 0.5391 MB / 0.7058 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.6132, allocations: 0 / 1.112 GB, free: 0.5391 MB / 0.7058 GB Notification: Performance of sort global known variables: time 6.698e-05/0.6133, allocations: 114.6 kB / 1.113 GB, free: 440 kB / 0.7058 GB Notification: Performance of remove unused functions: time 0.0002319/0.6135, allocations: 28.56 kB / 1.113 GB, free: 412 kB / 0.7058 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.0001245/0.6137, allocations: 103.2 kB / 1.113 GB, free: 296 kB / 0.7058 GB Notification: Performance of simCode: created initialization part: time 0.0001899/0.6138, allocations: 91.91 kB / 1.113 GB, free: 204 kB / 0.7058 GB Notification: Performance of simCode: created event and clocks part: time 1.213e-06/0.6139, allocations: 0.5625 kB / 1.113 GB, free: 204 kB / 0.7058 GB Notification: Performance of simCode: created simulation system equations: time 0.0001086/0.614, allocations: 67.92 kB / 1.113 GB, free: 136 kB / 0.7058 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001822/0.6142, allocations: 12.92 kB / 1.113 GB, free: 124 kB / 0.7058 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004671/0.6146, allocations: 172.3 kB / 1.113 GB, free: 15.93 MB / 0.7214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003196/0.615, allocations: 0.7266 MB / 1.114 GB, free: 15.18 MB / 0.7214 GB Notification: Performance of SimCode: time 2.41e-07/0.615, allocations: 0 / 1.114 GB, free: 15.18 MB / 0.7214 GB Notification: Performance of Templates: time 0.004034/0.619, allocations: 2.133 MB / 1.116 GB, free: 13.09 MB / 0.7214 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1)