Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.01507/0.01508, allocations: 92.88 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001975/0.001975, allocations: 173.5 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.095/2.095, allocations: 205.5 MB / 222.2 MB, free: 13.57 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.394/2.394, allocations: 252.8 MB / 0.511 GB, free: 8.316 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005095/0.0005095, allocations: 11.56 kB / 0.6244 GB, free: 21.14 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.2212, allocations: 106.2 MB / 0.7281 GB, free: 8.035 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.0008572/0.2221, allocations: 305.8 kB / 0.7284 GB, free: 7.738 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001565/0.2237, allocations: 0.9371 MB / 0.7293 GB, free: 6.785 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.653e-05/0.2238, allocations: 0 / 0.7293 GB, free: 6.785 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.526e-05/0.2238, allocations: 4 kB / 0.7293 GB, free: 6.781 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0009046/0.2247, allocations: 79.78 kB / 0.7294 GB, free: 6.703 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 4.092e-05/0.2248, allocations: 8 kB / 0.7294 GB, free: 6.695 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 3.577e-05/0.2248, allocations: 0 / 0.7294 GB, free: 6.695 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.521e-05/0.2249, allocations: 4 kB / 0.7294 GB, free: 6.691 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 2.094e-05/0.2249, allocations: 3.984 kB / 0.7294 GB, free: 6.688 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000179/0.2251, allocations: 35.91 kB / 0.7294 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.039e-05/0.2251, allocations: 0 / 0.7294 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001434/0.2253, allocations: 51.95 kB / 0.7295 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.053e-05/0.2253, allocations: 7.984 kB / 0.7295 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.745e-05/0.2253, allocations: 25.7 kB / 0.7295 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.000143/0.2255, allocations: 51.89 kB / 0.7296 GB, free: 6.512 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.2255, allocations: 0 / 0.7296 GB, free: 6.512 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.734e-06/0.2255, allocations: 0 / 0.7296 GB, free: 6.512 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.2255, allocations: 0 / 0.7296 GB, free: 6.512 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003378/0.2258, allocations: 319.7 kB / 0.7299 GB, free: 6.152 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.2259, allocations: 12.03 kB / 0.7299 GB, free: 6.141 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.636e-05/0.226, allocations: 34.55 kB / 0.7299 GB, free: 6.098 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.135e-05/0.226, allocations: 0 / 0.7299 GB, free: 6.098 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.2261, allocations: 171 kB / 0.7301 GB, free: 5.891 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.2262, allocations: 7.938 kB / 0.7301 GB, free: 5.883 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.2262, allocations: 4 kB / 0.7301 GB, free: 5.879 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.434e-05/0.2263, allocations: 29.64 kB / 0.7301 GB, free: 5.844 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.2263, allocations: 0 / 0.7301 GB, free: 5.844 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.274e-06/0.2263, allocations: 0 / 0.7301 GB, free: 5.844 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.2263, allocations: 0 / 0.7301 GB, free: 5.844 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.223e-05/0.2264, allocations: 7.984 kB / 0.7301 GB, free: 5.836 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004571/0.2268, allocations: 468.6 kB / 0.7306 GB, free: 5.309 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001073/0.227, allocations: 165.1 kB / 0.7307 GB, free: 5.137 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.417e-05/0.227, allocations: 79.22 kB / 0.7308 GB, free: 5.059 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.541e-05/0.2271, allocations: 105.8 kB / 0.7309 GB, free: 4.945 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=0): time 1.533e-06/0.2271, allocations: 0 / 0.7309 GB, free: 4.945 MB / 0.5573 GB Notification: Performance of matching and sorting (n=0): time 7.436e-05/0.2272, allocations: 33.7 kB / 0.7309 GB, free: 4.906 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.183e-05/0.2273, allocations: 130.7 kB / 0.7311 GB, free: 4.766 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.2274, allocations: 101.8 kB / 0.7312 GB, free: 4.656 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.2274, allocations: 25.7 kB / 0.7312 GB, free: 4.625 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.246e-05/0.2275, allocations: 88.05 kB / 0.7313 GB, free: 4.535 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.174e-06/0.2275, allocations: 0 / 0.7313 GB, free: 4.535 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-06/0.2275, allocations: 0 / 0.7313 GB, free: 4.535 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.2276, allocations: 314.8 kB / 0.7316 GB, free: 4.219 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.048e-05/0.2276, allocations: 4 kB / 0.7316 GB, free: 4.215 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.215e-05/0.2277, allocations: 3.938 kB / 0.7316 GB, free: 4.211 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.051e-05/0.2277, allocations: 7.938 kB / 0.7316 GB, free: 4.203 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2277, allocations: 0 / 0.7316 GB, free: 4.203 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001077/0.2278, allocations: 33.88 kB / 0.7316 GB, free: 4.164 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.2278, allocations: 4 kB / 0.7316 GB, free: 4.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.2279, allocations: 0 / 0.7316 GB, free: 4.16 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.2279, allocations: 4 kB / 0.7316 GB, free: 4.156 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.976e-05/0.2279, allocations: 3.984 kB / 0.7316 GB, free: 4.152 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.2279, allocations: 4.094 kB / 0.7316 GB, free: 4.148 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.018e-05/0.2279, allocations: 3.953 kB / 0.7316 GB, free: 4.145 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.228, allocations: 0 / 0.7316 GB, free: 4.145 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cmp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001112/0.2281, allocations: 185.1 kB / 0.7318 GB, free: 3.953 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.2282, allocations: 113.6 kB / 0.7319 GB, free: 3.836 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.904e-05/0.2283, allocations: 104.1 kB / 0.732 GB, free: 3.727 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.393e-05/0.2284, allocations: 184.2 kB / 0.7322 GB, free: 3.539 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.193e-05/0.2285, allocations: 184.3 kB / 0.7324 GB, free: 3.352 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.303e-05/0.2285, allocations: 180.3 kB / 0.7325 GB, free: 3.168 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002731/0.2288, allocations: 405.2 kB / 0.7329 GB, free: 2.715 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-05/0.2289, allocations: 109 kB / 0.733 GB, free: 2.602 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.631e-05/0.2289, allocations: 104.9 kB / 0.7331 GB, free: 2.492 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.94e-05/0.229, allocations: 188.2 kB / 0.7333 GB, free: 2.301 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-05/0.2291, allocations: 184.2 kB / 0.7335 GB, free: 2.113 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.728e-05/0.2292, allocations: 184.2 kB / 0.7337 GB, free: 1.926 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.362e-05/0.2293, allocations: 176.3 kB / 0.7338 GB, free: 1.746 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001668/0.2295, allocations: 315.7 kB / 0.7341 GB, free: 1.414 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 9.638e-05/0.2296, allocations: 178.1 kB / 0.7343 GB, free: 1.215 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.955e-05/0.2297, allocations: 184.2 kB / 0.7345 GB, free: 1.027 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.614e-05/0.2298, allocations: 105 kB / 0.7346 GB, free: 0.918 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.412e-05/0.2299, allocations: 180.2 kB / 0.7348 GB, free: 0.7344 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.52e-05/0.2299, allocations: 105 kB / 0.7349 GB, free: 0.625 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 6.198e-05/0.23, allocations: 83.28 kB / 0.7349 GB, free: 0.543 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.81e-07/0.23, allocations: 0 / 0.7349 GB, free: 0.543 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003532/0.2304, allocations: 23.98 kB / 0.735 GB, free: 0.5195 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0007643/0.2312, allocations: 0.8665 MB / 0.7358 GB, free: 15.63 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 6.84e-05/0.2312, allocations: 4 kB / 0.7358 GB, free: 15.63 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.2313, allocations: 0 / 0.7358 GB, free: 15.63 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 2.475e-06/0.2313, allocations: 0 / 0.7358 GB, free: 15.63 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003629/0.2316, allocations: 0.5264 MB / 0.7363 GB, free: 15.1 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004626/0.2321, allocations: 191.6 kB / 0.7365 GB, free: 14.87 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.2324, allocations: 0.6809 MB / 0.7372 GB, free: 14.16 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 3.077e-05/0.2325, allocations: 0 / 0.7372 GB, free: 14.16 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.226e-05/0.2325, allocations: 11.44 kB / 0.7372 GB, free: 14.15 MB / 0.573 GB Notification: Performance of SimCode: time 6.92e-07/0.2325, allocations: 0 / 0.7372 GB, free: 14.15 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01923/0.2518, allocations: 1.305 MB / 0.7385 GB, free: 13.04 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003877/0.2522, allocations: 297.1 kB / 0.7387 GB, free: 12.68 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.685/2.937, allocations: 3.594 kB / 0.7387 GB, free: 12.68 MB / 0.573 GB