Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.23/2.23, allocations: 253.1 MB / 260.4 MB, free: 7.539 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00223/0.00223, allocations: 177 kB / 319.6 MB, free: 3.34 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.052/2.052, allocations: 205.4 MB / 0.5704 GB, free: 15.08 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001351/0.00135, allocations: 92.34 kB / 0.6746 GB, free: 4.43 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.24e-05/1.264e-05, allocations: 8 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2122, allocations: 106.2 MB / 0.8881 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6864/0.8986, allocations: 131.4 MB / 1.016 GB, free: 6.91 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002687/0.899, allocations: 64.7 kB / 1.016 GB, free: 6.875 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.003522/0.9025, allocations: 0.5443 MB / 1.017 GB, free: 6.398 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.017e-06/0.9026, allocations: 0 / 1.017 GB, free: 6.398 MB / 0.6355 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.0006561/0.9032, allocations: 371.4 kB / 1.017 GB, free: 5.996 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.9033, allocations: 8.031 kB / 1.017 GB, free: 5.988 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.986e-05/0.9033, allocations: 7.906 kB / 1.017 GB, free: 5.98 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.9035, allocations: 163.1 kB / 1.018 GB, free: 5.781 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.9035, allocations: 7.938 kB / 1.018 GB, free: 5.773 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.264e-05/0.9036, allocations: 0 / 1.018 GB, free: 5.773 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001207/0.9037, allocations: 15.56 kB / 1.018 GB, free: 5.766 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.9038, allocations: 45.91 kB / 1.018 GB, free: 5.719 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.9039, allocations: 0 / 1.018 GB, free: 5.719 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.9039, allocations: 4 kB / 1.018 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.9039, allocations: 3.984 kB / 1.018 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007306/0.9046, allocations: 287 kB / 1.018 GB, free: 5.406 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.9048, allocations: 36.83 kB / 1.018 GB, free: 5.367 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.15e-05/0.9048, allocations: 12.05 kB / 1.018 GB, free: 5.355 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.9048, allocations: 0 / 1.018 GB, free: 5.355 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/0.9049, allocations: 34.56 kB / 1.018 GB, free: 5.312 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.503e-06/0.9049, allocations: 2.625 kB / 1.018 GB, free: 5.312 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.000224/0.9051, allocations: 52.91 kB / 1.018 GB, free: 5.262 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/0.9052, allocations: 51.41 kB / 1.018 GB, free: 5.199 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.9053, allocations: 101.3 kB / 1.018 GB, free: 5.098 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.9053, allocations: 25.7 kB / 1.018 GB, free: 5.066 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.499e-05/0.9054, allocations: 87.62 kB / 1.018 GB, free: 4.98 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.403e-05/0.9054, allocations: 7.906 kB / 1.018 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.981e-06/0.9054, allocations: 0 / 1.018 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.9056, allocations: 314.3 kB / 1.019 GB, free: 4.66 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.005e-05/0.9057, allocations: 11.94 kB / 1.019 GB, free: 4.648 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.705e-05/0.9057, allocations: 7.438 kB / 1.019 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.783e-05/0.9057, allocations: 11.23 kB / 1.019 GB, free: 4.637 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.9058, allocations: 3.938 kB / 1.019 GB, free: 4.633 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001336/0.9059, allocations: 51.73 kB / 1.019 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.9059, allocations: 4 kB / 1.019 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.9059, allocations: 0.875 kB / 1.019 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.906, allocations: 0 / 1.019 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002598/0.9062, allocations: 27.97 kB / 1.019 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.758e-06/0.9063, allocations: 4 kB / 1.019 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001795/0.9064, allocations: 27.08 kB / 1.019 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.9065, allocations: 0 / 1.019 GB, free: 4.523 MB / 0.6355 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 8.689e-05/0.9066, allocations: 101 kB / 1.019 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.848e-05/0.9066, allocations: 4 kB / 1.019 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.144e-05/0.9067, allocations: 7.906 kB / 1.019 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.9067, allocations: 7.922 kB / 1.019 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.9067, allocations: 0.875 kB / 1.019 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.9067, allocations: 4 kB / 1.019 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002123/0.907, allocations: 148.6 kB / 1.019 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.907, allocations: 4 kB / 1.019 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002006/0.9072, allocations: 19.98 kB / 1.019 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.264e-06/0.9072, allocations: 4 kB / 1.019 GB, free: 4.188 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.9072, allocations: 4 kB / 1.019 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.9072, allocations: 3.906 kB / 1.019 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.9072, allocations: 4 kB / 1.019 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001949/0.9075, allocations: 146.5 kB / 1.019 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.23e-05/0.9075, allocations: 81.02 kB / 1.019 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.298e-05/0.9076, allocations: 3.984 kB / 1.019 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002184/0.9078, allocations: 19.98 kB / 1.019 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.067e-05/0.9078, allocations: 4 kB / 1.019 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.633e-06/0.9079, allocations: 240 / 1.019 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.241e-05/0.9079, allocations: 86.83 kB / 1.019 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003006/0.9082, allocations: 15.84 kB / 1.019 GB, free: 3.805 MB / 0.6355 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.0001639/0.9084, allocations: 95.25 kB / 1.019 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001366/0.9086, allocations: 32.56 kB / 1.019 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.9086, allocations: 0 / 1.019 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.4e-05/0.9086, allocations: 11.41 kB / 1.019 GB, free: 3.672 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.9089, allocations: 2.188 kB / 1.019 GB, free: 3.672 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003185/0.9092, allocations: 81.95 kB / 1.02 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004084/0.9097, allocations: 0.6993 MB / 1.02 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of SimCode: time 9.92e-07/0.9097, allocations: 11.88 kB / 1.02 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of Templates: time 0.003488/0.9132, allocations: 0.6062 MB / 1.021 GB, free: 2.246 MB / 0.6355 GB