Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01087/0.01087, allocations: 107.1 kB / 15.05 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001202/0.001202, allocations: 184.7 kB / 15.95 MB, free: 5.941 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.849/1.849, allocations: 194.5 MB / 211.3 MB, free: 11.05 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.722/2.722, allocations: 236.2 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004754/0.0004755, allocations: 16 kB / 0.5871 GB, free: 2.016 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7326/0.7331, allocations: 98.71 MB / 0.6835 GB, free: 16.73 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2634/0.9966, allocations: 139.4 MB / 0.8197 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004449/0.9971, allocations: 119.9 kB / 0.8198 GB, free: 2.57 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.1406/1.138, allocations: 21.82 MB / 0.8411 GB, free: 12.7 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.655e-06/1.138, allocations: 0 / 0.8411 GB, free: 12.7 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 4.269e-05/1.138, allocations: 12 kB / 0.8411 GB, free: 12.69 MB / 0.6667 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.003206/1.141, allocations: 1.148 MB / 0.8422 GB, free: 11.49 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/1.141, allocations: 8.031 kB / 0.8422 GB, free: 11.48 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.324e-05/1.141, allocations: 42.5 kB / 0.8423 GB, free: 11.43 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000545/1.142, allocations: 94.75 kB / 0.8424 GB, free: 11.34 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008948/1.143, allocations: 427.5 kB / 0.8428 GB, free: 10.87 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.588e-05/1.143, allocations: 27.94 kB / 0.8428 GB, free: 10.84 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001359/1.143, allocations: 35.94 kB / 0.8428 GB, free: 10.81 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006575/1.144, allocations: 391.2 kB / 0.8432 GB, free: 10.41 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/1.144, allocations: 0 / 0.8432 GB, free: 10.41 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.388e-05/1.144, allocations: 7.984 kB / 0.8432 GB, free: 10.41 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.238e-06/1.144, allocations: 7.938 kB / 0.8432 GB, free: 10.4 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006805/1.144, allocations: 431.8 kB / 0.8436 GB, free: 9.977 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001091/1.145, allocations: 0.7417 MB / 0.8443 GB, free: 9.184 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008002/1.146, allocations: 0.5634 MB / 0.8449 GB, free: 8.602 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001383/1.148, allocations: 1.029 MB / 0.8459 GB, free: 7.352 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006405/1.148, allocations: 408.8 kB / 0.8463 GB, free: 6.934 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=8): time 2.865e-06/1.148, allocations: 0 / 0.8463 GB, free: 6.934 MB / 0.6667 GB Notification: Performance of matching and sorting (n=8): time 0.002125/1.15, allocations: 1.297 MB / 0.8476 GB, free: 5.629 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.214e-05/1.151, allocations: 85.19 kB / 0.8476 GB, free: 5.527 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001827/1.152, allocations: 1.067 MB / 0.8487 GB, free: 4.445 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001301/1.153, allocations: 41.7 kB / 0.8487 GB, free: 4.398 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003093/1.153, allocations: 270 kB / 0.849 GB, free: 4.129 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 5.588e-05/1.153, allocations: 23.73 kB / 0.849 GB, free: 4.105 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/1.153, allocations: 16 kB / 0.849 GB, free: 4.09 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000228/1.153, allocations: 419.8 kB / 0.8494 GB, free: 3.672 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00226/1.156, allocations: 1.214 MB / 0.8506 GB, free: 2.457 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002438/1.158, allocations: 1.358 MB / 0.8519 GB, free: 1.086 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002755/1.161, allocations: 1.611 MB / 0.8535 GB, free: 15.46 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/1.161, allocations: 0 / 0.8535 GB, free: 15.46 MB / 0.6823 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.006836/1.168, allocations: 3.447 MB / 0.8569 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.896e-05/1.168, allocations: 13.42 kB / 0.8569 GB, free: 11.97 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.693e-05/1.168, allocations: 4 kB / 0.8569 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.788e-05/1.168, allocations: 4 kB / 0.8569 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001415/1.169, allocations: 139.8 kB / 0.857 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.06e-05/1.169, allocations: 7.938 kB / 0.857 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00103/1.17, allocations: 252.1 kB / 0.8573 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001588/1.171, allocations: 59.97 kB / 0.8573 GB, free: 11.51 MB / 0.6823 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.0005513/1.171, allocations: 257.5 kB / 0.8576 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.742e-05/1.171, allocations: 66.78 kB / 0.8576 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00161/1.173, allocations: 0.9401 MB / 0.8586 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.834e-06/1.173, allocations: 4 kB / 0.8586 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/1.173, allocations: 0 / 0.8586 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/1.173, allocations: 0 / 0.8586 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007117/1.174, allocations: 0.4928 MB / 0.859 GB, free: 9.688 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/1.174, allocations: 0 / 0.859 GB, free: 9.688 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001229/1.174, allocations: 12.03 kB / 0.859 GB, free: 9.676 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/1.174, allocations: 3.984 kB / 0.8591 GB, free: 9.672 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.999e-05/1.174, allocations: 4 kB / 0.8591 GB, free: 9.668 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.7e-06/1.174, allocations: 4 kB / 0.8591 GB, free: 9.664 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/1.174, allocations: 0 / 0.8591 GB, free: 9.664 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001464/1.175, allocations: 1.015 MB / 0.8601 GB, free: 8.625 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000179/1.176, allocations: 151.9 kB / 0.8602 GB, free: 8.457 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.77e-05/1.176, allocations: 0 / 0.8602 GB, free: 8.457 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002534/1.176, allocations: 11.98 kB / 0.8602 GB, free: 8.445 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.092e-05/1.176, allocations: 4 kB / 0.8602 GB, free: 8.441 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.516e-05/1.176, allocations: 15.97 kB / 0.8602 GB, free: 8.426 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00125/1.177, allocations: 0.657 MB / 0.8609 GB, free: 7.762 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.1e-07/1.177, allocations: 8 kB / 0.8609 GB, free: 7.754 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002026/1.179, allocations: 495.3 kB / 0.8613 GB, free: 7.27 MB / 0.6823 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.004372/1.184, allocations: 2.095 MB / 0.8634 GB, free: 5.137 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003829/1.188, allocations: 2.356 MB / 0.8657 GB, free: 2.773 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/1.188, allocations: 0 / 0.8657 GB, free: 2.773 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005281/1.188, allocations: 347.8 kB / 0.866 GB, free: 2.434 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003228/1.189, allocations: 38.09 kB / 0.8661 GB, free: 2.398 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005272/1.194, allocations: 2.671 MB / 0.8687 GB, free: 15.66 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007431/1.195, allocations: 0.9808 MB / 0.8696 GB, free: 14.65 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003646/1.195, allocations: 59.53 kB / 0.8697 GB, free: 14.59 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005369/1.196, allocations: 279.3 kB / 0.87 GB, free: 14.32 MB / 0.698 GB Notification: Performance of SimCode: time 1.302e-06/1.196, allocations: 0 / 0.87 GB, free: 14.32 MB / 0.698 GB [CodegenUtil.tpl:197:14-197:14:writable] Error: Template error: initial value of unknown type: 5.0 * floor(0.0).