Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.368/2.368, allocations: 284.8 MB / 292.1 MB, free: 10.81 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.001663/0.001663, allocations: 185.2 kB / 360.3 MB, free: 7.562 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.902/1.902, allocations: 205.1 MB / 0.6187 GB, free: 13.23 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.001192/0.001191, allocations: 96.95 kB / 0.7317 GB, free: 45.13 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2871/0.2883, allocations: 121.4 MB / 0.8503 GB, free: 3.887 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.643/0.9314, allocations: 115.2 MB / 0.9628 GB, free: 78.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2331/1.165, allocations: 141.5 MB / 1.101 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0006557/1.165, allocations: 117.4 kB / 1.101 GB, free: 15.29 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.03266/1.198, allocations: 5.914 MB / 1.107 GB, free: 9.414 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/1.198, allocations: 8.5 kB / 1.107 GB, free: 9.406 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.512e-05/1.198, allocations: 8.969 kB / 1.107 GB, free: 9.398 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/1.198, allocations: 167 kB / 1.107 GB, free: 9.195 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/1.198, allocations: 4 kB / 1.107 GB, free: 9.191 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.369e-05/1.198, allocations: 4 kB / 1.107 GB, free: 9.188 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001229/1.198, allocations: 8 kB / 1.107 GB, free: 9.18 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.711e-05/1.199, allocations: 37.69 kB / 1.107 GB, free: 9.137 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/1.199, allocations: 0 / 1.107 GB, free: 9.137 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/1.199, allocations: 0 / 1.107 GB, free: 9.137 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/1.199, allocations: 0 / 1.107 GB, free: 9.137 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001959/1.199, allocations: 146.1 kB / 1.107 GB, free: 8.957 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/1.199, allocations: 42.55 kB / 1.107 GB, free: 8.906 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.321e-05/1.199, allocations: 12.89 kB / 1.107 GB, free: 8.891 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001343/1.2, allocations: 0.9779 MB / 1.108 GB, free: 7.691 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.833e-05/1.2, allocations: 36.06 kB / 1.108 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.493e-06/1.2, allocations: 0 / 1.108 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0002629/1.201, allocations: 53.67 kB / 1.108 GB, free: 7.59 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/1.201, allocations: 51.41 kB / 1.108 GB, free: 7.527 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/1.201, allocations: 98.72 kB / 1.108 GB, free: 7.426 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/1.201, allocations: 29.7 kB / 1.108 GB, free: 7.391 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.599e-05/1.201, allocations: 88.14 kB / 1.109 GB, free: 7.301 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.049e-05/1.201, allocations: 7.812 kB / 1.109 GB, free: 7.293 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-06/1.201, allocations: 0 / 1.109 GB, free: 7.293 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001407/1.201, allocations: 322.8 kB / 1.109 GB, free: 6.969 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.6e-05/1.201, allocations: 4 kB / 1.109 GB, free: 6.965 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.403e-05/1.201, allocations: 4 kB / 1.109 GB, free: 6.961 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.527e-05/1.201, allocations: 11.98 kB / 1.109 GB, free: 6.949 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/1.201, allocations: 3.906 kB / 1.109 GB, free: 6.945 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001594/1.201, allocations: 49.88 kB / 1.109 GB, free: 6.891 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/1.201, allocations: 4.938 kB / 1.109 GB, free: 6.887 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/1.202, allocations: 4 kB / 1.109 GB, free: 6.883 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/1.202, allocations: 0 / 1.109 GB, free: 6.883 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001703/1.202, allocations: 22.88 kB / 1.109 GB, free: 6.863 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/1.202, allocations: 0 / 1.109 GB, free: 6.863 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.333e-05/1.202, allocations: 3.906 kB / 1.109 GB, free: 6.859 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/1.202, allocations: 4 kB / 1.109 GB, free: 6.855 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 9.53e-05/1.202, allocations: 108.7 kB / 1.109 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.679e-05/1.202, allocations: 11.84 kB / 1.109 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002311/1.202, allocations: 65.67 kB / 1.109 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.768e-06/1.202, allocations: 0 / 1.109 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/1.202, allocations: 4 kB / 1.109 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/1.202, allocations: 0 / 1.109 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001644/1.202, allocations: 136.2 kB / 1.109 GB, free: 6.484 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/1.202, allocations: 0 / 1.109 GB, free: 6.484 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001329/1.203, allocations: 15.98 kB / 1.109 GB, free: 6.469 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.371e-06/1.203, allocations: 3.906 kB / 1.109 GB, free: 6.465 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/1.203, allocations: 4 kB / 1.109 GB, free: 6.461 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/1.203, allocations: 0 / 1.109 GB, free: 6.461 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.203, allocations: 0 / 1.109 GB, free: 6.461 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001865/1.203, allocations: 85.66 kB / 1.109 GB, free: 6.359 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003507/1.203, allocations: 457.4 kB / 1.11 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.279e-05/1.203, allocations: 85.05 kB / 1.11 GB, free: 5.789 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/1.203, allocations: 0 / 1.11 GB, free: 5.789 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.657e-05/1.203, allocations: 0 / 1.11 GB, free: 5.789 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.881e-05/1.203, allocations: 7.906 kB / 1.11 GB, free: 5.781 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/1.203, allocations: 5.812 kB / 1.11 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.598e-05/1.203, allocations: 87.27 kB / 1.11 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001157/1.205, allocations: 43.94 kB / 1.11 GB, free: 5.648 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.000353/1.205, allocations: 159.1 kB / 1.11 GB, free: 5.484 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001164/1.205, allocations: 16 kB / 1.11 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.205, allocations: 0 / 1.11 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.607e-05/1.205, allocations: 15.98 kB / 1.11 GB, free: 5.453 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001998/1.205, allocations: 14.58 kB / 1.11 GB, free: 5.445 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002896/1.206, allocations: 65.22 kB / 1.11 GB, free: 5.359 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004408/1.206, allocations: 0.6993 MB / 1.111 GB, free: 4.637 MB / 0.7136 GB Notification: Performance of SimCode: time 7.01e-07/1.206, allocations: 0 / 1.111 GB, free: 4.637 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)