Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.401/1.401, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.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 / 326.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.809/1.809, allocations: 205.4 MB / 0.5775 GB, free: 20.24 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008586/0.0008585, allocations: 87.27 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003682/0.0003682, allocations: 9.406 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2437, allocations: 106.3 MB / 0.9002 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1909/0.4346, allocations: 146.6 MB / 1.043 GB, free: 13 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003257/0.435, allocations: 119.9 kB / 1.043 GB, free: 12.89 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.5762/1.011, allocations: 21.85 MB / 1.065 GB, free: 146.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.495e-06/1.011, allocations: 0 / 1.065 GB, free: 146.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.759e-05/1.011, allocations: 13.19 kB / 1.065 GB, free: 146.1 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.003487/1.015, allocations: 1.153 MB / 1.066 GB, free: 145.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.78e-05/1.015, allocations: 8.75 kB / 1.066 GB, free: 145.2 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.507e-05/1.015, allocations: 33.91 kB / 1.066 GB, free: 145.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005661/1.016, allocations: 96.7 kB / 1.066 GB, free: 145.1 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/1.017, allocations: 430.7 kB / 1.066 GB, free: 144.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.074e-05/1.017, allocations: 24.75 kB / 1.067 GB, free: 144.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000135/1.017, allocations: 40.19 kB / 1.067 GB, free: 144.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006265/1.017, allocations: 388.7 kB / 1.067 GB, free: 144.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/1.017, allocations: 0 / 1.067 GB, free: 144.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/1.017, allocations: 3.219 kB / 1.067 GB, free: 144.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/1.018, allocations: 0.7188 kB / 1.067 GB, free: 144.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006258/1.018, allocations: 437.5 kB / 1.067 GB, free: 144.8 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001192/1.019, allocations: 0.7442 MB / 1.068 GB, free: 144.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008648/1.02, allocations: 0.57 MB / 1.069 GB, free: 144.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009983/1.021, allocations: 1.032 MB / 1.07 GB, free: 143.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006317/1.022, allocations: 401.6 kB / 1.07 GB, free: 143.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 1.933e-06/1.022, allocations: 5.406 kB / 1.07 GB, free: 143.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.002141/1.024, allocations: 1.3 MB / 1.071 GB, free: 143.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/1.024, allocations: 79.55 kB / 1.071 GB, free: 143.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001726/1.026, allocations: 1.067 MB / 1.072 GB, free: 142.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001166/1.026, allocations: 40.77 kB / 1.072 GB, free: 142.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003347/1.026, allocations: 276.2 kB / 1.073 GB, free: 142.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.785e-05/1.026, allocations: 17.19 kB / 1.073 GB, free: 142.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.896e-05/1.026, allocations: 13.03 kB / 1.073 GB, free: 142.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000167/1.027, allocations: 421.7 kB / 1.073 GB, free: 142.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001616/1.028, allocations: 1.22 MB / 1.074 GB, free: 142.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00175/1.03, allocations: 1.358 MB / 1.076 GB, free: 142.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002019/1.032, allocations: 1.611 MB / 1.077 GB, free: 142 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/1.032, allocations: 0 / 1.077 GB, free: 142 MB / 0.698 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.005958/1.038, allocations: 3.443 MB / 1.081 GB, free: 141.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.171e-05/1.038, allocations: 6.625 kB / 1.081 GB, free: 141.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.47e-05/1.038, allocations: 5.406 kB / 1.081 GB, free: 141.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.562e-05/1.038, allocations: 3.625 kB / 1.081 GB, free: 141.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007368/1.039, allocations: 140.7 kB / 1.081 GB, free: 141.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.248e-05/1.039, allocations: 7.672 kB / 1.081 GB, free: 141.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008854/1.04, allocations: 240 kB / 1.081 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001878/1.04, allocations: 57.47 kB / 1.081 GB, free: 141.1 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.0004595/1.04, allocations: 271.5 kB / 1.081 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001597/1.041, allocations: 64.03 kB / 1.081 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001207/1.042, allocations: 0.9385 MB / 1.082 GB, free: 140.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/1.042, allocations: 0 / 1.082 GB, free: 140.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/1.042, allocations: 7.688 kB / 1.082 GB, free: 140.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/1.042, allocations: 0 / 1.082 GB, free: 140.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005985/1.043, allocations: 0.4892 MB / 1.083 GB, free: 140.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/1.043, allocations: 3.938 kB / 1.083 GB, free: 140.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.255e-05/1.043, allocations: 7.594 kB / 1.083 GB, free: 140.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/1.043, allocations: 7.875 kB / 1.083 GB, free: 140.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/1.043, allocations: 3.891 kB / 1.083 GB, free: 140.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/1.043, allocations: 0 / 1.083 GB, free: 140.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/1.043, allocations: 3.938 kB / 1.083 GB, free: 140.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000792/1.043, allocations: 1.018 MB / 1.084 GB, free: 140.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001814/1.044, allocations: 155.6 kB / 1.084 GB, free: 140.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.967e-05/1.044, allocations: 3.812 kB / 1.084 GB, free: 140.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/1.044, allocations: 3 kB / 1.084 GB, free: 140.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.418e-05/1.044, allocations: 9.047 kB / 1.084 GB, free: 140.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.094e-05/1.044, allocations: 17.62 kB / 1.084 GB, free: 140.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006594/1.045, allocations: 0.6551 MB / 1.085 GB, free: 140.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/1.045, allocations: 0 / 1.085 GB, free: 140.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00204/1.047, allocations: 497.5 kB / 1.085 GB, free: 140.1 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.003417/1.05, allocations: 2.086 MB / 1.087 GB, free: 139.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002329/1.053, allocations: 2.358 MB / 1.089 GB, free: 139.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/1.053, allocations: 64 / 1.089 GB, free: 139.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002708/1.053, allocations: 348.9 kB / 1.09 GB, free: 139.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002945/1.053, allocations: 27.88 kB / 1.09 GB, free: 139.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003547/1.057, allocations: 2.679 MB / 1.092 GB, free: 137 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003707/1.057, allocations: 0.9808 MB / 1.093 GB, free: 136.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002053/1.057, allocations: 58.12 kB / 1.093 GB, free: 136.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002446/1.058, allocations: 273.7 kB / 1.094 GB, free: 136 MB / 0.698 GB Notification: Performance of SimCode: time 7.21e-07/1.058, allocations: 0 / 1.094 GB, free: 136 MB / 0.698 GB [CodegenUtil.tpl:197:14-197:14:writable] Error: Template error: initial value of unknown type: 5.0 * floor(0.0).