Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.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.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.1.4-maint.8.1.x/package.mo): time 1.55/1.55, allocations: 289.8 MB / 297.1 MB, free: 6.633 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.00117/0.00117, allocations: 177.3 kB / 366.3 MB, free: 1.938 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.52/1.52, allocations: 205.1 MB / 0.6256 GB, free: 5.766 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.0008881/0.0008881, allocations: 94.73 kB / 0.7396 GB, free: 39.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.074e-05/1.076e-05, allocations: 4 kB / 0.8591 GB, free: 13.24 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6832/0.6833, allocations: 116.3 MB / 0.9726 GB, free: 68.43 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1905/0.8738, allocations: 142.5 MB / 1.112 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002614/0.8741, allocations: 117.3 kB / 1.112 GB, free: 5.801 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.01886/0.893, allocations: 5.806 MB / 1.118 GB, free: 8 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.818e-06/0.8931, allocations: 4 kB / 1.118 GB, free: 4 kB / 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.000598/0.8937, allocations: 390.2 kB / 1.118 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.537e-05/0.8937, allocations: 12.03 kB / 1.118 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.983e-05/0.8938, allocations: 3.906 kB / 1.118 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001935/0.894, allocations: 170.4 kB / 1.118 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.894, allocations: 0 / 1.118 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.423e-05/0.894, allocations: 0 / 1.118 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.958e-05/0.8941, allocations: 11.98 kB / 1.118 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.502e-05/0.8942, allocations: 37.7 kB / 1.118 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.8943, allocations: 0 / 1.118 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.8943, allocations: 4.656 kB / 1.118 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.8943, allocations: 0 / 1.118 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002113/0.8945, allocations: 146.1 kB / 1.118 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 9.291e-05/0.8946, allocations: 34.58 kB / 1.118 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.881e-05/0.8947, allocations: 16.89 kB / 1.118 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001148/0.8958, allocations: 0.9818 MB / 1.119 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.8958, allocations: 30.56 kB / 1.119 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.8959, allocations: 0.5625 kB / 1.119 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4): time 0.0002221/0.8961, allocations: 53.69 kB / 1.119 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.175e-05/0.8961, allocations: 55.34 kB / 1.119 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.938e-05/0.8962, allocations: 93 kB / 1.12 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.8962, allocations: 29.7 kB / 1.12 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.175e-05/0.8963, allocations: 84.81 kB / 1.12 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.139e-05/0.8963, allocations: 16.88 kB / 1.12 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/0.8963, allocations: 0 / 1.12 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.8965, allocations: 314.8 kB / 1.12 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.68e-05/0.8965, allocations: 4 kB / 1.12 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.482e-05/0.8965, allocations: 8 kB / 1.12 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.924e-05/0.8966, allocations: 15.98 kB / 1.12 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.8966, allocations: 3.906 kB / 1.12 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001088/0.8967, allocations: 45.69 kB / 1.12 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.8967, allocations: 8 kB / 1.12 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.8967, allocations: 3.938 kB / 1.12 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.8968, allocations: 0 / 1.12 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.8969, allocations: 16.17 kB / 1.12 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.8969, allocations: 1.312 kB / 1.12 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.064e-05/0.8969, allocations: 11.84 kB / 1.12 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.83e-06/0.8969, allocations: 0 / 1.12 GB, free: 13.02 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 (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.42e-05/0.897, allocations: 105.7 kB / 1.12 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.235e-05/0.897, allocations: 7.891 kB / 1.12 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001644/0.8972, allocations: 65.67 kB / 1.12 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.8972, allocations: 0 / 1.12 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.8972, allocations: 0 / 1.12 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.8972, allocations: 0 / 1.12 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001126/0.8974, allocations: 142.2 kB / 1.12 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.8974, allocations: 0 / 1.12 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.877e-05/0.8975, allocations: 19.98 kB / 1.12 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.8975, allocations: 3.906 kB / 1.12 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.8975, allocations: 0 / 1.12 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.8975, allocations: 1.125 kB / 1.12 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/0.8975, allocations: 7.938 kB / 1.12 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001255/0.8976, allocations: 77.02 kB / 1.12 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.103e-05/0.8977, allocations: 81.11 kB / 1.121 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.8978, allocations: 0 / 1.121 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.417e-05/0.8978, allocations: 4 kB / 1.121 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.876e-05/0.8978, allocations: 3.906 kB / 1.121 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.8978, allocations: 0 / 1.121 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.394e-05/0.8979, allocations: 87.28 kB / 1.121 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002426/0.8981, allocations: 47.92 kB / 1.121 GB, free: 12.28 MB / 0.7292 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.0002527/0.8984, allocations: 155.1 kB / 1.121 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.704e-05/0.8985, allocations: 19.94 kB / 1.121 GB, free: 12.1 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.8985, allocations: 5.312 kB / 1.121 GB, free: 12.1 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.891e-05/0.8985, allocations: 8 kB / 1.121 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001431/0.8986, allocations: 7.984 kB / 1.121 GB, free: 12.08 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002349/0.8989, allocations: 71.7 kB / 1.121 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002654/0.8992, allocations: 0.6937 MB / 1.122 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of SimCode: time 2.2e-07/0.8992, allocations: 0 / 1.122 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of Templates: time 0.003169/0.9023, allocations: 1.131 MB / 1.123 GB, free: 10.2 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)