Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.1.4-maint.8.1.x/package.mo): time 1.567/1.567, allocations: 289.8 MB / 297.1 MB, free: 6.684 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.001203/0.001203, allocations: 187.8 kB / 366.3 MB, free: 1.98 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.44/1.44, allocations: 205.1 MB / 0.6256 GB, free: 5.816 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.0008552/0.0008551, allocations: 97.59 kB / 0.7396 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.067e-06/9.267e-06, allocations: 0 / 0.859 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6754/0.6754, allocations: 116.3 MB / 0.9726 GB, free: 68.45 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1898/0.8652, allocations: 146.8 MB / 1.116 GB, free: 1.664 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002891/0.8656, allocations: 108.4 kB / 1.116 GB, free: 1.559 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.04971/0.9153, allocations: 17.46 MB / 1.133 GB, free: 84 kB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.457e-05/0.9153, allocations: 8 kB / 1.133 GB, free: 76 kB / 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.0008255/0.9162, allocations: 0.5757 MB / 1.134 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.9162, allocations: 8.031 kB / 1.134 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.607e-05/0.9163, allocations: 43.44 kB / 1.134 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005576/0.9169, allocations: 355.7 kB / 1.134 GB, free: 15.01 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.9169, allocations: 11.98 kB / 1.134 GB, free: 15 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.029e-05/0.917, allocations: 12 kB / 1.134 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002927/0.9173, allocations: 124.8 kB / 1.134 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002797/0.9176, allocations: 150.7 kB / 1.134 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.9176, allocations: 0 / 1.134 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.07e-05/0.9176, allocations: 3.938 kB / 1.134 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.9176, allocations: 11.94 kB / 1.134 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001267/0.9189, allocations: 0.8269 MB / 1.135 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001768/0.9191, allocations: 109.9 kB / 1.135 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001518/0.9193, allocations: 84.86 kB / 1.135 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-05/0.9193, allocations: 10.19 kB / 1.135 GB, free: 13.6 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.9193, allocations: 34.88 kB / 1.135 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 1.453e-06/0.9193, allocations: 0 / 1.135 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18): time 0.0003638/0.9197, allocations: 162.5 kB / 1.136 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.9198, allocations: 51.41 kB / 1.136 GB, free: 13.33 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004312/0.9202, allocations: 330.1 kB / 1.136 GB, free: 13 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.9202, allocations: 29.7 kB / 1.136 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.936e-05/0.9203, allocations: 148.2 kB / 1.136 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.936e-05/0.9204, allocations: 63.09 kB / 1.136 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.113e-06/0.9204, allocations: 0 / 1.136 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.9206, allocations: 346.8 kB / 1.136 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.194e-05/0.9206, allocations: 40 kB / 1.137 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.753e-05/0.9207, allocations: 39.09 kB / 1.137 GB, free: 12.33 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.281e-05/0.9208, allocations: 51.94 kB / 1.137 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.9208, allocations: 0 / 1.137 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000254/0.9211, allocations: 169.2 kB / 1.137 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.9211, allocations: 8 kB / 1.137 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.9211, allocations: 3.984 kB / 1.137 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.9211, allocations: 0 / 1.137 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000296/0.9214, allocations: 51.97 kB / 1.137 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.9215, allocations: 0 / 1.137 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001712/0.9216, allocations: 27.83 kB / 1.137 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.9217, allocations: 8 kB / 1.137 GB, free: 12.01 MB / 0.7448 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 0.0001048/0.9218, allocations: 108.8 kB / 1.137 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.355e-05/0.9218, allocations: 32.38 kB / 1.137 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.21e-05/0.9219, allocations: 35.19 kB / 1.137 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.922, allocations: 0 / 1.137 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.922, allocations: 8 kB / 1.137 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.922, allocations: 11.83 kB / 1.137 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004355/0.9224, allocations: 325.9 kB / 1.137 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.9224, allocations: 3.984 kB / 1.137 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000278/0.9227, allocations: 59.91 kB / 1.137 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.9227, allocations: 0.5625 kB / 1.137 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.9228, allocations: 0 / 1.137 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.9228, allocations: 4 kB / 1.137 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.9228, allocations: 0 / 1.137 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004096/0.9232, allocations: 332.4 kB / 1.138 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/0.9233, allocations: 112.9 kB / 1.138 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.122e-05/0.9234, allocations: 4.469 kB / 1.138 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001876/0.9236, allocations: 23.98 kB / 1.138 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.142e-05/0.9236, allocations: 11.98 kB / 1.138 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.9236, allocations: 0 / 1.138 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0002839/0.9239, allocations: 264.6 kB / 1.138 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003421/0.9243, allocations: 79.84 kB / 1.138 GB, free: 10.55 MB / 0.7448 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.0004258/0.9247, allocations: 269.4 kB / 1.138 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000224/0.9249, allocations: 107.9 kB / 1.139 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.925, allocations: 0 / 1.139 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.681e-05/0.9251, allocations: 69.02 kB / 1.139 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004712/0.9255, allocations: 68.62 kB / 1.139 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.9268, allocations: 0.515 MB / 1.139 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005276/0.9273, allocations: 0.839 MB / 1.14 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of SimCode: time 3.21e-07/0.9273, allocations: 0 / 1.14 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of Templates: time 0.008748/0.9361, allocations: 3.605 MB / 1.144 GB, free: 5.137 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)