Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") [: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.571/1.571, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.001427/0.001427, allocations: 185.2 kB / 361.1 MB, free: 7.109 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.435/1.435, allocations: 205.1 MB / 0.6195 GB, free: 10.32 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.0008809/0.0008809, allocations: 87.77 kB / 0.7325 GB, free: 44.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.157e-06/9.187e-06, allocations: 4 kB / 0.8511 GB, free: 2.977 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6078/0.6078, allocations: 115.3 MB / 0.9637 GB, free: 78.4 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1858/0.7937, allocations: 145.8 MB / 1.106 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002973/0.7941, allocations: 108 kB / 1.106 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.05171/0.8458, allocations: 17.45 MB / 1.123 GB, free: 8.715 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.357e-05/0.8459, allocations: 8 kB / 1.123 GB, free: 8.707 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001201/0.8471, allocations: 0.5797 MB / 1.124 GB, free: 8.082 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.858e-05/0.8472, allocations: 12.53 kB / 1.124 GB, free: 8.07 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001851/0.8474, allocations: 43.44 kB / 1.124 GB, free: 8.027 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009507/0.8483, allocations: 351.6 kB / 1.124 GB, free: 7.641 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.65e-05/0.8484, allocations: 8 kB / 1.124 GB, free: 7.633 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.741e-05/0.8484, allocations: 12 kB / 1.124 GB, free: 7.621 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003572/0.8488, allocations: 128.8 kB / 1.124 GB, free: 7.496 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003464/0.8492, allocations: 150.7 kB / 1.125 GB, free: 7.344 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/0.8492, allocations: 0 / 1.125 GB, free: 7.344 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.105e-05/0.8492, allocations: 3.938 kB / 1.125 GB, free: 7.34 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.282e-05/0.8492, allocations: 8 kB / 1.125 GB, free: 7.332 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00138/0.8506, allocations: 0.8229 MB / 1.125 GB, free: 6.449 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001843/0.8508, allocations: 109.9 kB / 1.125 GB, free: 6.336 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001558/0.851, allocations: 92.84 kB / 1.126 GB, free: 6.242 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.851, allocations: 4 kB / 1.126 GB, free: 6.238 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.8511, allocations: 30.88 kB / 1.126 GB, free: 6.199 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=18): time 3.817e-06/0.8511, allocations: 0 / 1.126 GB, free: 6.199 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18): time 0.0003672/0.8514, allocations: 165 kB / 1.126 GB, free: 6.031 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.981e-05/0.8515, allocations: 55.41 kB / 1.126 GB, free: 5.965 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004691/0.852, allocations: 326.8 kB / 1.126 GB, free: 5.637 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/0.852, allocations: 25.7 kB / 1.126 GB, free: 5.605 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.812e-05/0.8521, allocations: 152.2 kB / 1.126 GB, free: 5.453 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.706e-05/0.8522, allocations: 59.11 kB / 1.126 GB, free: 5.395 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.534e-06/0.8522, allocations: 0 / 1.126 GB, free: 5.395 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.8523, allocations: 350.8 kB / 1.127 GB, free: 5.043 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.962e-05/0.8524, allocations: 36 kB / 1.127 GB, free: 5.008 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.83e-05/0.8525, allocations: 38.75 kB / 1.127 GB, free: 4.973 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.231e-05/0.8526, allocations: 56.69 kB / 1.127 GB, free: 4.918 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.8526, allocations: 0 / 1.127 GB, free: 4.918 MB / 0.7292 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002661/0.8529, allocations: 169.1 kB / 1.127 GB, free: 4.746 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.8529, allocations: 10.19 kB / 1.127 GB, free: 4.738 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.8529, allocations: 1.125 kB / 1.127 GB, free: 4.738 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.8529, allocations: 0 / 1.127 GB, free: 4.738 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000299/0.8532, allocations: 59.95 kB / 1.127 GB, free: 4.68 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.8533, allocations: 4 kB / 1.127 GB, free: 4.676 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001911/0.8535, allocations: 24.67 kB / 1.127 GB, free: 4.652 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.8535, allocations: 4 kB / 1.127 GB, free: 4.648 MB / 0.7292 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 (20): * Single equations (assignments): 20 * 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.693e-05/0.8536, allocations: 115.2 kB / 1.127 GB, free: 4.531 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.698e-05/0.8536, allocations: 31.62 kB / 1.127 GB, free: 4.5 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.32e-05/0.8537, allocations: 39.19 kB / 1.127 GB, free: 4.461 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.8538, allocations: 0 / 1.127 GB, free: 4.461 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.8538, allocations: 4 kB / 1.127 GB, free: 4.457 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.8538, allocations: 13.45 kB / 1.127 GB, free: 4.445 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004091/0.8542, allocations: 329.8 kB / 1.128 GB, free: 4.086 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.8542, allocations: 4.562 kB / 1.128 GB, free: 4.082 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002884/0.8545, allocations: 59.95 kB / 1.128 GB, free: 4.023 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.8545, allocations: 4 kB / 1.128 GB, free: 4.02 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.8545, allocations: 0 / 1.128 GB, free: 4.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.8545, allocations: 0 / 1.128 GB, free: 4.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.8546, allocations: 7.938 kB / 1.128 GB, free: 4.012 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005067/0.8551, allocations: 319.6 kB / 1.128 GB, free: 3.684 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.8552, allocations: 112.9 kB / 1.128 GB, free: 3.555 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.824e-05/0.8553, allocations: 3.906 kB / 1.128 GB, free: 3.551 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000199/0.8555, allocations: 20.92 kB / 1.128 GB, free: 3.531 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.017e-05/0.8555, allocations: 7.984 kB / 1.128 GB, free: 3.523 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.607e-06/0.8555, allocations: 0 / 1.128 GB, free: 3.523 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0003305/0.8559, allocations: 264.6 kB / 1.128 GB, free: 3.27 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003771/0.8563, allocations: 80.42 kB / 1.128 GB, free: 3.191 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.0004819/0.8568, allocations: 263.1 kB / 1.129 GB, free: 2.934 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002538/0.857, allocations: 108 kB / 1.129 GB, free: 2.828 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.857, allocations: 1.5 kB / 1.129 GB, free: 2.828 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.617e-05/0.8571, allocations: 59.94 kB / 1.129 GB, free: 2.77 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004998/0.8576, allocations: 74.06 kB / 1.129 GB, free: 2.703 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.8588, allocations: 0.5247 MB / 1.129 GB, free: 2.16 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004538/0.8593, allocations: 0.8298 MB / 1.13 GB, free: 1.309 MB / 0.7292 GB Notification: Performance of SimCode: time 4.61e-07/0.8593, allocations: 0 / 1.13 GB, free: 1.309 MB / 0.7292 GB Notification: Performance of Templates: time 0.008694/0.868, allocations: 3.621 MB / 1.134 GB, free: 13.81 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)