Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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_maint.8.0.x_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_maint.8.0.x_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.558/1.558, allocations: 285.5 MB / 292.8 MB, free: 10.43 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001296/0.001296, allocations: 185.2 kB / 361.1 MB, free: 7.082 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.385/1.385, allocations: 205.1 MB / 0.6195 GB, free: 10.29 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009791/0.0009791, allocations: 88.19 kB / 0.7326 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.829e-06/1.005e-05, allocations: 4 kB / 0.8511 GB, free: 2.93 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.74/0.74, allocations: 115.3 MB / 0.9637 GB, free: 78.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2565/0.9966, allocations: 156.6 MB / 1.117 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004579/0.9971, allocations: 117.3 kB / 1.117 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of FrontEnd: time 0.1215/1.119, allocations: 29.31 MB / 1.145 GB, free: 2.09 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.639e-05/1.119, allocations: 16 kB / 1.145 GB, free: 2.074 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.002736/1.121, allocations: 1.04 MB / 1.146 GB, free: 0.9844 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/1.122, allocations: 8.531 kB / 1.146 GB, free: 0.9766 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005017/1.122, allocations: 104.4 kB / 1.147 GB, free: 0.875 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009587/1.123, allocations: 472.7 kB / 1.147 GB, free: 372 kB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/1.123, allocations: 0 / 1.147 GB, free: 372 kB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.89e-05/1.123, allocations: 26.62 kB / 1.147 GB, free: 348 kB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004612/1.124, allocations: 423.8 kB / 1.147 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003782/1.124, allocations: 387.1 kB / 1.148 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/1.124, allocations: 0 / 1.148 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/1.124, allocations: 3.984 kB / 1.148 GB, free: 15.53 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/1.124, allocations: 0 / 1.148 GB, free: 15.53 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001017/1.125, allocations: 0.7225 MB / 1.148 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005108/1.126, allocations: 0.5555 MB / 1.149 GB, free: 14.2 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000286/1.126, allocations: 329.7 kB / 1.149 GB, free: 13.87 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001372/1.127, allocations: 1.041 MB / 1.15 GB, free: 12.61 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004732/1.128, allocations: 399.3 kB / 1.151 GB, free: 12.2 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=8): time 1.853e-06/1.128, allocations: 0 / 1.151 GB, free: 12.2 MB / 0.7605 GB Notification: Performance of matching and sorting (n=8): time 0.001047/1.129, allocations: 0.7655 MB / 1.151 GB, free: 11.43 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.875e-05/1.129, allocations: 85.05 kB / 1.152 GB, free: 11.32 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001421/1.13, allocations: 1.076 MB / 1.153 GB, free: 10.24 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 7.191e-05/1.13, allocations: 29.7 kB / 1.153 GB, free: 10.2 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.000235/1.131, allocations: 262.1 kB / 1.153 GB, free: 9.941 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 4.368e-05/1.131, allocations: 19.8 kB / 1.153 GB, free: 9.922 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.252e-05/1.131, allocations: 0 / 1.153 GB, free: 9.922 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002861/1.131, allocations: 427.8 kB / 1.153 GB, free: 9.496 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001314/1.132, allocations: 1.214 MB / 1.154 GB, free: 8.281 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001306/1.134, allocations: 1.351 MB / 1.156 GB, free: 6.922 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001685/1.135, allocations: 1.61 MB / 1.157 GB, free: 5.297 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/1.135, allocations: 4 kB / 1.157 GB, free: 5.293 MB / 0.7605 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.006453/1.142, allocations: 7.136 MB / 1.164 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/1.142, allocations: 4 kB / 1.164 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.032e-05/1.142, allocations: 0 / 1.164 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.513e-05/1.142, allocations: 7.984 kB / 1.164 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007229/1.143, allocations: 146.9 kB / 1.164 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/1.143, allocations: 4 kB / 1.165 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007478/1.144, allocations: 224.3 kB / 1.165 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001159/1.144, allocations: 60.02 kB / 1.165 GB, free: 13.68 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.0001699/1.144, allocations: 126.5 kB / 1.165 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.827e-05/1.144, allocations: 70.69 kB / 1.165 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008363/1.145, allocations: 0.7181 MB / 1.166 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.79e-06/1.145, allocations: 0 / 1.166 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/1.145, allocations: 6.438 kB / 1.166 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/1.145, allocations: 0 / 1.166 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004946/1.145, allocations: 0.4971 MB / 1.166 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/1.145, allocations: 4.031 kB / 1.166 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.432e-05/1.145, allocations: 15.92 kB / 1.166 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/1.145, allocations: 1.312 kB / 1.166 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/1.145, allocations: 0 / 1.166 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.838e-06/1.145, allocations: 7.938 kB / 1.166 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/1.145, allocations: 0 / 1.166 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007744/1.146, allocations: 0.7902 MB / 1.167 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001426/1.146, allocations: 155.8 kB / 1.167 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.224e-05/1.147, allocations: 7.984 kB / 1.167 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001597/1.147, allocations: 0 / 1.167 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.256e-05/1.147, allocations: 11.89 kB / 1.167 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.164e-05/1.147, allocations: 18.36 kB / 1.167 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.0008078/1.148, allocations: 0.6556 MB / 1.168 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001959/1.15, allocations: 487.4 kB / 1.168 GB, free: 10.04 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.001871/1.151, allocations: 0.6961 MB / 1.169 GB, free: 9.34 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.00228/1.154, allocations: 2.353 MB / 1.171 GB, free: 6.977 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.154, allocations: 0 / 1.171 GB, free: 6.977 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0003077/1.154, allocations: 339.8 kB / 1.172 GB, free: 6.645 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003899/1.154, allocations: 53.97 kB / 1.172 GB, free: 6.59 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002262/1.157, allocations: 1.522 MB / 1.173 GB, free: 5.031 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007458/1.157, allocations: 1.059 MB / 1.174 GB, free: 3.945 MB / 0.7761 GB Notification: Performance of SimCode: time 4.71e-07/1.158, allocations: 0 / 1.174 GB, free: 3.945 MB / 0.7761 GB Notification: Performance of Templates: time 0.02027/1.178, allocations: 10.53 MB / 1.184 GB, free: 9.531 MB / 0.7917 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)