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.ShaGFunction.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.ShaGFunction,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.158/4.158, allocations: 433.2 MB / 440.7 MB, free: 4.551 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.081e-05/3.093e-05, allocations: 6.344 kB / 0.5325 GB, free: 12.66 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.2059, allocations: 98.74 MB / 0.6289 GB, free: 9.035 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2255/0.4315, allocations: 125.4 MB / 0.7514 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003786/0.4319, allocations: 99.92 kB / 0.7515 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.007458/0.4394, allocations: 2.018 MB / 0.7535 GB, free: 9.34 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.024e-06/0.4394, allocations: 0 / 0.7535 GB, free: 9.34 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.4395, allocations: 4 kB / 0.7535 GB, free: 9.336 MB / 0.6355 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.0003191/0.4398, allocations: 327.2 kB / 0.7538 GB, free: 8.973 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/0.4399, allocations: 8.031 kB / 0.7538 GB, free: 8.965 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.39e-05/0.4399, allocations: 7.891 kB / 0.7538 GB, free: 8.957 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.44, allocations: 163.1 kB / 0.754 GB, free: 8.758 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.4401, allocations: 0 / 0.754 GB, free: 8.758 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/0.4401, allocations: 0 / 0.754 GB, free: 8.758 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.272e-05/0.4401, allocations: 0 / 0.754 GB, free: 8.758 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.969e-05/0.4402, allocations: 33.64 kB / 0.754 GB, free: 8.719 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.4402, allocations: 7.938 kB / 0.754 GB, free: 8.711 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.4403, allocations: 0 / 0.754 GB, free: 8.711 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.4403, allocations: 0 / 0.754 GB, free: 8.711 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004682/0.4407, allocations: 449.2 kB / 0.7544 GB, free: 8.215 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.4409, allocations: 169.8 kB / 0.7546 GB, free: 8.039 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.935e-05/0.4409, allocations: 84.14 kB / 0.7547 GB, free: 7.953 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.212e-05/0.441, allocations: 75.28 kB / 0.7547 GB, free: 7.879 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.592e-05/0.441, allocations: 109.8 kB / 0.7548 GB, free: 7.762 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.633e-06/0.4411, allocations: 0 / 0.7548 GB, free: 7.762 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 8.681e-05/0.4412, allocations: 29.7 kB / 0.7549 GB, free: 7.727 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/0.4412, allocations: 51.41 kB / 0.7549 GB, free: 7.664 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.4413, allocations: 96.98 kB / 0.755 GB, free: 7.562 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.4413, allocations: 29.7 kB / 0.755 GB, free: 7.527 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.408e-05/0.4414, allocations: 80.14 kB / 0.7551 GB, free: 7.445 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.224e-06/0.4414, allocations: 0 / 0.7551 GB, free: 7.445 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-06/0.4414, allocations: 0 / 0.7551 GB, free: 7.445 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.4416, allocations: 320.6 kB / 0.7554 GB, free: 7.125 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.398e-06/0.4416, allocations: 0 / 0.7554 GB, free: 7.125 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.683e-06/0.4416, allocations: 0 / 0.7554 GB, free: 7.125 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.174e-05/0.4417, allocations: 4 kB / 0.7554 GB, free: 7.121 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4417, allocations: 0 / 0.7554 GB, free: 7.121 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001465/0.4418, allocations: 49.69 kB / 0.7555 GB, free: 7.066 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.4419, allocations: 4 kB / 0.7555 GB, free: 7.062 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.4419, allocations: 0 / 0.7555 GB, free: 7.062 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.4419, allocations: 0 / 0.7555 GB, free: 7.062 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.867e-05/0.4419, allocations: 0 / 0.7555 GB, free: 7.062 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.442, allocations: 0 / 0.7555 GB, free: 7.062 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.863e-05/0.442, allocations: 4 kB / 0.7555 GB, free: 7.059 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.442, allocations: 0 / 0.7555 GB, free: 7.059 MB / 0.6355 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 () * 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.000107/0.4421, allocations: 184.2 kB / 0.7557 GB, free: 6.871 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.433e-05/0.4422, allocations: 146.5 kB / 0.7558 GB, free: 6.715 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.119e-05/0.4423, allocations: 101 kB / 0.7559 GB, free: 6.609 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.388e-05/0.4424, allocations: 108.5 kB / 0.756 GB, free: 6.5 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.705e-05/0.4425, allocations: 184.2 kB / 0.7562 GB, free: 6.312 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-05/0.4425, allocations: 180.2 kB / 0.7563 GB, free: 6.129 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.627e-05/0.4426, allocations: 184.2 kB / 0.7565 GB, free: 5.941 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002286/0.4428, allocations: 389.7 kB / 0.7569 GB, free: 5.516 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.121e-05/0.4429, allocations: 105 kB / 0.757 GB, free: 5.406 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.818e-05/0.4429, allocations: 101 kB / 0.7571 GB, free: 5.301 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.822e-05/0.443, allocations: 180.2 kB / 0.7573 GB, free: 5.117 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.788e-05/0.4431, allocations: 184.3 kB / 0.7574 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.605e-05/0.4432, allocations: 180.3 kB / 0.7576 GB, free: 4.746 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.025e-05/0.4433, allocations: 188.3 kB / 0.7578 GB, free: 4.555 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001425/0.4434, allocations: 303.8 kB / 0.7581 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.491e-05/0.4436, allocations: 186 kB / 0.7583 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.015e-05/0.4436, allocations: 188.2 kB / 0.7584 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.581e-05/0.4438, allocations: 105 kB / 0.7585 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.297e-05/0.4438, allocations: 180.2 kB / 0.7587 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.856e-05/0.4439, allocations: 101 kB / 0.7588 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.224e-05/0.444, allocations: 79.28 kB / 0.7589 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.01e-07/0.444, allocations: 0 / 0.7589 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000369/0.4443, allocations: 23.98 kB / 0.7589 GB, free: 3.336 MB / 0.6355 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 () * 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.0007385/0.4451, allocations: 0.8587 MB / 0.7597 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.643e-05/0.4452, allocations: 12 kB / 0.7597 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.4452, allocations: 0 / 0.7597 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.695e-06/0.4452, allocations: 0 / 0.7597 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003253/0.4455, allocations: 0.5244 MB / 0.7603 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004736/0.4503, allocations: 1.078 MB / 0.7613 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002727/0.4506, allocations: 0.6768 MB / 0.762 GB, free: 92 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.627e-05/0.4507, allocations: 0 / 0.762 GB, free: 92 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.502e-05/0.4507, allocations: 11.44 kB / 0.762 GB, free: 80 kB / 0.6355 GB Notification: Performance of SimCode: time 1.233e-06/0.4507, allocations: 0 / 0.762 GB, free: 80 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03232/0.4831, allocations: 0.9864 MB / 0.7629 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003822/0.4835, allocations: 253.9 kB / 0.7632 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.492/2.976, allocations: 0 / 0.7632 GB, free: 14.81 MB / 0.6511 GB