Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.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.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average") [: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.348/1.348, allocations: 289.8 MB / 297.1 MB, free: 6.723 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.0009995/0.0009996, allocations: 185.3 kB / 366.3 MB, free: 1.996 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.134/1.134, allocations: 205.1 MB / 0.6256 GB, free: 5.906 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.0008515/0.0008515, allocations: 91.84 kB / 0.7396 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.141e-05/1.152e-05, allocations: 4 kB / 0.859 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4468/0.4468, allocations: 116.3 MB / 0.9726 GB, free: 68.87 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1401/0.587, allocations: 137.7 MB / 1.107 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001783/0.5872, allocations: 66.36 kB / 1.107 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.00196/0.5891, allocations: 0.5225 MB / 1.108 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.5892, allocations: 0 / 1.108 GB, free: 10.32 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003994/0.5896, allocations: 366.4 kB / 1.108 GB, free: 9.914 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.5896, allocations: 12.69 kB / 1.108 GB, free: 9.902 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.762e-05/0.5896, allocations: 3.906 kB / 1.108 GB, free: 9.898 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.5898, allocations: 167 kB / 1.108 GB, free: 9.695 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.5898, allocations: 0 / 1.108 GB, free: 9.695 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.546e-06/0.5898, allocations: 2.734 kB / 1.108 GB, free: 9.695 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.838e-05/0.5899, allocations: 20 kB / 1.108 GB, free: 9.676 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.966e-05/0.59, allocations: 45.62 kB / 1.108 GB, free: 9.625 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.59, allocations: 0.5625 kB / 1.108 GB, free: 9.625 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.59, allocations: 4 kB / 1.108 GB, free: 9.621 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.377e-06/0.59, allocations: 0 / 1.108 GB, free: 9.621 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004476/0.5904, allocations: 293.3 kB / 1.108 GB, free: 9.297 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.907e-05/0.5905, allocations: 26.58 kB / 1.109 GB, free: 9.262 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.163e-05/0.5906, allocations: 16.86 kB / 1.109 GB, free: 9.242 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.147e-05/0.5906, allocations: 4.562 kB / 1.109 GB, free: 9.238 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.5906, allocations: 34.5 kB / 1.109 GB, free: 9.195 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.283e-06/0.5906, allocations: 0 / 1.109 GB, free: 9.195 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001493/0.5908, allocations: 53.69 kB / 1.109 GB, free: 9.137 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/0.5908, allocations: 51.41 kB / 1.109 GB, free: 9.074 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.781e-05/0.5909, allocations: 98.17 kB / 1.109 GB, free: 8.973 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.5909, allocations: 30.34 kB / 1.109 GB, free: 8.938 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.189e-05/0.5909, allocations: 88.14 kB / 1.109 GB, free: 8.848 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.44e-05/0.591, allocations: 11.81 kB / 1.109 GB, free: 8.836 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.007e-06/0.591, allocations: 0 / 1.109 GB, free: 8.836 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.744e-05/0.5911, allocations: 310.8 kB / 1.109 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.177e-05/0.5911, allocations: 12 kB / 1.109 GB, free: 8.512 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.962e-05/0.5911, allocations: 11.98 kB / 1.109 GB, free: 8.5 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.937e-05/0.5911, allocations: 4.844 kB / 1.109 GB, free: 8.496 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.5911, allocations: 0 / 1.109 GB, free: 8.496 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.556e-05/0.5912, allocations: 53.69 kB / 1.109 GB, free: 8.438 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.5912, allocations: 11.94 kB / 1.109 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.5913, allocations: 8.031 kB / 1.109 GB, free: 8.418 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.5913, allocations: 3.984 kB / 1.109 GB, free: 8.414 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.5914, allocations: 19.98 kB / 1.109 GB, free: 8.395 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.537e-06/0.5914, allocations: 0 / 1.109 GB, free: 8.395 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.822e-05/0.5915, allocations: 19.98 kB / 1.109 GB, free: 8.375 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.5915, allocations: 5.312 kB / 1.109 GB, free: 8.371 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: 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.882e-05/0.5916, allocations: 101 kB / 1.109 GB, free: 8.266 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.609e-05/0.5916, allocations: 3.906 kB / 1.109 GB, free: 8.262 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.744e-05/0.5917, allocations: 15.98 kB / 1.109 GB, free: 8.234 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.5917, allocations: 4 kB / 1.109 GB, free: 8.23 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.5917, allocations: 0 / 1.109 GB, free: 8.23 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.5917, allocations: 0 / 1.109 GB, free: 8.23 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001275/0.5918, allocations: 146.1 kB / 1.11 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.5918, allocations: 0 / 1.11 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001066/0.5919, allocations: 23.98 kB / 1.11 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.5919, allocations: 0 / 1.11 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.523e-06/0.5919, allocations: 0 / 1.11 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.592, allocations: 0 / 1.11 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.634e-06/0.592, allocations: 3.938 kB / 1.11 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001172/0.5921, allocations: 156.7 kB / 1.11 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.163e-05/0.5921, allocations: 85 kB / 1.11 GB, free: 7.754 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.5921, allocations: 4 kB / 1.11 GB, free: 7.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.5923, allocations: 19.98 kB / 1.11 GB, free: 7.73 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.217e-05/0.5923, allocations: 0 / 1.11 GB, free: 7.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.5923, allocations: 0 / 1.11 GB, free: 7.73 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.046e-05/0.5924, allocations: 93.92 kB / 1.11 GB, free: 7.641 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001934/0.5926, allocations: 7.938 kB / 1.11 GB, free: 7.633 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: 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.0001047/0.5927, allocations: 103.2 kB / 1.11 GB, free: 7.523 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.937e-05/0.5928, allocations: 23.94 kB / 1.11 GB, free: 7.5 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.5928, allocations: 0 / 1.11 GB, free: 7.5 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.924e-05/0.5928, allocations: 12 kB / 1.11 GB, free: 7.488 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000162/0.593, allocations: 11.86 kB / 1.11 GB, free: 7.48 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002111/0.5932, allocations: 79.62 kB / 1.11 GB, free: 7.379 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002448/0.5934, allocations: 0.6915 MB / 1.111 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/0.5934, allocations: 0 / 1.111 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of Templates: time 0.002091/0.5955, allocations: 0.6161 MB / 1.111 GB, free: 6.07 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe 2>&1)