Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.108/2.108, allocations: 251 MB / 265.9 MB, free: 11.68 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.001498/0.001498, allocations: 181.7 kB / 325.5 MB, free: 2.883 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.401/2.401, allocations: 205.4 MB / 0.5764 GB, free: 20.82 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.001083/0.001083, allocations: 99.11 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000482/0.0004821, allocations: 16.42 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2066, allocations: 106.3 MB / 0.8989 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2511/0.4578, allocations: 146.4 MB / 1.042 GB, free: 14.83 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004461/0.4583, allocations: 115.9 kB / 1.042 GB, free: 14.71 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.7115/1.17, allocations: 21.84 MB / 1.063 GB, free: 146.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.795e-06/1.17, allocations: 0 / 1.063 GB, free: 146.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.201e-05/1.17, allocations: 18.94 kB / 1.063 GB, free: 146.7 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.002975/1.173, allocations: 1.148 MB / 1.064 GB, free: 145.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/1.173, allocations: 11.5 kB / 1.064 GB, free: 145.9 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.36e-05/1.173, allocations: 38.62 kB / 1.064 GB, free: 145.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005284/1.174, allocations: 93.42 kB / 1.065 GB, free: 145.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008425/1.174, allocations: 426.9 kB / 1.065 GB, free: 145.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.652e-05/1.175, allocations: 29.78 kB / 1.065 GB, free: 145.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001281/1.175, allocations: 32.91 kB / 1.065 GB, free: 145.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007239/1.175, allocations: 389.2 kB / 1.065 GB, free: 145.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/1.175, allocations: 0 / 1.065 GB, free: 145.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/1.175, allocations: 1.406 kB / 1.065 GB, free: 145.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/1.175, allocations: 6.375 kB / 1.065 GB, free: 145.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008206/1.176, allocations: 435.9 kB / 1.066 GB, free: 145.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001364/1.178, allocations: 0.7424 MB / 1.067 GB, free: 145.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/1.179, allocations: 0.5676 MB / 1.067 GB, free: 145.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00121/1.18, allocations: 1.039 MB / 1.068 GB, free: 144 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007365/1.181, allocations: 401.7 kB / 1.068 GB, free: 143.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 2.334e-06/1.181, allocations: 7.812 kB / 1.069 GB, free: 143.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.002604/1.183, allocations: 1.295 MB / 1.07 GB, free: 143.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.929e-05/1.183, allocations: 87.12 kB / 1.07 GB, free: 143.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001861/1.185, allocations: 1.06 MB / 1.071 GB, free: 143.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002187/1.186, allocations: 43.67 kB / 1.071 GB, free: 143.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002695/1.186, allocations: 286 kB / 1.071 GB, free: 143.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.887e-05/1.186, allocations: 17.89 kB / 1.071 GB, free: 143.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.884e-05/1.186, allocations: 15.94 kB / 1.071 GB, free: 143.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001533/1.186, allocations: 415.1 kB / 1.072 GB, free: 143.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002083/1.188, allocations: 1.214 MB / 1.073 GB, free: 143 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002282/1.191, allocations: 1.363 MB / 1.074 GB, free: 143 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002618/1.193, allocations: 1.604 MB / 1.076 GB, free: 142.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.578e-06/1.193, allocations: 0 / 1.076 GB, free: 142.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.006525/1.2, allocations: 3.45 MB / 1.079 GB, free: 141.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.121e-05/1.2, allocations: 4.906 kB / 1.079 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.964e-05/1.2, allocations: 2.219 kB / 1.079 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.073e-05/1.2, allocations: 3.812 kB / 1.079 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001471/1.201, allocations: 146.8 kB / 1.079 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.941e-05/1.202, allocations: 7.531 kB / 1.079 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001101/1.203, allocations: 242.4 kB / 1.079 GB, free: 141.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001907/1.203, allocations: 61.81 kB / 1.08 GB, free: 141.7 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.000582/1.203, allocations: 258.7 kB / 1.08 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.572e-05/1.204, allocations: 67.59 kB / 1.08 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001886/1.205, allocations: 0.9366 MB / 1.081 GB, free: 141.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/1.205, allocations: 3.688 kB / 1.081 GB, free: 141.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/1.205, allocations: 7.531 kB / 1.081 GB, free: 141.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.513e-06/1.205, allocations: 7.594 kB / 1.081 GB, free: 141.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007867/1.206, allocations: 497.4 kB / 1.081 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/1.206, allocations: 0 / 1.081 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001247/1.206, allocations: 8.938 kB / 1.081 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/1.206, allocations: 0 / 1.081 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.064e-05/1.206, allocations: 9.156 kB / 1.081 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/1.206, allocations: 0 / 1.081 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/1.207, allocations: 0 / 1.081 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001125/1.208, allocations: 1.019 MB / 1.082 GB, free: 141.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001643/1.208, allocations: 147.4 kB / 1.082 GB, free: 141 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/1.208, allocations: 0 / 1.082 GB, free: 141 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002415/1.208, allocations: 11.33 kB / 1.082 GB, free: 141 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.167e-05/1.208, allocations: 5.562 kB / 1.082 GB, free: 141 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-05/1.208, allocations: 15.42 kB / 1.082 GB, free: 141 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001154/1.209, allocations: 0.6602 MB / 1.083 GB, free: 140.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.61e-07/1.21, allocations: 0 / 1.083 GB, free: 140.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002049/1.212, allocations: 499.8 kB / 1.084 GB, free: 140.8 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.003703/1.215, allocations: 2.092 MB / 1.086 GB, free: 139.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003174/1.219, allocations: 2.364 MB / 1.088 GB, free: 139.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/1.219, allocations: 0 / 1.088 GB, free: 139.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004179/1.219, allocations: 345.7 kB / 1.088 GB, free: 139.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004125/1.219, allocations: 35.39 kB / 1.088 GB, free: 139.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004524/1.224, allocations: 2.67 MB / 1.091 GB, free: 138.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000495/1.225, allocations: 0.9792 MB / 1.092 GB, free: 137.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003425/1.225, allocations: 62.59 kB / 1.092 GB, free: 137.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004423/1.225, allocations: 271.6 kB / 1.092 GB, free: 137.7 MB / 0.698 GB Notification: Performance of SimCode: time 1.824e-06/1.225, allocations: 0 / 1.092 GB, free: 137.7 MB / 0.698 GB [CodegenUtil.tpl:197:14-197:14:writable] Error: Template error: initial value of unknown type: 5.0 * floor(0.0).