Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.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.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.775/1.775, allocations: 292.6 MB / 307.5 MB, free: 5.23 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.001227/0.001227, allocations: 191.6 kB / 377.1 MB, free: 1.52 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.613/1.613, allocations: 205.4 MB / 0.6366 GB, free: 8.602 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.000865/0.000865, allocations: 92.48 kB / 0.7509 GB, free: 63.14 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003276/0.0003276, allocations: 12 kB / 0.8749 GB, free: 11.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.267, allocations: 116.3 MB / 0.9885 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7338/1.001, allocations: 153.9 MB / 1.139 GB, free: 25.46 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003395/1.001, allocations: 119.3 kB / 1.139 GB, free: 25.37 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.07267/1.074, allocations: 21.85 MB / 1.16 GB, free: 6.68 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.525e-06/1.074, allocations: 0 / 1.16 GB, free: 6.68 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.364e-05/1.074, allocations: 12 kB / 1.16 GB, free: 6.668 MB / 0.7292 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.00258/1.077, allocations: 1.162 MB / 1.161 GB, free: 5.457 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001087/1.077, allocations: 19.95 kB / 1.161 GB, free: 5.438 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.006e-05/1.077, allocations: 30.56 kB / 1.161 GB, free: 5.398 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004574/1.077, allocations: 99.8 kB / 1.162 GB, free: 5.301 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007328/1.078, allocations: 427 kB / 1.162 GB, free: 4.836 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.79e-05/1.078, allocations: 24 kB / 1.162 GB, free: 4.812 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.666e-05/1.078, allocations: 32 kB / 1.162 GB, free: 4.781 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003812/1.079, allocations: 392 kB / 1.162 GB, free: 4.387 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/1.079, allocations: 0 / 1.162 GB, free: 4.387 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.702e-05/1.079, allocations: 7.984 kB / 1.162 GB, free: 4.379 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/1.079, allocations: 3.938 kB / 1.162 GB, free: 4.375 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003478/1.079, allocations: 435.7 kB / 1.163 GB, free: 3.949 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006316/1.08, allocations: 0.7389 MB / 1.164 GB, free: 3.16 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003669/1.08, allocations: 0.5627 MB / 1.164 GB, free: 2.582 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007503/1.081, allocations: 1.032 MB / 1.165 GB, free: 1.328 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003032/1.081, allocations: 408.8 kB / 1.165 GB, free: 0.9102 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 1.333e-06/1.081, allocations: 0 / 1.165 GB, free: 0.9102 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.001131/1.082, allocations: 1.297 MB / 1.167 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.63e-05/1.082, allocations: 89.22 kB / 1.167 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001109/1.083, allocations: 1.06 MB / 1.168 GB, free: 14.42 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.42e-05/1.084, allocations: 49.62 kB / 1.168 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002348/1.084, allocations: 270 kB / 1.168 GB, free: 14.1 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.341e-05/1.084, allocations: 23.73 kB / 1.168 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-05/1.084, allocations: 16 kB / 1.168 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000218/1.084, allocations: 423.6 kB / 1.169 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001341/1.085, allocations: 1.214 MB / 1.17 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001416/1.087, allocations: 1.358 MB / 1.171 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00166/1.089, allocations: 1.611 MB / 1.173 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/1.089, allocations: 0 / 1.173 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004148/1.093, allocations: 3.451 MB / 1.176 GB, free: 5.945 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/1.093, allocations: 8.562 kB / 1.176 GB, free: 5.938 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.905e-05/1.093, allocations: 0.625 kB / 1.176 GB, free: 5.938 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.33e-05/1.093, allocations: 4 kB / 1.176 GB, free: 5.934 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000618/1.093, allocations: 143.8 kB / 1.176 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/1.093, allocations: 4 kB / 1.176 GB, free: 5.789 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005293/1.094, allocations: 237.2 kB / 1.176 GB, free: 5.555 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.076e-05/1.094, allocations: 56.55 kB / 1.176 GB, free: 5.5 MB / 0.7448 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.0003154/1.094, allocations: 265.5 kB / 1.177 GB, free: 5.23 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.287e-05/1.094, allocations: 62.78 kB / 1.177 GB, free: 5.168 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009775/1.095, allocations: 0.9448 MB / 1.178 GB, free: 4.215 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/1.095, allocations: 4 kB / 1.178 GB, free: 4.211 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/1.095, allocations: 0 / 1.178 GB, free: 4.211 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/1.096, allocations: 3.984 kB / 1.178 GB, free: 4.207 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004456/1.096, allocations: 497.4 kB / 1.178 GB, free: 3.676 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/1.096, allocations: 5.219 kB / 1.178 GB, free: 3.672 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.28e-05/1.096, allocations: 8 kB / 1.178 GB, free: 3.664 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/1.096, allocations: 3.938 kB / 1.178 GB, free: 3.66 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/1.096, allocations: 3.984 kB / 1.178 GB, free: 3.656 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.591e-06/1.096, allocations: 4 kB / 1.178 GB, free: 3.652 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/1.096, allocations: 3.938 kB / 1.178 GB, free: 3.648 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009093/1.097, allocations: 1.014 MB / 1.179 GB, free: 2.609 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/1.097, allocations: 151.9 kB / 1.179 GB, free: 2.441 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.692e-05/1.097, allocations: 5.047 kB / 1.179 GB, free: 2.438 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/1.097, allocations: 4 kB / 1.179 GB, free: 2.434 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/1.097, allocations: 11.98 kB / 1.179 GB, free: 2.422 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.542e-05/1.097, allocations: 11.98 kB / 1.179 GB, free: 2.41 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000721/1.098, allocations: 0.6647 MB / 1.18 GB, free: 1.738 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/1.098, allocations: 0 / 1.18 GB, free: 1.738 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001797/1.1, allocations: 487.4 kB / 1.181 GB, free: 1.262 MB / 0.7448 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.002778/1.103, allocations: 2.097 MB / 1.183 GB, free: 15.13 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.002273/1.105, allocations: 2.367 MB / 1.185 GB, free: 12.76 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/1.105, allocations: 0 / 1.185 GB, free: 12.76 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0003222/1.105, allocations: 339.9 kB / 1.185 GB, free: 12.43 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002093/1.106, allocations: 36.42 kB / 1.185 GB, free: 12.39 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003382/1.109, allocations: 2.673 MB / 1.188 GB, free: 9.656 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005476/1.11, allocations: 0.9815 MB / 1.189 GB, free: 8.648 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.000204/1.11, allocations: 60.16 kB / 1.189 GB, free: 8.59 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000324/1.11, allocations: 275.3 kB / 1.189 GB, free: 8.32 MB / 0.7605 GB Notification: Performance of SimCode: time 7.71e-07/1.11, allocations: 0 / 1.189 GB, free: 8.32 MB / 0.7605 GB [CodegenUtil.tpl:197:14-197:14:writable] Error: Template error: initial value of unknown type: 5.0 * floor(0.0).