Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Add.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.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.36/1.36, allocations: 289.8 MB / 297.1 MB, free: 6.676 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.0009316/0.0009316, allocations: 173.3 kB / 366.3 MB, free: 1.961 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.06/1.06, allocations: 205.2 MB / 0.6256 GB, free: 5.812 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.0007939/0.000794, allocations: 80.81 kB / 0.7395 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.973e-06/7.003e-06, allocations: 4 kB / 0.859 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.455/0.455, allocations: 116.3 MB / 0.9726 GB, free: 68.72 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.144/0.5991, allocations: 138 MB / 1.107 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00021/0.5993, allocations: 67.78 kB / 1.107 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.004163/0.6035, allocations: 1.152 MB / 1.109 GB, free: 9.258 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.6035, allocations: 4 kB / 1.109 GB, free: 9.254 MB / 0.7136 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.0004952/0.604, allocations: 400.2 kB / 1.109 GB, free: 8.82 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.6041, allocations: 12.03 kB / 1.109 GB, free: 8.809 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.092e-05/0.6041, allocations: 11.91 kB / 1.109 GB, free: 8.797 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001531/0.6043, allocations: 174.9 kB / 1.109 GB, free: 8.586 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.6043, allocations: 4 kB / 1.109 GB, free: 8.582 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.594e-05/0.6043, allocations: 0 / 1.109 GB, free: 8.582 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001228/0.6045, allocations: 47.98 kB / 1.109 GB, free: 8.535 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.6046, allocations: 77.56 kB / 1.109 GB, free: 8.453 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.6046, allocations: 3.938 kB / 1.109 GB, free: 8.449 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.6046, allocations: 4 kB / 1.109 GB, free: 8.445 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.6046, allocations: 4 kB / 1.109 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004998/0.6051, allocations: 309.3 kB / 1.11 GB, free: 8.102 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004311/0.6056, allocations: 98.5 kB / 1.11 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.956e-05/0.6057, allocations: 32.86 kB / 1.11 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.6057, allocations: 1.312 kB / 1.11 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.758e-05/0.6057, allocations: 30.56 kB / 1.11 GB, free: 7.922 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/0.6057, allocations: 0 / 1.11 GB, free: 7.922 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002424/0.606, allocations: 89.72 kB / 1.11 GB, free: 7.828 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/0.606, allocations: 51.41 kB / 1.11 GB, free: 7.766 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.697e-05/0.6061, allocations: 119.5 kB / 1.11 GB, free: 7.645 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.6061, allocations: 25.7 kB / 1.11 GB, free: 7.613 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.312e-05/0.6062, allocations: 96.03 kB / 1.11 GB, free: 7.516 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.332e-05/0.6062, allocations: 15.69 kB / 1.11 GB, free: 7.5 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.484e-06/0.6062, allocations: 0 / 1.11 GB, free: 7.5 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.6063, allocations: 322.8 kB / 1.11 GB, free: 7.176 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.211e-05/0.6064, allocations: 20 kB / 1.11 GB, free: 7.156 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.101e-05/0.6064, allocations: 16 kB / 1.11 GB, free: 7.141 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.663e-05/0.6065, allocations: 27.92 kB / 1.11 GB, free: 7.113 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.6065, allocations: 9.031 kB / 1.11 GB, free: 7.105 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001437/0.6066, allocations: 84.09 kB / 1.111 GB, free: 7.02 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.6067, allocations: 4 kB / 1.111 GB, free: 7.016 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.6067, allocations: 0 / 1.111 GB, free: 7.016 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.6067, allocations: 4 kB / 1.111 GB, free: 7.012 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001952/0.6069, allocations: 31.97 kB / 1.111 GB, free: 6.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.6069, allocations: 3.984 kB / 1.111 GB, free: 6.977 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001298/0.607, allocations: 19.98 kB / 1.111 GB, free: 6.957 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.607, allocations: 0 / 1.111 GB, free: 6.957 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: 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 7.856e-05/0.6071, allocations: 109 kB / 1.111 GB, free: 6.844 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.437e-05/0.6072, allocations: 11.8 kB / 1.111 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.31e-05/0.6072, allocations: 20.3 kB / 1.111 GB, free: 6.809 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.6072, allocations: 1.406 kB / 1.111 GB, free: 6.809 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.6072, allocations: 0 / 1.111 GB, free: 6.809 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.6072, allocations: 0 / 1.111 GB, free: 6.809 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001901/0.6074, allocations: 174.2 kB / 1.111 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.6074, allocations: 0 / 1.111 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001753/0.6076, allocations: 35.97 kB / 1.111 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.778e-06/0.6076, allocations: 3.906 kB / 1.111 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.6076, allocations: 3.984 kB / 1.111 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.6077, allocations: 4 kB / 1.111 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.6077, allocations: 0 / 1.111 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001928/0.6079, allocations: 183.4 kB / 1.111 GB, free: 6.359 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.974e-05/0.6079, allocations: 88.95 kB / 1.111 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.236e-05/0.6079, allocations: 4 kB / 1.111 GB, free: 6.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001711/0.6081, allocations: 15.98 kB / 1.111 GB, free: 6.234 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.96e-05/0.6082, allocations: 19.97 kB / 1.111 GB, free: 6.215 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.6082, allocations: 9.953 kB / 1.111 GB, free: 6.207 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.614e-05/0.6083, allocations: 99.22 kB / 1.111 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002168/0.6085, allocations: 15.91 kB / 1.111 GB, free: 6.094 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: 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.0001347/0.6086, allocations: 111.3 kB / 1.111 GB, free: 5.977 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001381/0.6088, allocations: 52 kB / 1.112 GB, free: 5.926 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.6088, allocations: 0 / 1.112 GB, free: 5.926 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.281e-05/0.6089, allocations: 39.92 kB / 1.112 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001831/0.609, allocations: 10.47 kB / 1.112 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003379/0.6094, allocations: 115.5 kB / 1.112 GB, free: 5.742 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003005/0.6097, allocations: 0.7114 MB / 1.112 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of SimCode: time 2.2e-07/0.6097, allocations: 0 / 1.112 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of Templates: time 0.003252/0.613, allocations: 1.402 MB / 1.114 GB, free: 3.641 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Add.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1)