Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.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.Continuous.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.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.372/1.372, allocations: 289.8 MB / 297.1 MB, free: 9.844 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009822/0.0009822, allocations: 188.1 kB / 366.3 MB, free: 15.7 MB / 302.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.094/1.094, allocations: 205.1 MB / 0.6256 GB, free: 2.156 MB / 446.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008333/0.0008334, allocations: 89.16 kB / 0.7396 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 1.054e-05/1.057e-05, allocations: 4.688 kB / 0.859 GB, free: 156.7 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1789/0.1789, allocations: 116.3 MB / 0.9726 GB, free: 54.35 MB / 0.6387 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4998/0.6787, allocations: 137.7 MB / 1.107 GB, free: 22.91 MB / 0.7169 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001866/0.6789, allocations: 67.84 kB / 1.107 GB, free: 22.91 MB / 0.7169 GB Notification: Performance of FrontEnd: time 0.001888/0.6808, allocations: 0.5434 MB / 1.108 GB, free: 22.88 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.6809, allocations: 0 / 1.108 GB, free: 22.88 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003551/0.6812, allocations: 369.8 kB / 1.108 GB, free: 38.52 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.6813, allocations: 9.594 kB / 1.108 GB, free: 38.52 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.981e-05/0.6813, allocations: 7.125 kB / 1.108 GB, free: 38.52 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.121e-05/0.6814, allocations: 177.9 kB / 1.108 GB, free: 38.31 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.6814, allocations: 0 / 1.108 GB, free: 38.31 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.133e-05/0.6814, allocations: 0 / 1.108 GB, free: 38.31 MB / 0.7325 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.339e-05/0.6815, allocations: 20.25 kB / 1.108 GB, free: 38.31 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.251e-05/0.6816, allocations: 41.52 kB / 1.108 GB, free: 38.28 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.6816, allocations: 7.938 kB / 1.108 GB, free: 38.27 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.6816, allocations: 7.031 kB / 1.108 GB, free: 38.27 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.6816, allocations: 3.219 kB / 1.108 GB, free: 38.27 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004181/0.6821, allocations: 287.9 kB / 1.109 GB, free: 38.03 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.066e-05/0.6821, allocations: 30.48 kB / 1.109 GB, free: 38.01 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.857e-05/0.6822, allocations: 17.23 kB / 1.109 GB, free: 38 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/0.6822, allocations: 7.719 kB / 1.109 GB, free: 37.99 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.266e-05/0.6822, allocations: 30.56 kB / 1.109 GB, free: 37.95 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.6822, allocations: 0 / 1.109 GB, free: 37.95 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.000136/0.6824, allocations: 51.66 kB / 1.109 GB, free: 37.92 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.611e-05/0.6824, allocations: 55.16 kB / 1.109 GB, free: 37.86 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.05e-05/0.6825, allocations: 97.62 kB / 1.109 GB, free: 37.76 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.6825, allocations: 25.7 kB / 1.109 GB, free: 37.73 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.475e-05/0.6825, allocations: 98.33 kB / 1.109 GB, free: 37.64 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.609e-05/0.6825, allocations: 9.781 kB / 1.109 GB, free: 37.63 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-06/0.6825, allocations: 0 / 1.109 GB, free: 37.63 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.548e-05/0.6826, allocations: 313.5 kB / 1.109 GB, free: 37.32 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.09e-05/0.6827, allocations: 10 kB / 1.109 GB, free: 37.32 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.727e-05/0.6827, allocations: 9.328 kB / 1.109 GB, free: 37.32 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.976e-05/0.6827, allocations: 10.06 kB / 1.109 GB, free: 37.32 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.6827, allocations: 0 / 1.109 GB, free: 37.32 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.419e-05/0.6828, allocations: 49.7 kB / 1.109 GB, free: 37.29 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.588e-06/0.6828, allocations: 15.44 kB / 1.109 GB, free: 37.28 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.6828, allocations: 4.453 kB / 1.109 GB, free: 37.28 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.6828, allocations: 0 / 1.109 GB, free: 37.28 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.683, allocations: 26.08 kB / 1.109 GB, free: 37.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.457e-06/0.683, allocations: 0 / 1.109 GB, free: 37.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.128e-05/0.6831, allocations: 23.84 kB / 1.109 GB, free: 37.27 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.6831, allocations: 0 / 1.109 GB, free: 37.27 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 5.379e-05/0.6831, allocations: 104.9 kB / 1.109 GB, free: 37.16 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.402e-05/0.6832, allocations: 3.188 kB / 1.109 GB, free: 37.16 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.348e-05/0.6832, allocations: 17.47 kB / 1.109 GB, free: 37.14 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.6832, allocations: 384 / 1.109 GB, free: 37.14 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.6832, allocations: 1.562 kB / 1.109 GB, free: 37.14 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.604e-06/0.6832, allocations: 0 / 1.109 GB, free: 37.14 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001052/0.6833, allocations: 146.9 kB / 1.11 GB, free: 36.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.6833, allocations: 7.125 kB / 1.11 GB, free: 36.98 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001013/0.6834, allocations: 26.12 kB / 1.11 GB, free: 36.97 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.6834, allocations: 3.938 kB / 1.11 GB, free: 36.97 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.6835, allocations: 0 / 1.11 GB, free: 36.97 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.6835, allocations: 0 / 1.11 GB, free: 36.97 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.6835, allocations: 3.906 kB / 1.11 GB, free: 36.97 MB / 0.7325 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001066/0.6836, allocations: 150.1 kB / 1.11 GB, free: 36.83 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.23e-05/0.6836, allocations: 82.77 kB / 1.11 GB, free: 36.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.6837, allocations: 1.688 kB / 1.11 GB, free: 36.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.6838, allocations: 24.09 kB / 1.11 GB, free: 36.73 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.98e-05/0.6838, allocations: 0 / 1.11 GB, free: 36.73 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.6838, allocations: 7.094 kB / 1.11 GB, free: 36.73 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.501e-05/0.6839, allocations: 90.12 kB / 1.11 GB, free: 36.66 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00019/0.6841, allocations: 10.41 kB / 1.11 GB, free: 36.65 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001184/0.6842, allocations: 95.22 kB / 1.11 GB, free: 36.57 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 7.997e-05/0.6843, allocations: 22.94 kB / 1.11 GB, free: 36.57 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.6843, allocations: 0 / 1.11 GB, free: 36.57 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.834e-05/0.6843, allocations: 15.03 kB / 1.11 GB, free: 36.56 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001722/0.6845, allocations: 8.859 kB / 1.11 GB, free: 36.56 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002023/0.6847, allocations: 76.48 kB / 1.11 GB, free: 36.49 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002282/0.6849, allocations: 0.7034 MB / 1.111 GB, free: 35.79 MB / 0.7325 GB Notification: Performance of SimCode: time 2.1e-07/0.6849, allocations: 0 / 1.111 GB, free: 35.79 MB / 0.7325 GB Notification: Performance of Templates: time 0.001954/0.6869, allocations: 0.618 MB / 1.112 GB, free: 35.74 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe 2>&1)