Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.165/2.165, allocations: 253.1 MB / 260.4 MB, free: 0.5078 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001585/0.001585, allocations: 179.1 kB / 319.6 MB, free: 7.633 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.121/2.121, allocations: 205.4 MB / 0.5704 GB, free: 25.59 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001271/0.001271, allocations: 94.02 kB / 0.6746 GB, free: 3.027 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 1.26e-05/1.277e-05, allocations: 0 / 0.7843 GB, free: 2.605 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4971/0.4971, allocations: 106.2 MB / 0.8881 GB, free: 77.07 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2382/0.7354, allocations: 150.1 MB / 1.035 GB, free: 6.727 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004598/0.7359, allocations: 118.4 kB / 1.035 GB, free: 6.613 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.581/1.317, allocations: 29.32 MB / 1.063 GB, free: 47.57 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.651e-05/1.317, allocations: 19.59 kB / 1.063 GB, free: 47.56 MB / 0.6823 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.004197/1.321, allocations: 1.038 MB / 1.064 GB, free: 46.83 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.766e-05/1.321, allocations: 7.875 kB / 1.064 GB, free: 46.83 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009523/1.322, allocations: 107.1 kB / 1.065 GB, free: 46.77 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001502/1.324, allocations: 469 kB / 1.065 GB, free: 46.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/1.324, allocations: 0 / 1.065 GB, free: 46.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001831/1.324, allocations: 25.25 kB / 1.065 GB, free: 46.49 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000612/1.325, allocations: 424.1 kB / 1.065 GB, free: 46.49 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006046/1.325, allocations: 380.3 kB / 1.066 GB, free: 46.45 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/1.325, allocations: 0 / 1.066 GB, free: 46.45 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.771e-05/1.325, allocations: 7.844 kB / 1.066 GB, free: 46.44 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/1.326, allocations: 3.906 kB / 1.066 GB, free: 46.44 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001711/1.327, allocations: 0.7207 MB / 1.067 GB, free: 46.18 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000773/1.328, allocations: 0.558 MB / 1.067 GB, free: 46.12 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004533/1.329, allocations: 329 kB / 1.067 GB, free: 46.11 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001772/1.33, allocations: 1.044 MB / 1.068 GB, free: 44.97 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006328/1.331, allocations: 395.4 kB / 1.069 GB, free: 44.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 4.719e-06/1.331, allocations: 0 / 1.069 GB, free: 44.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.001522/1.333, allocations: 0.757 MB / 1.069 GB, free: 44.82 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.447e-05/1.333, allocations: 88.27 kB / 1.07 GB, free: 44.71 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002258/1.335, allocations: 1.075 MB / 1.071 GB, free: 44.49 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002191/1.335, allocations: 25.7 kB / 1.071 GB, free: 44.46 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003446/1.336, allocations: 268.9 kB / 1.071 GB, free: 44.32 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.274e-05/1.336, allocations: 22.56 kB / 1.071 GB, free: 44.31 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/1.336, allocations: 0 / 1.071 GB, free: 44.31 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002149/1.336, allocations: 425.6 kB / 1.071 GB, free: 44 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00252/1.339, allocations: 1.217 MB / 1.073 GB, free: 43.99 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002787/1.341, allocations: 1.354 MB / 1.074 GB, free: 43.95 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003405/1.345, allocations: 1.611 MB / 1.075 GB, free: 43.61 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.231e-05/1.345, allocations: 0 / 1.075 GB, free: 43.61 MB / 0.6823 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.01102/1.356, allocations: 7.136 MB / 1.082 GB, free: 42.86 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.152e-05/1.356, allocations: 7.812 kB / 1.082 GB, free: 42.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-05/1.356, allocations: 6.938 kB / 1.082 GB, free: 42.85 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.8e-05/1.356, allocations: 3.906 kB / 1.082 GB, free: 42.85 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002366/1.359, allocations: 141 kB / 1.083 GB, free: 42.84 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.398e-05/1.359, allocations: 3.906 kB / 1.083 GB, free: 42.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001667/1.36, allocations: 234.9 kB / 1.083 GB, free: 42.66 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002375/1.361, allocations: 56.41 kB / 1.083 GB, free: 42.66 MB / 0.6823 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.0002457/1.361, allocations: 112 kB / 1.083 GB, free: 42.54 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001415/1.361, allocations: 74.22 kB / 1.083 GB, free: 42.49 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001495/1.363, allocations: 0.7224 MB / 1.084 GB, free: 42.42 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/1.363, allocations: 2.953 kB / 1.084 GB, free: 42.42 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/1.363, allocations: 7.969 kB / 1.084 GB, free: 42.41 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/1.363, allocations: 0 / 1.084 GB, free: 42.41 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000916/1.364, allocations: 0.4916 MB / 1.084 GB, free: 42.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/1.364, allocations: 0 / 1.084 GB, free: 42.25 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002611/1.364, allocations: 14.3 kB / 1.084 GB, free: 42.25 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.719e-06/1.364, allocations: 0 / 1.084 GB, free: 42.25 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.85e-05/1.364, allocations: 3.906 kB / 1.084 GB, free: 42.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.773e-06/1.364, allocations: 6.984 kB / 1.084 GB, free: 42.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/1.364, allocations: 0 / 1.084 GB, free: 42.25 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001289/1.365, allocations: 0.7873 MB / 1.085 GB, free: 42.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005941/1.366, allocations: 162.5 kB / 1.085 GB, free: 41.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004733/1.366, allocations: 0 / 1.085 GB, free: 41.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006341/1.367, allocations: 10.45 kB / 1.085 GB, free: 41.95 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.394e-05/1.367, allocations: 3.906 kB / 1.085 GB, free: 41.95 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001508/1.367, allocations: 18.94 kB / 1.085 GB, free: 41.95 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.001547/1.369, allocations: 0.6563 MB / 1.086 GB, free: 41.84 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002188/1.371, allocations: 488.9 kB / 1.086 GB, free: 41.72 MB / 0.6823 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.002866/1.374, allocations: 0.6978 MB / 1.087 GB, free: 41.45 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00317/1.377, allocations: 2.352 MB / 1.089 GB, free: 41.41 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.77e-06/1.377, allocations: 0 / 1.089 GB, free: 41.41 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000348/1.378, allocations: 336.1 kB / 1.09 GB, free: 41.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005264/1.378, allocations: 44.09 kB / 1.09 GB, free: 41.39 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003085/1.381, allocations: 1.535 MB / 1.091 GB, free: 41.08 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001005/1.382, allocations: 1.054 MB / 1.092 GB, free: 40.38 MB / 0.6823 GB Notification: Performance of SimCode: time 1.353e-06/1.382, allocations: 0 / 1.092 GB, free: 40.38 MB / 0.6823 GB Notification: Performance of Templates: time 0.03192/1.414, allocations: 10.53 MB / 1.102 GB, free: 39.5 MB / 0.6823 GB