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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) [: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.661/1.661, allocations: 289.8 MB / 297.1 MB, free: 6.703 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.001348/0.001348, allocations: 169.3 kB / 366.3 MB, free: 2.004 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.58/1.58, allocations: 205.1 MB / 0.6256 GB, free: 5.852 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.001092/0.001092, allocations: 85.94 kB / 0.7395 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2683/0.2694, allocations: 122.5 MB / 0.8592 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7039/0.9734, allocations: 116.3 MB / 0.9727 GB, free: 68.19 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1981/1.172, allocations: 142.5 MB / 1.112 GB, free: 5.973 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003551/1.172, allocations: 111.8 kB / 1.112 GB, free: 5.863 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.02055/1.192, allocations: 6.189 MB / 1.118 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.399e-05/1.193, allocations: 8 kB / 1.118 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.954e-05/1.193, allocations: 7.906 kB / 1.118 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/1.193, allocations: 173.3 kB / 1.118 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.703e-05/1.193, allocations: 0 / 1.118 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.458e-05/1.193, allocations: 4 kB / 1.118 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.44e-05/1.193, allocations: 15.98 kB / 1.118 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.124e-05/1.193, allocations: 33.69 kB / 1.118 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/1.193, allocations: 0 / 1.118 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/1.193, allocations: 7.984 kB / 1.118 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/1.193, allocations: 1.594 kB / 1.118 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001977/1.193, allocations: 142.2 kB / 1.118 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.846e-05/1.193, allocations: 38.55 kB / 1.118 GB, free: 15.13 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.226e-05/1.193, allocations: 12.86 kB / 1.118 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001052/1.194, allocations: 0.9779 MB / 1.119 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/1.195, allocations: 38.56 kB / 1.119 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 1.703e-06/1.195, allocations: 0 / 1.119 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4): time 0.0002273/1.195, allocations: 49.69 kB / 1.119 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/1.195, allocations: 51.41 kB / 1.12 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.936e-05/1.195, allocations: 97 kB / 1.12 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/1.195, allocations: 25.7 kB / 1.12 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.152e-05/1.195, allocations: 84.81 kB / 1.12 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.958e-05/1.195, allocations: 15.75 kB / 1.12 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-06/1.195, allocations: 0 / 1.12 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001212/1.195, allocations: 314.8 kB / 1.12 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.036e-05/1.195, allocations: 8 kB / 1.12 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.78e-05/1.195, allocations: 8 kB / 1.12 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.439e-05/1.195, allocations: 12.67 kB / 1.12 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/1.195, allocations: 7.906 kB / 1.12 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001209/1.195, allocations: 49.69 kB / 1.12 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/1.195, allocations: 4 kB / 1.12 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/1.195, allocations: 0 / 1.12 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/1.195, allocations: 0 / 1.12 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/1.196, allocations: 19.92 kB / 1.12 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/1.196, allocations: 0 / 1.12 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.042e-05/1.196, allocations: 8.562 kB / 1.12 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.603e-06/1.196, allocations: 4 kB / 1.12 GB, free: 13.08 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 7.763e-05/1.196, allocations: 101 kB / 1.12 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.525e-05/1.196, allocations: 7.906 kB / 1.12 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001833/1.196, allocations: 62.17 kB / 1.12 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/1.196, allocations: 4 kB / 1.12 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/1.196, allocations: 0 / 1.12 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/1.196, allocations: 0.75 kB / 1.12 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001125/1.196, allocations: 138.2 kB / 1.12 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/1.196, allocations: 4 kB / 1.12 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.804e-05/1.196, allocations: 15.98 kB / 1.12 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/1.196, allocations: 4.141 kB / 1.12 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.677e-06/1.196, allocations: 0 / 1.12 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/1.196, allocations: 0 / 1.12 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/1.196, allocations: 0 / 1.12 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001418/1.196, allocations: 94.06 kB / 1.121 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002679/1.197, allocations: 463.6 kB / 1.121 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.37e-05/1.197, allocations: 77.11 kB / 1.121 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/1.197, allocations: 0 / 1.121 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.562e-05/1.197, allocations: 7.984 kB / 1.121 GB, free: 12 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.279e-05/1.197, allocations: 7.906 kB / 1.121 GB, free: 12 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-06/1.197, allocations: 0 / 1.121 GB, free: 12 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.589e-05/1.197, allocations: 79.28 kB / 1.121 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0009238/1.198, allocations: 51.92 kB / 1.121 GB, free: 11.87 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.0003219/1.198, allocations: 163.1 kB / 1.121 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 9.428e-05/1.198, allocations: 15.94 kB / 1.121 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/1.198, allocations: 4 kB / 1.121 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.096e-05/1.198, allocations: 9.219 kB / 1.121 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000166/1.199, allocations: 4 kB / 1.121 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002642/1.199, allocations: 75.77 kB / 1.121 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003799/1.199, allocations: 0.6954 MB / 1.122 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of SimCode: time 3.31e-07/1.199, allocations: 0 / 1.122 GB, free: 10.85 MB / 0.7292 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)