Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.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.Boreholes.BaseClasses.Examples.ConvectionResistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") [: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.552/1.552, allocations: 289.8 MB / 297.1 MB, free: 6.676 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.001121/0.001121, allocations: 181.3 kB / 366.3 MB, free: 1.941 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.493/1.493, allocations: 205.1 MB / 0.6256 GB, free: 5.793 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.0009932/0.0009931, allocations: 72.47 kB / 0.7395 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.059e-05/1.072e-05, allocations: 4 kB / 0.859 GB, free: 13.33 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6484/0.6484, allocations: 116.3 MB / 0.9726 GB, free: 68.34 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8288/1.477, allocations: 369.5 MB / 1.333 GB, free: 117.9 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002612/1.478, allocations: 94.12 kB / 1.334 GB, free: 117.8 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.03309/1.511, allocations: 16.05 MB / 1.349 GB, free: 105.2 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.456e-06/1.511, allocations: 0 / 1.349 GB, free: 105.2 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002701/1.511, allocations: 366.4 kB / 1.35 GB, free: 104.8 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/1.511, allocations: 11.97 kB / 1.35 GB, free: 104.8 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.152e-05/1.511, allocations: 15.59 kB / 1.35 GB, free: 104.8 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.98e-05/1.511, allocations: 159.1 kB / 1.35 GB, free: 104.6 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/1.511, allocations: 0.75 kB / 1.35 GB, free: 104.6 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/1.511, allocations: 0 / 1.35 GB, free: 104.6 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.554e-05/1.511, allocations: 4 kB / 1.35 GB, free: 104.6 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.565e-05/1.511, allocations: 33.69 kB / 1.35 GB, free: 104.5 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/1.511, allocations: 7.844 kB / 1.35 GB, free: 104.5 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.026e-06/1.511, allocations: 0 / 1.35 GB, free: 104.5 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/1.511, allocations: 0 / 1.35 GB, free: 104.5 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001137/1.512, allocations: 145.9 kB / 1.35 GB, free: 104.3 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.29e-05/1.512, allocations: 27.11 kB / 1.35 GB, free: 104.3 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.752e-05/1.512, allocations: 4.859 kB / 1.35 GB, free: 104.3 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002102/1.512, allocations: 100.8 kB / 1.35 GB, free: 104.2 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.444e-05/1.512, allocations: 30.56 kB / 1.35 GB, free: 104.1 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 2.976e-06/1.512, allocations: 7.984 kB / 1.35 GB, free: 104.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0002148/1.512, allocations: 49.58 kB / 1.35 GB, free: 104.1 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.77e-05/1.512, allocations: 52.72 kB / 1.35 GB, free: 104 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.31e-05/1.512, allocations: 96.61 kB / 1.35 GB, free: 103.9 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 7.133e-06/1.512, allocations: 25.7 kB / 1.35 GB, free: 103.9 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 1.407e-05/1.512, allocations: 84.14 kB / 1.35 GB, free: 103.8 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.999e-05/1.512, allocations: 3.906 kB / 1.35 GB, free: 103.8 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.355e-06/1.512, allocations: 0 / 1.35 GB, free: 103.8 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 4.369e-05/1.512, allocations: 318.5 kB / 1.351 GB, free: 103.5 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.108e-05/1.512, allocations: 4 kB / 1.351 GB, free: 103.5 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.604e-06/1.512, allocations: 3.938 kB / 1.351 GB, free: 103.5 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.398e-05/1.512, allocations: 15.97 kB / 1.351 GB, free: 103.4 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/1.512, allocations: 0 / 1.351 GB, free: 103.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001164/1.513, allocations: 53.55 kB / 1.351 GB, free: 103.4 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/1.513, allocations: 4 kB / 1.351 GB, free: 103.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/1.513, allocations: 0 / 1.351 GB, free: 103.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/1.513, allocations: 4.469 kB / 1.351 GB, free: 103.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.849e-05/1.513, allocations: 4.094 kB / 1.351 GB, free: 103.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/1.513, allocations: 4 kB / 1.351 GB, free: 103.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.648e-05/1.513, allocations: 0 / 1.351 GB, free: 103.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.157e-06/1.513, allocations: 0 / 1.351 GB, free: 103.4 MB / 0.823 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 (2): * Single equations (assignments): 2 * 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 3.844e-05/1.513, allocations: 105 kB / 1.351 GB, free: 103.3 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.145e-06/1.513, allocations: 4.469 kB / 1.351 GB, free: 103.3 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001611/1.513, allocations: 65.53 kB / 1.351 GB, free: 103.2 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/1.513, allocations: 4.031 kB / 1.351 GB, free: 103.2 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/1.513, allocations: 256 / 1.351 GB, free: 103.2 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/1.513, allocations: 0.5625 kB / 1.351 GB, free: 103.2 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.489e-05/1.513, allocations: 138.2 kB / 1.351 GB, free: 103 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/1.513, allocations: 0 / 1.351 GB, free: 103 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.168e-05/1.513, allocations: 4 kB / 1.351 GB, free: 103 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/1.513, allocations: 0 / 1.351 GB, free: 103 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.643e-06/1.513, allocations: 3.906 kB / 1.351 GB, free: 103 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/1.513, allocations: 5.031 kB / 1.351 GB, free: 103 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/1.513, allocations: 2.266 kB / 1.351 GB, free: 103 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001211/1.513, allocations: 72.67 kB / 1.351 GB, free: 102.9 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.687e-05/1.513, allocations: 89 kB / 1.351 GB, free: 102.8 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/1.513, allocations: 0 / 1.351 GB, free: 102.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.594e-05/1.513, allocations: 0 / 1.351 GB, free: 102.8 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.731e-05/1.513, allocations: 3.938 kB / 1.351 GB, free: 102.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-06/1.513, allocations: 4 kB / 1.351 GB, free: 102.8 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.767e-05/1.513, allocations: 78.84 kB / 1.351 GB, free: 102.7 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002417/1.514, allocations: 27.94 kB / 1.351 GB, free: 102.7 MB / 0.823 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 (2): * Single equations (assignments): 2 * 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.0002149/1.514, allocations: 159.9 kB / 1.351 GB, free: 102.6 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 6.556e-05/1.514, allocations: 11.86 kB / 1.352 GB, free: 102.5 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/1.514, allocations: 0 / 1.352 GB, free: 102.5 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 8.596e-06/1.514, allocations: 4 kB / 1.352 GB, free: 102.5 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001175/1.514, allocations: 8.766 kB / 1.352 GB, free: 102.5 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001718/1.514, allocations: 56.88 kB / 1.352 GB, free: 102.5 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/1.514, allocations: 0.6959 MB / 1.352 GB, free: 101.7 MB / 0.823 GB Notification: Performance of SimCode: time 2.3e-07/1.514, allocations: 0 / 1.352 GB, free: 101.7 MB / 0.823 GB Notification: Performance of Templates: time 0.002786/1.517, allocations: 0.9746 MB / 1.353 GB, free: 100.8 MB / 0.823 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1)