Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") [: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 8.0.0/package.mo): time 2.299/2.299, allocations: 284.9 MB / 292.2 MB, free: 10.75 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001591/0.001591, allocations: 177.3 kB / 360.4 MB, free: 7.516 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.804/1.804, allocations: 205.2 MB / 0.6188 GB, free: 13.18 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001253/0.001252, allocations: 76.55 kB / 0.7318 GB, free: 45.1 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.199e-05/1.216e-05, allocations: 4 kB / 0.8503 GB, free: 3.965 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6503/0.6503, allocations: 115.2 MB / 0.9628 GB, free: 78.6 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2254/0.8757, allocations: 137.2 MB / 1.097 GB, free: 3.641 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003445/0.8762, allocations: 87.94 kB / 1.097 GB, free: 3.559 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.0181/0.8943, allocations: 3.434 MB / 1.1 GB, free: 188 kB / 0.698 GB Notification: Performance of Transformations before backend: time 8.246e-06/0.8943, allocations: 0 / 1.1 GB, free: 188 kB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004096/0.8948, allocations: 341.9 kB / 1.101 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.8948, allocations: 13.41 kB / 1.101 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.086e-05/0.8949, allocations: 0 / 1.101 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001651/0.8951, allocations: 171.6 kB / 1.101 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.8951, allocations: 0 / 1.101 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.584e-05/0.8951, allocations: 4.719 kB / 1.101 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.69e-05/0.8952, allocations: 15.94 kB / 1.101 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.8953, allocations: 46.95 kB / 1.101 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.8954, allocations: 4 kB / 1.101 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.8954, allocations: 0.8125 kB / 1.101 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.8954, allocations: 1.688 kB / 1.101 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00016/0.8956, allocations: 134.7 kB / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.507e-05/0.8957, allocations: 27.3 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.804e-05/0.8957, allocations: 9.734 kB / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.706e-06/0.8957, allocations: 4.5 kB / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/0.8958, allocations: 31.88 kB / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 1.483e-06/0.8958, allocations: 0 / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0002427/0.8961, allocations: 62.12 kB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.826e-05/0.8961, allocations: 82.12 kB / 1.101 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.089e-05/0.8962, allocations: 89.94 kB / 1.101 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/0.8963, allocations: 25.7 kB / 1.101 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.241e-05/0.8963, allocations: 80.86 kB / 1.101 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.733e-05/0.8963, allocations: 15.78 kB / 1.101 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.033e-05/0.8964, allocations: 0.5938 kB / 1.101 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.8965, allocations: 315.7 kB / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.008e-05/0.8966, allocations: 8 kB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.862e-05/0.8966, allocations: 12.58 kB / 1.102 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.975e-05/0.8967, allocations: 5.062 kB / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.8967, allocations: 0.6562 kB / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000167/0.8969, allocations: 54.5 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.8969, allocations: 7.938 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.597e-06/0.8969, allocations: 4.719 kB / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.8969, allocations: 0 / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.984e-06/0.8969, allocations: 1.188 kB / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.897, allocations: 5 kB / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002343/0.8972, allocations: 14.2 kB / 1.102 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.233e-05/0.8972, allocations: 4 kB / 1.102 GB, free: 14.44 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001265/0.8974, allocations: 139 kB / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.81e-05/0.8974, allocations: 12.62 kB / 1.102 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.725e-05/0.8974, allocations: 3.406 kB / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/0.8975, allocations: 7.906 kB / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.8975, allocations: 0 / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.8975, allocations: 0 / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001181/0.8976, allocations: 130.2 kB / 1.102 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.8976, allocations: 0 / 1.102 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.92e-07/0.8976, allocations: 0 / 1.102 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.8976, allocations: 4 kB / 1.102 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.13e-05/0.8977, allocations: 4 kB / 1.102 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.8977, allocations: 0 / 1.102 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.8977, allocations: 1.625 kB / 1.102 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001955/0.8979, allocations: 89.02 kB / 1.102 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.929e-05/0.898, allocations: 85.05 kB / 1.102 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.987e-05/0.898, allocations: 4 kB / 1.102 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002043/0.8983, allocations: 7.984 kB / 1.102 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.109e-05/0.8983, allocations: 3.906 kB / 1.102 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.81e-05/0.8983, allocations: 4 kB / 1.102 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.723e-05/0.8984, allocations: 79.81 kB / 1.102 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002809/0.8987, allocations: 15.94 kB / 1.102 GB, free: 13.77 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0003086/0.899, allocations: 114 kB / 1.102 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001687/0.8992, allocations: 49.7 kB / 1.102 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.8992, allocations: 160 / 1.102 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.989e-05/0.8993, allocations: 41.7 kB / 1.102 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001355/0.8994, allocations: 6.047 kB / 1.102 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000799/0.9002, allocations: 158.7 kB / 1.103 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003274/0.9006, allocations: 0.6841 MB / 1.103 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of SimCode: time 9.21e-07/0.9006, allocations: 1.031 kB / 1.103 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of Templates: time 0.004535/0.9051, allocations: 0.9797 MB / 1.104 GB, free: 11.75 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & ./Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1)