Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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 8.0.0/package.mo): time 2.326/2.326, allocations: 284.9 MB / 292.2 MB, free: 10.74 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002444/0.002444, allocations: 185.2 kB / 360.4 MB, free: 7.488 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.001/2.001, allocations: 205.1 MB / 0.6188 GB, free: 12.42 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001234/0.001233, allocations: 95.92 kB / 0.7318 GB, free: 44.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.29e-05/1.3e-05, allocations: 4 kB / 0.8503 GB, free: 3.805 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6164/0.6165, allocations: 115.2 MB / 0.9628 GB, free: 78.3 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3272/0.9437, allocations: 156.4 MB / 1.116 GB, free: 336 kB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004042/0.9442, allocations: 112.8 kB / 1.116 GB, free: 224 kB / 0.7136 GB Notification: Performance of FrontEnd: time 0.1964/1.141, allocations: 29.32 MB / 1.144 GB, free: 2.957 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.984e-05/1.141, allocations: 19.94 kB / 1.144 GB, free: 2.938 MB / 0.7448 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.003551/1.144, allocations: 1.032 MB / 1.145 GB, free: 1.855 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.541e-05/1.144, allocations: 8.531 kB / 1.145 GB, free: 1.848 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007189/1.145, allocations: 106.7 kB / 1.145 GB, free: 1.742 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001314/1.146, allocations: 468.7 kB / 1.146 GB, free: 1.234 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/1.147, allocations: 4 kB / 1.146 GB, free: 1.23 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000122/1.147, allocations: 23.98 kB / 1.146 GB, free: 1.207 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006197/1.147, allocations: 427.7 kB / 1.146 GB, free: 0.7891 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005518/1.148, allocations: 380.4 kB / 1.147 GB, free: 416 kB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/1.148, allocations: 6.156 kB / 1.147 GB, free: 412 kB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.931e-05/1.148, allocations: 0 / 1.147 GB, free: 412 kB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/1.148, allocations: 0 / 1.147 GB, free: 412 kB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00146/1.149, allocations: 0.7264 MB / 1.147 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008114/1.15, allocations: 0.5594 MB / 1.148 GB, free: 15.06 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004517/1.151, allocations: 329.7 kB / 1.148 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001578/1.152, allocations: 1.037 MB / 1.149 GB, free: 13.47 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005654/1.153, allocations: 398.7 kB / 1.15 GB, free: 13.07 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=8): time 3.115e-06/1.153, allocations: 0 / 1.15 GB, free: 13.07 MB / 0.7605 GB Notification: Performance of matching and sorting (n=8): time 0.001398/1.154, allocations: 0.7616 MB / 1.15 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.79e-05/1.154, allocations: 81.14 kB / 1.15 GB, free: 12.2 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001973/1.156, allocations: 1.084 MB / 1.152 GB, free: 11.11 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0001316/1.157, allocations: 25.7 kB / 1.152 GB, free: 11.07 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003189/1.157, allocations: 262.1 kB / 1.152 GB, free: 10.81 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 6.01e-05/1.157, allocations: 19.8 kB / 1.152 GB, free: 10.79 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.255e-05/1.157, allocations: 0 / 1.152 GB, free: 10.79 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002764/1.157, allocations: 427.8 kB / 1.152 GB, free: 10.37 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00221/1.16, allocations: 1.214 MB / 1.153 GB, free: 9.152 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002459/1.162, allocations: 1.351 MB / 1.155 GB, free: 7.793 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002884/1.165, allocations: 1.618 MB / 1.156 GB, free: 6.16 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.396e-06/1.165, allocations: 0 / 1.156 GB, free: 6.16 MB / 0.7605 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.01061/1.176, allocations: 7.128 MB / 1.163 GB, free: 15 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.891e-05/1.176, allocations: 11.98 kB / 1.163 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.329e-05/1.176, allocations: 1.594 kB / 1.163 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.829e-05/1.176, allocations: 4 kB / 1.163 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001557/1.177, allocations: 139.8 kB / 1.163 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.623e-05/1.177, allocations: 5.875 kB / 1.163 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001213/1.179, allocations: 236.2 kB / 1.164 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001847/1.179, allocations: 63.97 kB / 1.164 GB, free: 14.54 MB / 0.7761 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.0002012/1.179, allocations: 116.5 kB / 1.164 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/1.179, allocations: 70.69 kB / 1.164 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001414/1.181, allocations: 0.7235 MB / 1.165 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/1.181, allocations: 0 / 1.165 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/1.181, allocations: 4.031 kB / 1.165 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/1.181, allocations: 3.984 kB / 1.165 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008135/1.182, allocations: 0.4971 MB / 1.165 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/1.182, allocations: 0 / 1.165 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001574/1.182, allocations: 9.672 kB / 1.165 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.832e-06/1.182, allocations: 0 / 1.165 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/1.182, allocations: 4 kB / 1.165 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/1.182, allocations: 0 / 1.165 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/1.182, allocations: 3.938 kB / 1.165 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001161/1.183, allocations: 0.7941 MB / 1.166 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002382/1.183, allocations: 159.8 kB / 1.166 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001303/1.183, allocations: 0 / 1.166 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002924/1.184, allocations: 7.938 kB / 1.166 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.377e-05/1.184, allocations: 15.89 kB / 1.166 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.997e-05/1.184, allocations: 16.92 kB / 1.166 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.001323/1.185, allocations: 0.6517 MB / 1.167 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.002229/1.187, allocations: 495.4 kB / 1.167 GB, free: 10.89 MB / 0.7761 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.003288/1.191, allocations: 0.6916 MB / 1.168 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.003865/1.195, allocations: 2.345 MB / 1.17 GB, free: 7.852 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 6.872e-06/1.195, allocations: 0 / 1.17 GB, free: 7.852 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.000473/1.195, allocations: 343.8 kB / 1.17 GB, free: 7.516 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005231/1.196, allocations: 52.7 kB / 1.171 GB, free: 7.461 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003596/1.199, allocations: 1.527 MB / 1.172 GB, free: 5.898 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001193/1.201, allocations: 1.055 MB / 1.173 GB, free: 4.82 MB / 0.7761 GB Notification: Performance of SimCode: time 1.552e-06/1.201, allocations: 1.406 kB / 1.173 GB, free: 4.82 MB / 0.7761 GB Notification: Performance of Templates: time 0.0328/1.233, allocations: 10.53 MB / 1.183 GB, free: 10.4 MB / 0.7917 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)