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_100boreholes.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.157/4.157, allocations: 433.2 MB / 440.7 MB, free: 4.59 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.789e-05/2.798e-05, allocations: 5.875 kB / 0.5325 GB, free: 12.71 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/0.2208, allocations: 98.74 MB / 0.6289 GB, free: 9.109 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2587/0.4796, allocations: 138.7 MB / 0.7644 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004465/0.4801, allocations: 107.9 kB / 0.7645 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.7097/1.19, allocations: 24.82 MB / 0.7887 GB, free: 138.1 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.516e-06/1.19, allocations: 0 / 0.7887 GB, free: 138.1 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.208e-05/1.19, allocations: 23.47 kB / 0.7888 GB, free: 138.1 MB / 0.6511 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.004045/1.194, allocations: 1.349 MB / 0.7901 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/1.194, allocations: 8.562 kB / 0.7901 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008262/1.195, allocations: 156.2 kB / 0.7902 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001759/1.197, allocations: 0.6433 MB / 0.7909 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/1.197, allocations: 1.25 kB / 0.7909 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001659/1.197, allocations: 23.91 kB / 0.7909 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005571/1.198, allocations: 419.6 kB / 0.7913 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004806/1.198, allocations: 380.6 kB / 0.7916 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/1.198, allocations: 7.141 kB / 0.7917 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.954e-05/1.198, allocations: 7.266 kB / 0.7917 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/1.198, allocations: 0 / 0.7917 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001842/1.2, allocations: 0.9339 MB / 0.7926 GB, free: 136.5 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008519/1.201, allocations: 0.5535 MB / 0.7931 GB, free: 136.5 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000409/1.201, allocations: 336.2 kB / 0.7934 GB, free: 136.4 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001183/1.202, allocations: 1.027 MB / 0.7944 GB, free: 135.3 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000532/1.203, allocations: 399.2 kB / 0.7948 GB, free: 135.2 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=8): time 4.528e-06/1.203, allocations: 3.984 kB / 0.7948 GB, free: 135.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8): time 0.002021/1.205, allocations: 1.023 MB / 0.7958 GB, free: 135.1 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/1.205, allocations: 80.67 kB / 0.7959 GB, free: 135 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003099/1.208, allocations: 1.535 MB / 0.7974 GB, free: 134.7 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0003559/1.209, allocations: 29.08 kB / 0.7974 GB, free: 134.7 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006218/1.209, allocations: 477.7 kB / 0.7979 GB, free: 134.6 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.539e-05/1.209, allocations: 25.69 kB / 0.7979 GB, free: 134.6 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/1.21, allocations: 3.812 kB / 0.7979 GB, free: 134.6 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001388/1.21, allocations: 411 kB / 0.7983 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002161/1.212, allocations: 1.444 MB / 0.7997 GB, free: 134.2 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002441/1.214, allocations: 1.587 MB / 0.8013 GB, free: 134.2 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00281/1.217, allocations: 1.844 MB / 0.8031 GB, free: 133.9 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.036e-06/1.217, allocations: 0 / 0.8031 GB, free: 133.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.006973/1.224, allocations: 3.962 MB / 0.8069 GB, free: 132.4 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.762e-05/1.224, allocations: 7.031 kB / 0.8069 GB, free: 132.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001377/1.224, allocations: 26.75 kB / 0.807 GB, free: 132.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.63e-05/1.225, allocations: 3 kB / 0.807 GB, free: 132.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001417/1.226, allocations: 143.2 kB / 0.8071 GB, free: 132.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.819e-06/1.226, allocations: 3.188 kB / 0.8071 GB, free: 132.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001711/1.228, allocations: 236.5 kB / 0.8073 GB, free: 132.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002072/1.228, allocations: 90.34 kB / 0.8074 GB, free: 132.2 MB / 0.6511 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 () * 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.0001692/1.228, allocations: 119.8 kB / 0.8075 GB, free: 132.1 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001118/1.229, allocations: 1.015 MB / 0.8085 GB, free: 131.8 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/1.229, allocations: 121.9 kB / 0.8086 GB, free: 131.7 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001229/1.231, allocations: 0.989 MB / 0.8096 GB, free: 130.8 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/1.231, allocations: 4 kB / 0.8096 GB, free: 130.8 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/1.231, allocations: 3.953 kB / 0.8096 GB, free: 130.8 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/1.231, allocations: 0.5625 kB / 0.8096 GB, free: 130.8 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000994/1.232, allocations: 0.651 MB / 0.8102 GB, free: 130.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/1.232, allocations: 0 / 0.8102 GB, free: 130.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001416/1.232, allocations: 8.781 kB / 0.8103 GB, free: 130.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/1.232, allocations: 4.031 kB / 0.8103 GB, free: 130.2 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.084e-05/1.232, allocations: 4 kB / 0.8103 GB, free: 130.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/1.232, allocations: 3.938 kB / 0.8103 GB, free: 130.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/1.232, allocations: 0 / 0.8103 GB, free: 130.2 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/1.233, allocations: 1.064 MB / 0.8113 GB, free: 129.3 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003298/1.233, allocations: 210.7 kB / 0.8115 GB, free: 129.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001887/1.234, allocations: 4 kB / 0.8115 GB, free: 129.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000671/1.234, allocations: 7.797 kB / 0.8115 GB, free: 129.1 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.31e-05/1.234, allocations: 15.7 kB / 0.8115 GB, free: 129 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.109e-05/1.234, allocations: 11.89 kB / 0.8115 GB, free: 129 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001616/1.236, allocations: 1.007 MB / 0.8125 GB, free: 128.2 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.22e-07/1.236, allocations: 0 / 0.8125 GB, free: 128.2 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002364/1.238, allocations: 0.5067 MB / 0.813 GB, free: 127.7 MB / 0.6511 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) * 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.003902/1.242, allocations: 2.139 MB / 0.8151 GB, free: 125.7 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003022/1.245, allocations: 2.475 MB / 0.8175 GB, free: 123.4 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/1.245, allocations: 0 / 0.8175 GB, free: 123.4 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003439/1.246, allocations: 338.2 kB / 0.8179 GB, free: 123.1 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006949/1.247, allocations: 62.33 kB / 0.8179 GB, free: 123.1 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006406/1.253, allocations: 2.542 MB / 0.8204 GB, free: 120.9 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008558/1.254, allocations: 1.177 MB / 0.8215 GB, free: 119.9 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0008014/1.255, allocations: 125 kB / 0.8217 GB, free: 119.8 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008115/1.256, allocations: 473.6 kB / 0.8221 GB, free: 119.4 MB / 0.6511 GB Notification: Performance of SimCode: time 1.593e-06/1.256, allocations: 0 / 0.8221 GB, free: 119.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0815/1.337, allocations: 22.92 MB / 0.8445 GB, free: 96.62 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002534/1.337, allocations: 223.5 kB / 0.8447 GB, free: 96.34 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.657/4.994, allocations: 0 / 0.8447 GB, free: 96.34 MB / 0.6511 GB