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_SmallScaleValidation.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_SmallScaleValidation,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(Buildings): time 3.917/3.917, allocations: 433 MB / 440.3 MB, free: 4.832 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.55/4.467, allocations: 104.4 MB / 0.5319 GB, free: 12.96 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2512/4.718, allocations: 98.72 MB / 0.6283 GB, free: 9.758 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2808/4.999, allocations: 143.1 MB / 0.7681 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004466/5, allocations: 111.5 kB / 0.7682 GB, free: 10.31 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.5647/5.565, allocations: 30.34 MB / 0.7978 GB, free: 141.4 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/5.565, allocations: 13.67 kB / 0.7979 GB, free: 141.4 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008285/5.565, allocations: 104 kB / 0.798 GB, free: 141.3 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001188/5.567, allocations: 470.1 kB / 0.7984 GB, free: 141.1 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/5.567, allocations: 1.359 kB / 0.7984 GB, free: 141.1 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001293/5.567, allocations: 21.91 kB / 0.7984 GB, free: 141.1 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006136/5.567, allocations: 422.8 kB / 0.7988 GB, free: 141.1 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005461/5.568, allocations: 391.3 kB / 0.7992 GB, free: 141 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/5.568, allocations: 0 / 0.7992 GB, free: 141 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.118e-05/5.568, allocations: 5.75 kB / 0.7992 GB, free: 141 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/5.568, allocations: 1.922 kB / 0.7992 GB, free: 141 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001581/5.57, allocations: 0.7146 MB / 0.7999 GB, free: 140.7 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006883/5.57, allocations: 0.5641 MB / 0.8005 GB, free: 140.6 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004025/5.571, allocations: 331.5 kB / 0.8008 GB, free: 140.5 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001312/5.572, allocations: 1.044 MB / 0.8018 GB, free: 139.4 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004828/5.573, allocations: 399.4 kB / 0.8022 GB, free: 139.2 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=8): time 3.016e-06/5.573, allocations: 0 / 0.8022 GB, free: 139.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8): time 0.00143/5.574, allocations: 0.7512 MB / 0.8029 GB, free: 139.1 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/5.574, allocations: 82.64 kB / 0.803 GB, free: 139 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001802/5.576, allocations: 1.079 MB / 0.804 GB, free: 138.6 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002593/5.576, allocations: 28.3 kB / 0.8041 GB, free: 138.6 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002467/5.577, allocations: 264 kB / 0.8043 GB, free: 138.4 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.974e-05/5.577, allocations: 27.05 kB / 0.8043 GB, free: 138.4 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.731e-05/5.577, allocations: 0 / 0.8043 GB, free: 138.4 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001764/5.577, allocations: 428 kB / 0.8048 GB, free: 138 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003021/5.58, allocations: 1.216 MB / 0.8059 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002099/5.582, allocations: 1.351 MB / 0.8073 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002528/5.585, allocations: 1.607 MB / 0.8088 GB, free: 134.6 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.227e-06/5.585, allocations: 0 / 0.8088 GB, free: 134.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.007768/5.593, allocations: 7.14 MB / 0.8158 GB, free: 127.5 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/5.593, allocations: 7.812 kB / 0.8158 GB, free: 127.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.2e-05/5.593, allocations: 7.984 kB / 0.8158 GB, free: 127.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.69e-05/5.593, allocations: 0 / 0.8158 GB, free: 127.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00155/5.594, allocations: 151.7 kB / 0.816 GB, free: 127.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/5.594, allocations: 4 kB / 0.816 GB, free: 127.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/5.596, allocations: 224.3 kB / 0.8162 GB, free: 127.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001503/5.596, allocations: 55.98 kB / 0.8162 GB, free: 127 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.0001678/5.596, allocations: 124.9 kB / 0.8164 GB, free: 126.9 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.979e-05/5.596, allocations: 74.69 kB / 0.8164 GB, free: 126.8 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001027/5.597, allocations: 0.7261 MB / 0.8171 GB, free: 126.1 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/5.597, allocations: 4 kB / 0.8171 GB, free: 126.1 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/5.597, allocations: 0 / 0.8171 GB, free: 126.1 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/5.597, allocations: 3.984 kB / 0.8171 GB, free: 126.1 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006914/5.598, allocations: 497 kB / 0.8176 GB, free: 125.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/5.598, allocations: 0 / 0.8176 GB, free: 125.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000163/5.598, allocations: 19.92 kB / 0.8176 GB, free: 125.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/5.598, allocations: 0 / 0.8176 GB, free: 125.5 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.876e-05/5.598, allocations: 0 / 0.8176 GB, free: 125.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/5.598, allocations: 4 kB / 0.8176 GB, free: 125.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/5.598, allocations: 0 / 0.8176 GB, free: 125.5 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007949/5.599, allocations: 0.7901 MB / 0.8184 GB, free: 124.7 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009135/5.6, allocations: 1.193 MB / 0.8196 GB, free: 123.5 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002174/5.6, allocations: 155.8 kB / 0.8197 GB, free: 123.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001296/5.6, allocations: 11.89 kB / 0.8197 GB, free: 123.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003202/5.601, allocations: 4.656 kB / 0.8197 GB, free: 123.3 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.692e-05/5.601, allocations: 15.97 kB / 0.8198 GB, free: 123.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.118e-05/5.601, allocations: 7.984 kB / 0.8198 GB, free: 123.3 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.001066/5.602, allocations: 0.6595 MB / 0.8204 GB, free: 122.6 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.003315/5.605, allocations: 0.5111 MB / 0.8209 GB, free: 122.1 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.003447/5.609, allocations: 0.696 MB / 0.8216 GB, free: 121.4 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002887/5.612, allocations: 2.357 MB / 0.8239 GB, free: 119.1 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/5.612, allocations: 0 / 0.8239 GB, free: 119.1 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003255/5.612, allocations: 335.8 kB / 0.8242 GB, free: 118.8 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000539/5.613, allocations: 52.56 kB / 0.8243 GB, free: 118.7 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002744/5.615, allocations: 1.529 MB / 0.8257 GB, free: 117.1 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007896/5.616, allocations: 1.055 MB / 0.8268 GB, free: 116.1 MB / 0.6511 GB Notification: Performance of SimCode: time 1.322e-06/5.616, allocations: 0 / 0.8268 GB, free: 116.1 MB / 0.6511 GB