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.Functions.Validation.ConvectionResistanceCircularPipe.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.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") [: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.568/1.568, 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.001233/0.001233, allocations: 173.3 kB / 361.1 MB, free: 7.129 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.546/1.546, allocations: 205.1 MB / 0.6195 GB, free: 10.33 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.001044/0.001044, allocations: 97.75 kB / 0.7326 GB, free: 44.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.108e-06/9.127e-06, allocations: 0 / 0.8511 GB, free: 2.961 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6904/0.6905, allocations: 115.3 MB / 0.9637 GB, free: 78.45 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1811/0.8716, allocations: 141.5 MB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003742/0.8721, allocations: 113.3 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.02809/0.9002, allocations: 5.798 MB / 1.108 GB, free: 8.77 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.488e-06/0.9003, allocations: 3.938 kB / 1.108 GB, free: 8.766 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006409/0.9009, allocations: 386.2 kB / 1.108 GB, free: 8.344 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.957e-05/0.901, allocations: 8.531 kB / 1.108 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.448e-05/0.901, allocations: 7.906 kB / 1.108 GB, free: 8.328 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001876/0.9012, allocations: 172.4 kB / 1.108 GB, free: 8.121 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.9013, allocations: 4 kB / 1.108 GB, free: 8.117 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/0.9013, allocations: 4 kB / 1.108 GB, free: 8.113 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.796e-05/0.9014, allocations: 11.94 kB / 1.108 GB, free: 8.102 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/0.9015, allocations: 37.69 kB / 1.108 GB, free: 8.059 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.9015, allocations: 0 / 1.108 GB, free: 8.059 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.9015, allocations: 0 / 1.108 GB, free: 8.059 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.9016, allocations: 4 kB / 1.108 GB, free: 8.055 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002396/0.9018, allocations: 134.2 kB / 1.108 GB, free: 7.887 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000116/0.9019, allocations: 38.58 kB / 1.108 GB, free: 7.84 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.664e-05/0.902, allocations: 13.89 kB / 1.108 GB, free: 7.824 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001215/0.9032, allocations: 0.9818 MB / 1.109 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.9033, allocations: 34.56 kB / 1.109 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 3.426e-06/0.9033, allocations: 0 / 1.109 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0002341/0.9035, allocations: 53.62 kB / 1.11 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.89e-05/0.9036, allocations: 55.16 kB / 1.11 GB, free: 6.457 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.9037, allocations: 97.53 kB / 1.11 GB, free: 6.355 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.9037, allocations: 25.7 kB / 1.11 GB, free: 6.324 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.171e-05/0.9038, allocations: 84.83 kB / 1.11 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.653e-05/0.9038, allocations: 15.75 kB / 1.11 GB, free: 6.223 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-06/0.9038, allocations: 4 kB / 1.11 GB, free: 6.219 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.904, allocations: 318.8 kB / 1.11 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.974e-05/0.904, allocations: 4 kB / 1.11 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.531e-05/0.904, allocations: 8.031 kB / 1.11 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.197e-05/0.9041, allocations: 8 kB / 1.11 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.9041, allocations: 3.906 kB / 1.11 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001237/0.9042, allocations: 57.61 kB / 1.11 GB, free: 5.812 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.9043, allocations: 4 kB / 1.11 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.9043, allocations: 0 / 1.11 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.9043, allocations: 11.94 kB / 1.11 GB, free: 5.797 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.9044, allocations: 8 kB / 1.11 GB, free: 5.789 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.9044, allocations: 6.344 kB / 1.11 GB, free: 5.785 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.758e-05/0.9045, allocations: 3.906 kB / 1.11 GB, free: 5.781 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.565e-06/0.9045, allocations: 1.812 kB / 1.11 GB, free: 5.781 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 (4): * Single equations (assignments): 4 * 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.347e-05/0.9046, allocations: 105.5 kB / 1.11 GB, free: 5.672 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.422e-05/0.9046, allocations: 7.906 kB / 1.11 GB, free: 5.664 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001864/0.9048, allocations: 61.69 kB / 1.11 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.9048, allocations: 4 kB / 1.11 GB, free: 5.59 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.9048, allocations: 0 / 1.11 GB, free: 5.59 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.403e-06/0.9048, allocations: 7.922 kB / 1.11 GB, free: 5.582 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001357/0.905, allocations: 138.2 kB / 1.111 GB, free: 5.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.905, allocations: 0 / 1.111 GB, free: 5.41 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001168/0.9051, allocations: 12 kB / 1.111 GB, free: 5.398 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.9051, allocations: 3.906 kB / 1.111 GB, free: 5.395 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.9052, allocations: 0 / 1.111 GB, free: 5.395 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.9052, allocations: 0 / 1.111 GB, free: 5.395 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.762e-06/0.9052, allocations: 3.984 kB / 1.111 GB, free: 5.391 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002022/0.9054, allocations: 81.03 kB / 1.111 GB, free: 5.293 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.1e-05/0.9055, allocations: 77.11 kB / 1.111 GB, free: 5.199 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.398e-05/0.9055, allocations: 1.875 kB / 1.111 GB, free: 5.199 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.685e-05/0.9055, allocations: 0 / 1.111 GB, free: 5.199 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.546e-05/0.9056, allocations: 7.906 kB / 1.111 GB, free: 5.191 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.9056, allocations: 3.984 kB / 1.111 GB, free: 5.188 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.62e-05/0.9057, allocations: 83.28 kB / 1.111 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000374/0.9061, allocations: 43.94 kB / 1.111 GB, free: 5.062 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 (4): * Single equations (assignments): 4 * 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.0004144/0.9065, allocations: 172.1 kB / 1.111 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001329/0.9066, allocations: 19.98 kB / 1.111 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.9067, allocations: 4 kB / 1.111 GB, free: 4.863 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.849e-05/0.9067, allocations: 8 kB / 1.111 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002111/0.9069, allocations: 5.219 kB / 1.111 GB, free: 4.852 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000379/0.9073, allocations: 72.53 kB / 1.111 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004148/0.9078, allocations: 0.7039 MB / 1.112 GB, free: 4.031 MB / 0.7136 GB Notification: Performance of SimCode: time 4.81e-07/0.9078, allocations: 0 / 1.112 GB, free: 4.031 MB / 0.7136 GB Notification: Performance of Templates: time 0.005229/0.913, allocations: 1.116 MB / 1.113 GB, free: 2.98 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)