Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.257/2.257, 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.001642/0.001642, allocations: 189.3 kB / 360.4 MB, free: 7.523 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.869/1.869, allocations: 205.1 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.001267/0.001266, allocations: 85.25 kB / 0.7318 GB, free: 45.08 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.111e-05/1.125e-05, allocations: 4 kB / 0.8503 GB, free: 3.91 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6161/0.6161, allocations: 115.2 MB / 0.9628 GB, free: 78.45 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2295/0.8457, allocations: 145.7 MB / 1.105 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004306/0.8461, allocations: 111.9 kB / 1.105 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.08037/0.9265, allocations: 17.45 MB / 1.122 GB, free: 9.664 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.756e-05/0.9266, allocations: 8 kB / 1.122 GB, free: 9.656 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.001062/0.9277, allocations: 0.5771 MB / 1.123 GB, free: 9.035 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.9277, allocations: 8.531 kB / 1.123 GB, free: 9.027 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001095/0.9279, allocations: 51.44 kB / 1.123 GB, free: 8.977 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006864/0.9286, allocations: 355.6 kB / 1.123 GB, free: 8.586 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/0.9286, allocations: 4 kB / 1.123 GB, free: 8.582 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.459e-05/0.9287, allocations: 19.98 kB / 1.123 GB, free: 8.562 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004428/0.9291, allocations: 130.1 kB / 1.123 GB, free: 8.438 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004803/0.9296, allocations: 146.5 kB / 1.123 GB, free: 8.289 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.9296, allocations: 4.219 kB / 1.123 GB, free: 8.285 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.015e-05/0.9297, allocations: 0 / 1.123 GB, free: 8.285 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.9297, allocations: 9.25 kB / 1.123 GB, free: 8.277 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001882/0.9316, allocations: 0.8229 MB / 1.124 GB, free: 7.395 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002914/0.9319, allocations: 105.9 kB / 1.124 GB, free: 7.285 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002459/0.9322, allocations: 96.84 kB / 1.124 GB, free: 7.188 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.9322, allocations: 0 / 1.124 GB, free: 7.188 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.9322, allocations: 34.86 kB / 1.125 GB, free: 7.145 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=18): time 2.594e-06/0.9323, allocations: 0 / 1.125 GB, free: 7.145 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18): time 0.0005033/0.9328, allocations: 162 kB / 1.125 GB, free: 6.98 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.9328, allocations: 55.41 kB / 1.125 GB, free: 6.914 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006758/0.9335, allocations: 334.1 kB / 1.125 GB, free: 6.578 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.418e-05/0.9335, allocations: 25.7 kB / 1.125 GB, free: 6.547 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.9337, allocations: 152.2 kB / 1.125 GB, free: 6.395 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.937e-05/0.9338, allocations: 59.11 kB / 1.125 GB, free: 6.336 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.176e-05/0.9338, allocations: 0 / 1.125 GB, free: 6.336 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.934, allocations: 348.5 kB / 1.126 GB, free: 5.988 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/0.9341, allocations: 36.34 kB / 1.126 GB, free: 5.953 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.9343, allocations: 47.95 kB / 1.126 GB, free: 5.906 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/0.9344, allocations: 46.73 kB / 1.126 GB, free: 5.863 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.9345, allocations: 4 kB / 1.126 GB, free: 5.859 MB / 0.7292 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004371/0.9349, allocations: 165.2 kB / 1.126 GB, free: 5.691 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.9349, allocations: 5.562 kB / 1.126 GB, free: 5.688 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.9349, allocations: 0 / 1.126 GB, free: 5.688 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.935, allocations: 0 / 1.126 GB, free: 5.688 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005228/0.9355, allocations: 59.91 kB / 1.126 GB, free: 5.629 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.9355, allocations: 4 kB / 1.126 GB, free: 5.625 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003202/0.9359, allocations: 24.7 kB / 1.126 GB, free: 5.602 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.915e-05/0.9359, allocations: 4 kB / 1.126 GB, free: 5.598 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 0.0001125/0.936, allocations: 112.8 kB / 1.126 GB, free: 5.48 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.895e-05/0.9361, allocations: 27.62 kB / 1.126 GB, free: 5.453 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000146/0.9363, allocations: 39.17 kB / 1.126 GB, free: 5.414 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.9363, allocations: 8 kB / 1.126 GB, free: 5.406 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.9363, allocations: 0 / 1.126 GB, free: 5.406 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.9363, allocations: 5.5 kB / 1.126 GB, free: 5.402 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006096/0.9369, allocations: 339.1 kB / 1.126 GB, free: 5.035 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.937, allocations: 0 / 1.126 GB, free: 5.035 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005625/0.9375, allocations: 55.97 kB / 1.127 GB, free: 4.98 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.9375, allocations: 0 / 1.127 GB, free: 4.98 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.112e-05/0.9376, allocations: 8 kB / 1.127 GB, free: 4.973 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.9376, allocations: 2.656 kB / 1.127 GB, free: 4.973 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.9376, allocations: 0 / 1.127 GB, free: 4.973 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006961/0.9383, allocations: 330.8 kB / 1.127 GB, free: 4.633 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001703/0.9385, allocations: 116.9 kB / 1.127 GB, free: 4.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.687e-05/0.9386, allocations: 6.031 kB / 1.127 GB, free: 4.496 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003217/0.9389, allocations: 16.05 kB / 1.127 GB, free: 4.48 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.044e-05/0.939, allocations: 7.984 kB / 1.127 GB, free: 4.473 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.939, allocations: 4 kB / 1.127 GB, free: 4.469 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0005142/0.9395, allocations: 264.6 kB / 1.127 GB, free: 4.215 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005039/0.9401, allocations: 71.78 kB / 1.127 GB, free: 4.145 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.0005831/0.9407, allocations: 272.7 kB / 1.128 GB, free: 3.879 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003789/0.9411, allocations: 112.9 kB / 1.128 GB, free: 3.77 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.9411, allocations: 0 / 1.128 GB, free: 3.77 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001699/0.9412, allocations: 59.94 kB / 1.128 GB, free: 3.711 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007851/0.942, allocations: 66.17 kB / 1.128 GB, free: 3.645 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001763/0.9438, allocations: 0.5132 MB / 1.128 GB, free: 3.113 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006245/0.9445, allocations: 0.8344 MB / 1.129 GB, free: 2.258 MB / 0.7292 GB Notification: Performance of SimCode: time 1.132e-06/0.9445, allocations: 0 / 1.129 GB, free: 2.258 MB / 0.7292 GB Notification: Performance of Templates: time 0.01413/0.9586, allocations: 3.616 MB / 1.133 GB, free: 14.76 MB / 0.7448 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)