Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.861/1.861, allocations: 288.2 MB / 303.2 MB, free: 8.145 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.001173/0.001173, allocations: 178 kB / 371.8 MB, free: 10.29 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.732/1.732, allocations: 205.4 MB / 0.6305 GB, free: 9.922 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008494/0.000849, allocations: 92.23 kB / 0.7439 GB, free: 5.852 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006455/0.0006455, allocations: 16.52 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2744/0.2751, allocations: 115.3 MB / 0.9795 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7672/1.042, allocations: 152.9 MB / 1.129 GB, free: 14.78 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003056/1.043, allocations: 118.6 kB / 1.129 GB, free: 14.76 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.07249/1.115, allocations: 21.84 MB / 1.15 GB, free: 22.56 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.114e-06/1.115, allocations: 0 / 1.15 GB, free: 22.56 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.826e-05/1.115, allocations: 11.62 kB / 1.15 GB, free: 22.56 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.00313/1.119, allocations: 1.158 MB / 1.151 GB, free: 21.67 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.653e-05/1.119, allocations: 15.52 kB / 1.151 GB, free: 21.66 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.454e-05/1.119, allocations: 34.55 kB / 1.151 GB, free: 21.62 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000464/1.119, allocations: 101.1 kB / 1.152 GB, free: 21.55 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000887/1.12, allocations: 427.5 kB / 1.152 GB, free: 21.24 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.857e-05/1.12, allocations: 22.75 kB / 1.152 GB, free: 21.23 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.664e-05/1.12, allocations: 35.19 kB / 1.152 GB, free: 21.21 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004116/1.121, allocations: 389.4 kB / 1.152 GB, free: 20.82 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/1.121, allocations: 3.984 kB / 1.152 GB, free: 20.82 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/1.121, allocations: 0 / 1.152 GB, free: 20.82 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/1.121, allocations: 8 kB / 1.152 GB, free: 20.81 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003746/1.121, allocations: 427.1 kB / 1.153 GB, free: 20.4 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007784/1.122, allocations: 0.7435 MB / 1.154 GB, free: 19.73 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000397/1.122, allocations: 0.5591 MB / 1.154 GB, free: 19.16 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001006/1.123, allocations: 1.036 MB / 1.155 GB, free: 17.91 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003342/1.124, allocations: 415.4 kB / 1.155 GB, free: 17.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 2.395e-06/1.124, allocations: 3.938 kB / 1.155 GB, free: 17.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.001148/1.125, allocations: 1.296 MB / 1.157 GB, free: 16.21 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.818e-05/1.125, allocations: 79.92 kB / 1.157 GB, free: 16.12 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001153/1.126, allocations: 1.067 MB / 1.158 GB, free: 15.25 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.451e-05/1.126, allocations: 42.52 kB / 1.158 GB, free: 15.21 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002283/1.126, allocations: 279.9 kB / 1.158 GB, free: 15.01 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.822e-05/1.126, allocations: 21.88 kB / 1.158 GB, free: 15 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.43e-05/1.127, allocations: 9.188 kB / 1.158 GB, free: 15 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002121/1.127, allocations: 423.3 kB / 1.159 GB, free: 14.62 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001199/1.128, allocations: 1.214 MB / 1.16 GB, free: 13.82 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001486/1.129, allocations: 1.361 MB / 1.161 GB, free: 12.91 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001751/1.131, allocations: 1.607 MB / 1.163 GB, free: 11.75 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.213e-06/1.131, allocations: 0 / 1.163 GB, free: 11.75 MB / 0.698 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004772/1.136, allocations: 3.454 MB / 1.166 GB, free: 9.164 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.83e-05/1.136, allocations: 5.562 kB / 1.166 GB, free: 9.16 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.467e-05/1.136, allocations: 4 kB / 1.166 GB, free: 9.156 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.474e-05/1.136, allocations: 0 / 1.166 GB, free: 9.156 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006878/1.137, allocations: 151.1 kB / 1.166 GB, free: 9.016 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.783e-05/1.137, allocations: 4 kB / 1.166 GB, free: 9.012 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007721/1.138, allocations: 235.2 kB / 1.166 GB, free: 8.789 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001308/1.138, allocations: 63.34 kB / 1.167 GB, free: 8.734 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 89 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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 0.0004324/1.138, allocations: 262.4 kB / 1.167 GB, free: 8.48 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/1.138, allocations: 62.78 kB / 1.167 GB, free: 8.418 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001176/1.14, allocations: 0.9455 MB / 1.168 GB, free: 7.484 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/1.14, allocations: 0 / 1.168 GB, free: 7.484 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/1.14, allocations: 0 / 1.168 GB, free: 7.484 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/1.14, allocations: 0 / 1.168 GB, free: 7.484 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005253/1.14, allocations: 0.4906 MB / 1.168 GB, free: 7.031 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/1.14, allocations: 0 / 1.168 GB, free: 7.031 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.748e-05/1.14, allocations: 7.984 kB / 1.168 GB, free: 7.023 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.917e-06/1.14, allocations: 3.984 kB / 1.168 GB, free: 7.02 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/1.14, allocations: 7.125 kB / 1.168 GB, free: 7.016 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.187e-06/1.14, allocations: 4.031 kB / 1.168 GB, free: 7.012 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/1.14, allocations: 3.938 kB / 1.168 GB, free: 7.008 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001048/1.141, allocations: 1.013 MB / 1.169 GB, free: 5.988 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001885/1.142, allocations: 147.9 kB / 1.169 GB, free: 5.824 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.558e-05/1.142, allocations: 8 kB / 1.169 GB, free: 5.816 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001572/1.142, allocations: 15.48 kB / 1.169 GB, free: 5.805 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.827e-05/1.142, allocations: 3.75 kB / 1.169 GB, free: 5.805 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.797e-05/1.142, allocations: 19.97 kB / 1.169 GB, free: 5.785 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007722/1.143, allocations: 0.6565 MB / 1.17 GB, free: 5.238 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.81e-07/1.143, allocations: 0 / 1.17 GB, free: 5.238 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001872/1.145, allocations: 489.2 kB / 1.171 GB, free: 4.785 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,k,t1,t2,gFun1,gFun2) * Number of discrete states: 2 (k,t2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.00397/1.149, allocations: 2.099 MB / 1.173 GB, free: 2.707 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002842/1.151, allocations: 2.352 MB / 1.175 GB, free: 1.129 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.822e-06/1.151, allocations: 3.5 kB / 1.175 GB, free: 1.129 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003668/1.152, allocations: 347.3 kB / 1.175 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003719/1.152, allocations: 29.25 kB / 1.175 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004409/1.157, allocations: 2.692 MB / 1.178 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00068/1.157, allocations: 0.9809 MB / 1.179 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002667/1.158, allocations: 55.58 kB / 1.179 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003054/1.158, allocations: 274.7 kB / 1.179 GB, free: 13 MB / 0.7136 GB Notification: Performance of SimCode: time 8.366e-06/1.158, allocations: 0 / 1.179 GB, free: 13 MB / 0.7136 GB [CodegenUtil.tpl:197:14-197:14:writable] Error: Template error: initial value of unknown type: 5.0 * floor(0.0).