Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.076/2.076, allocations: 248.6 MB / 255.9 MB, free: 1.535 MB / 195.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002555/0.002555, allocations: 188.7 kB / 315.1 MB, free: 9.961 MB / 259.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.849/1.849, allocations: 205.1 MB / 0.5658 GB, free: 14.36 MB / 435.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00126/0.001259, allocations: 90.56 kB / 0.6699 GB, free: 52.36 MB / 499.1 MB Notification: Performance of FrontEnd - loaded program: time 0.252/0.2533, allocations: 112.4 MB / 0.7797 GB, free: 10.89 MB / 0.5499 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.5168, allocations: 106.3 MB / 0.8835 GB, free: 0.5312 MB / 0.6437 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6373/1.154, allocations: 145.6 MB / 1.026 GB, free: 1.441 MB / 0.6593 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004103/1.155, allocations: 103.9 kB / 1.026 GB, free: 1.34 MB / 0.6593 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.1584/1.313, allocations: 22.57 MB / 1.048 GB, free: 10.98 MB / 0.6905 GB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/1.313, allocations: 12 kB / 1.048 GB, free: 10.96 MB / 0.6905 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006587/1.314, allocations: 94.73 kB / 1.048 GB, free: 10.87 MB / 0.6905 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/1.315, allocations: 431.5 kB / 1.048 GB, free: 10.4 MB / 0.6905 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/1.315, allocations: 0 / 1.048 GB, free: 10.4 MB / 0.6905 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001314/1.315, allocations: 28.92 kB / 1.048 GB, free: 10.37 MB / 0.6905 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006476/1.316, allocations: 422 kB / 1.049 GB, free: 9.961 MB / 0.6905 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005845/1.316, allocations: 391.2 kB / 1.049 GB, free: 9.566 MB / 0.6905 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/1.316, allocations: 0 / 1.049 GB, free: 9.566 MB / 0.6905 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.053e-05/1.316, allocations: 0 / 1.049 GB, free: 9.566 MB / 0.6905 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/1.316, allocations: 3.938 kB / 1.049 GB, free: 9.562 MB / 0.6905 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001279/1.318, allocations: 0.6942 MB / 1.05 GB, free: 8.828 MB / 0.6905 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007845/1.318, allocations: 0.5556 MB / 1.05 GB, free: 8.254 MB / 0.6905 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004515/1.319, allocations: 337.6 kB / 1.051 GB, free: 7.918 MB / 0.6905 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001577/1.321, allocations: 1.032 MB / 1.052 GB, free: 6.664 MB / 0.6905 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005704/1.321, allocations: 404 kB / 1.052 GB, free: 6.254 MB / 0.6905 GB Notification: Performance of pre-optimization done (n=8): time 2.034e-06/1.321, allocations: 0 / 1.052 GB, free: 6.254 MB / 0.6905 GB Notification: Performance of matching and sorting (n=8): time 0.001336/1.322, allocations: 0.7501 MB / 1.053 GB, free: 5.496 MB / 0.6905 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.163e-05/1.323, allocations: 81.05 kB / 1.053 GB, free: 5.398 MB / 0.6905 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001832/1.324, allocations: 1.021 MB / 1.054 GB, free: 4.363 MB / 0.6905 GB Notification: Performance of collectPreVariables (initialization): time 0.0001514/1.325, allocations: 29.7 kB / 1.054 GB, free: 4.328 MB / 0.6905 GB Notification: Performance of collectInitialEqns (initialization): time 0.000293/1.325, allocations: 254.1 kB / 1.054 GB, free: 4.074 MB / 0.6905 GB Notification: Performance of collectInitialBindings (initialization): time 5.392e-05/1.325, allocations: 27.77 kB / 1.054 GB, free: 4.047 MB / 0.6905 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.182e-05/1.325, allocations: 0 / 1.054 GB, free: 4.047 MB / 0.6905 GB Notification: Performance of setup shared object (initialization): time 0.0002697/1.325, allocations: 415.8 kB / 1.055 GB, free: 3.633 MB / 0.6905 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002185/1.328, allocations: 1.214 MB / 1.056 GB, free: 2.418 MB / 0.6905 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00251/1.33, allocations: 1.351 MB / 1.057 GB, free: 1.059 MB / 0.6905 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003002/1.333, allocations: 1.607 MB / 1.059 GB, free: 15.43 MB / 0.7062 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.267e-06/1.333, allocations: 0 / 1.059 GB, free: 15.43 MB / 0.7062 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.01064/1.344, allocations: 7.136 MB / 1.066 GB, free: 8.266 MB / 0.7062 GB Notification: Performance of prepare postOptimizeDAE: time 2.887e-05/1.344, allocations: 4 kB / 1.066 GB, free: 8.262 MB / 0.7062 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.144e-05/1.344, allocations: 4 kB / 1.066 GB, free: 8.258 MB / 0.7062 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.393e-05/1.344, allocations: 0 / 1.066 GB, free: 8.258 MB / 0.7062 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001628/1.346, allocations: 147.8 kB / 1.066 GB, free: 8.113 MB / 0.7062 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.483e-05/1.346, allocations: 4 kB / 1.066 GB, free: 8.109 MB / 0.7062 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/1.347, allocations: 228.3 kB / 1.066 GB, free: 7.883 MB / 0.7062 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001622/1.347, allocations: 55.98 kB / 1.066 GB, free: 7.828 MB / 0.7062 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.000215/1.347, allocations: 124.9 kB / 1.066 GB, free: 7.699 MB / 0.7062 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/1.347, allocations: 62.78 kB / 1.066 GB, free: 7.637 MB / 0.7062 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001428/1.349, allocations: 0.7146 MB / 1.067 GB, free: 6.914 MB / 0.7062 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.002e-06/1.349, allocations: 0 / 1.067 GB, free: 6.914 MB / 0.7062 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/1.349, allocations: 0 / 1.067 GB, free: 6.914 MB / 0.7062 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/1.349, allocations: 3.984 kB / 1.067 GB, free: 6.91 MB / 0.7062 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007281/1.35, allocations: 481.7 kB / 1.067 GB, free: 6.406 MB / 0.7062 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/1.35, allocations: 0 / 1.067 GB, free: 6.406 MB / 0.7062 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001556/1.35, allocations: 16.02 kB / 1.067 GB, free: 6.391 MB / 0.7062 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/1.35, allocations: 0 / 1.067 GB, free: 6.391 MB / 0.7062 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.072e-05/1.35, allocations: 4 kB / 1.067 GB, free: 6.387 MB / 0.7062 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/1.35, allocations: 0 / 1.067 GB, free: 6.387 MB / 0.7062 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/1.35, allocations: 0 / 1.067 GB, free: 6.387 MB / 0.7062 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001118/1.351, allocations: 0.7893 MB / 1.068 GB, free: 5.57 MB / 0.7062 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001335/1.352, allocations: 1.179 MB / 1.069 GB, free: 4.363 MB / 0.7062 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002294/1.353, allocations: 154.1 kB / 1.069 GB, free: 4.195 MB / 0.7062 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/1.353, allocations: 7.891 kB / 1.069 GB, free: 4.188 MB / 0.7062 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002943/1.353, allocations: 6.375 kB / 1.069 GB, free: 4.184 MB / 0.7062 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.679e-05/1.353, allocations: 11.98 kB / 1.07 GB, free: 4.172 MB / 0.7062 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.482e-05/1.353, allocations: 15.92 kB / 1.07 GB, free: 4.156 MB / 0.7062 GB Notification: Performance of sort global known variables: time 0.0012/1.354, allocations: 0.6103 MB / 1.07 GB, free: 3.539 MB / 0.7062 GB Notification: Performance of remove unused functions: time 0.003191/1.358, allocations: 0.4955 MB / 1.071 GB, free: 3.043 MB / 0.7062 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.003147/1.361, allocations: 0.592 MB / 1.071 GB, free: 2.441 MB / 0.7062 GB Notification: Performance of simCode: created initialization part: time 0.004002/1.365, allocations: 2.353 MB / 1.073 GB, free: 84 kB / 0.7062 GB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/1.365, allocations: 0 / 1.073 GB, free: 84 kB / 0.7062 GB Notification: Performance of simCode: created simulation system equations: time 0.0005664/1.365, allocations: 339.8 kB / 1.074 GB, free: 15.75 MB / 0.7218 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003767/1.366, allocations: 30.14 kB / 1.074 GB, free: 15.72 MB / 0.7218 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00331/1.369, allocations: 1.471 MB / 1.075 GB, free: 14.21 MB / 0.7218 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001117/1.37, allocations: 1.031 MB / 1.076 GB, free: 13.15 MB / 0.7218 GB Notification: Performance of SimCode: time 1.472e-06/1.37, allocations: 0 / 1.076 GB, free: 13.15 MB / 0.7218 GB