Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset.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.SetPoints.Validation.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset") [: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.328/2.328, allocations: 253.1 MB / 260.4 MB, free: 7.527 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.001861/0.001859, allocations: 181.2 kB / 319.6 MB, free: 3.309 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.145/2.145, allocations: 205.4 MB / 0.5704 GB, free: 15.11 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.00139/0.001389, allocations: 94.47 kB / 0.6746 GB, free: 4.48 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.213e-05/1.253e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2404/0.2405, allocations: 106.3 MB / 0.8881 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8057/1.046, allocations: 132.2 MB / 1.017 GB, free: 6.18 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002944/1.047, allocations: 73.06 kB / 1.017 GB, free: 6.141 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.01102/1.058, allocations: 1.796 MB / 1.019 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.523e-05/1.058, allocations: 4 kB / 1.019 GB, free: 4.617 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001255/1.059, allocations: 452.4 kB / 1.019 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/1.059, allocations: 8.031 kB / 1.019 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.944e-05/1.059, allocations: 23.42 kB / 1.019 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002393/1.059, allocations: 182.8 kB / 1.02 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/1.059, allocations: 4 kB / 1.02 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.563e-05/1.059, allocations: 8 kB / 1.02 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002938/1.06, allocations: 73.05 kB / 1.02 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003007/1.06, allocations: 110.3 kB / 1.02 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/1.06, allocations: 0 / 1.02 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.617e-05/1.06, allocations: 3.984 kB / 1.02 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/1.06, allocations: 3.938 kB / 1.02 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001245/1.061, allocations: 482.3 kB / 1.02 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004998/1.062, allocations: 123.1 kB / 1.02 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001545/1.062, allocations: 43.22 kB / 1.02 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.786e-05/1.062, allocations: 0 / 1.02 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002509/1.062, allocations: 111 kB / 1.021 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=12): time 1.974e-06/1.062, allocations: 0 / 1.021 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12): time 0.0005131/1.063, allocations: 118.2 kB / 1.021 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.01e-05/1.063, allocations: 85.03 kB / 1.021 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002255/1.063, allocations: 142 kB / 1.021 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.272e-05/1.063, allocations: 25.7 kB / 1.021 GB, free: 2.648 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.714e-05/1.063, allocations: 106.9 kB / 1.021 GB, free: 2.547 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.364e-05/1.063, allocations: 34.7 kB / 1.021 GB, free: 2.516 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.495e-05/1.064, allocations: 0 / 1.021 GB, free: 2.516 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001699/1.064, allocations: 325.4 kB / 1.021 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/1.064, allocations: 38.44 kB / 1.021 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001547/1.064, allocations: 49.39 kB / 1.021 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/1.064, allocations: 37.92 kB / 1.021 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/1.064, allocations: 0 / 1.021 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004373/1.065, allocations: 136.6 kB / 1.022 GB, free: 2 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/1.065, allocations: 4 kB / 1.022 GB, free: 1.996 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/1.065, allocations: 4 kB / 1.022 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.228e-05/1.065, allocations: 3.984 kB / 1.022 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004876/1.065, allocations: 39.98 kB / 1.022 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/1.065, allocations: 7.891 kB / 1.022 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003895/1.066, allocations: 23.98 kB / 1.022 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.841e-05/1.066, allocations: 4 kB / 1.022 GB, free: 1.914 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.TRoo1.T_start,TRoo1.T_start,$PRE.TRoo1.count,TRoo1.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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 0.0001899/1.066, allocations: 116.5 kB / 1.022 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.206e-05/1.066, allocations: 11.91 kB / 1.022 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005245/1.066, allocations: 135.5 kB / 1.022 GB, free: 1.676 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/1.067, allocations: 7.938 kB / 1.022 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/1.067, allocations: 3.984 kB / 1.022 GB, free: 1.664 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/1.067, allocations: 0 / 1.022 GB, free: 1.664 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003622/1.067, allocations: 206.2 kB / 1.022 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/1.067, allocations: 192 / 1.022 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000409/1.067, allocations: 39.36 kB / 1.022 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.556e-06/1.067, allocations: 0 / 1.022 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.636e-05/1.067, allocations: 4 kB / 1.022 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.221e-06/1.067, allocations: 3.984 kB / 1.022 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/1.067, allocations: 0 / 1.022 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004123/1.068, allocations: 170 kB / 1.022 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.099e-05/1.068, allocations: 88.92 kB / 1.022 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.388e-05/1.068, allocations: 0 / 1.022 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003544/1.068, allocations: 19.98 kB / 1.022 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/1.069, allocations: 23.41 kB / 1.022 GB, free: 1.09 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.784e-05/1.069, allocations: 4 kB / 1.022 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001379/1.069, allocations: 119.6 kB / 1.023 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003716/1.069, allocations: 43.83 kB / 1.023 GB, free: 0.9414 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,TRoo1.T_start,TRoo1.count) * Number of discrete states: 1 (TRoo1.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001892/1.069, allocations: 95.25 kB / 1.023 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003745/1.07, allocations: 96.94 kB / 1.023 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/1.07, allocations: 0 / 1.023 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001971/1.07, allocations: 60.61 kB / 1.023 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005473/1.07, allocations: 27.42 kB / 1.023 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008233/1.071, allocations: 192.2 kB / 1.023 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000546/1.072, allocations: 0.7349 MB / 1.024 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of SimCode: time 1.152e-06/1.072, allocations: 0 / 1.024 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of Templates: time 0.009575/1.081, allocations: 2.405 MB / 1.026 GB, free: 13.42 MB / 0.6511 GB