Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.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.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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.0/package.mo): time 2.575/2.575, allocations: 287.3 MB / 302.3 MB, free: 8.301 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.001621/0.00162, allocations: 179.1 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.182/2.182, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001767/0.001767, allocations: 88.86 kB / 0.7428 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007347/0.0007348, allocations: 13.41 kB / 0.8658 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2219/0.2227, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9439/1.167, allocations: 152.7 MB / 1.127 GB, free: 14.89 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004007/1.167, allocations: 116.1 kB / 1.128 GB, free: 14.87 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1392/1.306, allocations: 21.83 MB / 1.149 GB, free: 22.67 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.455e-06/1.306, allocations: 3.938 kB / 1.149 GB, free: 22.67 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.905e-05/1.306, allocations: 15.34 kB / 1.149 GB, free: 22.67 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.002903/1.309, allocations: 1.158 MB / 1.15 GB, free: 21.77 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/1.309, allocations: 15.48 kB / 1.15 GB, free: 21.77 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.57e-05/1.309, allocations: 37.92 kB / 1.15 GB, free: 21.73 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004898/1.31, allocations: 101.4 kB / 1.15 GB, free: 21.66 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007794/1.311, allocations: 425.8 kB / 1.151 GB, free: 21.35 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.682e-05/1.311, allocations: 20.78 kB / 1.151 GB, free: 21.35 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/1.311, allocations: 36 kB / 1.151 GB, free: 21.35 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004959/1.311, allocations: 388 kB / 1.151 GB, free: 21.24 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/1.311, allocations: 4 kB / 1.151 GB, free: 21.23 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/1.311, allocations: 0 / 1.151 GB, free: 21.23 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/1.312, allocations: 3.844 kB / 1.151 GB, free: 21.23 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005196/1.312, allocations: 437.9 kB / 1.151 GB, free: 21.16 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008654/1.313, allocations: 0.7448 MB / 1.152 GB, free: 20.71 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000583/1.314, allocations: 0.563 MB / 1.153 GB, free: 20.43 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001386/1.315, allocations: 1.032 MB / 1.154 GB, free: 19.18 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005009/1.315, allocations: 410.9 kB / 1.154 GB, free: 18.77 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 2.134e-06/1.315, allocations: 0 / 1.154 GB, free: 18.77 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.001693/1.317, allocations: 1.298 MB / 1.155 GB, free: 17.48 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.089e-05/1.317, allocations: 77.11 kB / 1.155 GB, free: 17.39 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001478/1.319, allocations: 1.067 MB / 1.157 GB, free: 16.52 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001531/1.319, allocations: 51.14 kB / 1.157 GB, free: 16.48 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002543/1.319, allocations: 273.7 kB / 1.157 GB, free: 16.28 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.589e-05/1.319, allocations: 19.25 kB / 1.157 GB, free: 16.27 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.981e-05/1.319, allocations: 13.62 kB / 1.157 GB, free: 16.26 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002347/1.32, allocations: 419.9 kB / 1.157 GB, free: 15.89 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001847/1.321, allocations: 1.217 MB / 1.158 GB, free: 15.09 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001933/1.323, allocations: 1.359 MB / 1.16 GB, free: 14.18 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002363/1.326, allocations: 1.607 MB / 1.161 GB, free: 13.02 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.043e-05/1.326, allocations: 4 kB / 1.161 GB, free: 13.01 MB / 0.698 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.006611/1.332, allocations: 3.447 MB / 1.165 GB, free: 10.43 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.117e-05/1.333, allocations: 5.875 kB / 1.165 GB, free: 10.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.737e-05/1.333, allocations: 7.844 kB / 1.165 GB, free: 10.43 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.418e-05/1.333, allocations: 8 kB / 1.165 GB, free: 10.42 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001424/1.334, allocations: 139.1 kB / 1.165 GB, free: 10.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.702e-05/1.334, allocations: 4 kB / 1.165 GB, free: 10.28 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001026/1.335, allocations: 238.7 kB / 1.165 GB, free: 10.05 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000153/1.335, allocations: 59.73 kB / 1.165 GB, free: 10 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.0005425/1.336, allocations: 264.1 kB / 1.165 GB, free: 9.75 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.66e-05/1.336, allocations: 66.66 kB / 1.165 GB, free: 9.688 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001654/1.338, allocations: 0.9479 MB / 1.166 GB, free: 8.75 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/1.338, allocations: 0 / 1.166 GB, free: 8.75 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/1.338, allocations: 4 kB / 1.166 GB, free: 8.746 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/1.338, allocations: 0 / 1.166 GB, free: 8.746 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007066/1.338, allocations: 0.4885 MB / 1.167 GB, free: 8.297 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/1.338, allocations: 0 / 1.167 GB, free: 8.297 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001193/1.339, allocations: 7.984 kB / 1.167 GB, free: 8.289 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.756e-06/1.339, allocations: 8.031 kB / 1.167 GB, free: 8.281 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/1.339, allocations: 0 / 1.167 GB, free: 8.281 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/1.339, allocations: 0 / 1.167 GB, free: 8.281 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.693e-06/1.339, allocations: 4 kB / 1.167 GB, free: 8.277 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001501/1.34, allocations: 1.021 MB / 1.168 GB, free: 7.25 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000191/1.34, allocations: 151.9 kB / 1.168 GB, free: 7.082 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/1.34, allocations: 3 kB / 1.168 GB, free: 7.082 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002437/1.341, allocations: 7.984 kB / 1.168 GB, free: 7.074 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.487e-05/1.341, allocations: 4 kB / 1.168 GB, free: 7.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-05/1.341, allocations: 15.97 kB / 1.168 GB, free: 7.055 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00121/1.342, allocations: 0.652 MB / 1.169 GB, free: 6.512 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.11e-07/1.342, allocations: 0 / 1.169 GB, free: 6.512 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00202/1.344, allocations: 0.4883 MB / 1.169 GB, free: 6.051 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.004383/1.348, allocations: 2.092 MB / 1.171 GB, free: 3.977 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003663/1.352, allocations: 2.359 MB / 1.174 GB, free: 2.398 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/1.352, allocations: 0 / 1.174 GB, free: 2.398 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005388/1.353, allocations: 341.7 kB / 1.174 GB, free: 2.07 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003309/1.353, allocations: 36.48 kB / 1.174 GB, free: 2.059 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005442/1.359, allocations: 2.683 MB / 1.177 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007934/1.359, allocations: 0.9847 MB / 1.177 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0003926/1.36, allocations: 59.52 kB / 1.178 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004511/1.36, allocations: 276.1 kB / 1.178 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of SimCode: time 1.452e-06/1.36, allocations: 4 kB / 1.178 GB, free: 14.27 MB / 0.7136 GB [CodegenUtil.tpl:197:14-197:14:writable] Error: Template error: initial value of unknown type: 5.0 * floor(0.0).