Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.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.Continuous.Validation.MatrixGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain") [: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.325/1.325, allocations: 285.5 MB / 292.8 MB, free: 10.42 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.000928/0.000928, allocations: 177.3 kB / 361.1 MB, free: 7.105 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.051/1.051, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.0007558/0.0007558, allocations: 98.25 kB / 0.7326 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.726e-06/8.756e-06, allocations: 4 kB / 0.8511 GB, free: 2.965 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4445/0.4446, allocations: 115.3 MB / 0.9637 GB, free: 78.26 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1327/0.5773, allocations: 136.8 MB / 1.097 GB, free: 3.277 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001747/0.5775, allocations: 73.27 kB / 1.097 GB, free: 3.207 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.00381/0.5813, allocations: 1.111 MB / 1.098 GB, free: 2.148 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.899e-06/0.5813, allocations: 2.078 kB / 1.098 GB, free: 2.148 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005658/0.5819, allocations: 449.4 kB / 1.099 GB, free: 1.668 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.1e-05/0.582, allocations: 8.031 kB / 1.099 GB, free: 1.66 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.904e-05/0.582, allocations: 15.91 kB / 1.099 GB, free: 1.645 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001934/0.5822, allocations: 206.5 kB / 1.099 GB, free: 1.406 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.5822, allocations: 4 kB / 1.099 GB, free: 1.402 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.509e-05/0.5822, allocations: 3.938 kB / 1.099 GB, free: 1.398 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001908/0.5824, allocations: 100.5 kB / 1.099 GB, free: 1.301 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.5826, allocations: 111.4 kB / 1.099 GB, free: 1.18 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.5826, allocations: 0 / 1.099 GB, free: 1.18 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.5826, allocations: 0 / 1.099 GB, free: 1.18 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.5826, allocations: 0.6562 kB / 1.099 GB, free: 1.18 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007713/0.5834, allocations: 0.5013 MB / 1.1 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001913/0.5836, allocations: 121.2 kB / 1.1 GB, free: 0.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.026e-05/0.5837, allocations: 61.78 kB / 1.1 GB, free: 444 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.242e-05/0.5837, allocations: 4.984 kB / 1.1 GB, free: 440 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.795e-05/0.5838, allocations: 34.5 kB / 1.1 GB, free: 396 kB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.5838, allocations: 0 / 1.1 GB, free: 396 kB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0002683/0.584, allocations: 129.6 kB / 1.1 GB, free: 260 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.5841, allocations: 83.16 kB / 1.1 GB, free: 160 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.5842, allocations: 141.3 kB / 1.1 GB, free: 12 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.5842, allocations: 25.7 kB / 1.1 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.497e-05/0.5843, allocations: 96.06 kB / 1.1 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.788e-05/0.5843, allocations: 31.55 kB / 1.1 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.414e-06/0.5843, allocations: 0 / 1.1 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.254e-05/0.5844, allocations: 326.8 kB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.432e-05/0.5845, allocations: 39.98 kB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.798e-05/0.5846, allocations: 53.7 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.628e-05/0.5846, allocations: 60.55 kB / 1.101 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.5846, allocations: 0 / 1.101 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001827/0.5848, allocations: 126.3 kB / 1.101 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.836e-06/0.5848, allocations: 4 kB / 1.101 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.5849, allocations: 0 / 1.101 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.5849, allocations: 3.906 kB / 1.101 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002327/0.5851, allocations: 51.89 kB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.516e-06/0.5851, allocations: 0 / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001607/0.5853, allocations: 37.41 kB / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.5853, allocations: 0.7031 kB / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 6.174e-05/0.5854, allocations: 109 kB / 1.101 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.021e-05/0.5854, allocations: 11.81 kB / 1.101 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.106e-05/0.5855, allocations: 20.11 kB / 1.101 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.5855, allocations: 1.125 kB / 1.101 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.5855, allocations: 8 kB / 1.101 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.5855, allocations: 0 / 1.101 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002246/0.5857, allocations: 198.1 kB / 1.101 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.5857, allocations: 0.8438 kB / 1.101 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001991/0.5859, allocations: 47.91 kB / 1.101 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.5859, allocations: 0 / 1.101 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.586, allocations: 1.5 kB / 1.101 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.586, allocations: 2.266 kB / 1.101 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.586, allocations: 0 / 1.101 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00025/0.5862, allocations: 328.3 kB / 1.102 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.415e-05/0.5863, allocations: 88.86 kB / 1.102 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.281e-05/0.5863, allocations: 5.781 kB / 1.102 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002173/0.5865, allocations: 35.95 kB / 1.102 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.371e-05/0.5866, allocations: 8.547 kB / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-06/0.5866, allocations: 4 kB / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.393e-05/0.5867, allocations: 113.2 kB / 1.102 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000245/0.5869, allocations: 16 kB / 1.102 GB, free: 14.09 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.00011/0.587, allocations: 109.4 kB / 1.102 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001722/0.5872, allocations: 99.95 kB / 1.102 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.5872, allocations: 0 / 1.102 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.674e-05/0.5873, allocations: 63.91 kB / 1.102 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002087/0.5875, allocations: 7.906 kB / 1.102 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003749/0.5879, allocations: 185.7 kB / 1.103 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003196/0.5883, allocations: 0.7313 MB / 1.103 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of SimCode: time 3.11e-07/0.5883, allocations: 1.594 kB / 1.103 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of Templates: time 0.002833/0.5911, allocations: 1.191 MB / 1.104 GB, free: 11.7 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe 2>&1)