Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",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 8.1.4-maint.8.1.x/package.mo): time 1.582/1.582, allocations: 289.8 MB / 297 MB, free: 6.629 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.001188/0.001188, allocations: 181.3 kB / 366.3 MB, free: 1.934 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.553/1.553, allocations: 205.1 MB / 0.6256 GB, free: 5.805 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.001014/0.001014, allocations: 91 kB / 0.7395 GB, free: 39.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3058/0.3069, allocations: 122.5 MB / 0.8591 GB, free: 13.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7314/1.038, allocations: 116.3 MB / 0.9727 GB, free: 68.19 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1879/1.226, allocations: 139.8 MB / 1.109 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002553/1.227, allocations: 104.7 kB / 1.109 GB, free: 8.57 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.004789/1.231, allocations: 2.017 MB / 1.111 GB, free: 6.527 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/1.231, allocations: 16 kB / 1.111 GB, free: 6.512 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.582e-05/1.231, allocations: 0 / 1.111 GB, free: 6.512 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/1.232, allocations: 163 kB / 1.111 GB, free: 6.312 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/1.232, allocations: 0 / 1.111 GB, free: 6.312 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.314e-06/1.232, allocations: 4 kB / 1.111 GB, free: 6.309 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.062e-05/1.232, allocations: 7.984 kB / 1.111 GB, free: 6.301 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.214e-05/1.232, allocations: 25.7 kB / 1.111 GB, free: 6.27 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/1.232, allocations: 0 / 1.111 GB, free: 6.27 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/1.232, allocations: 4 kB / 1.111 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/1.232, allocations: 8.5 kB / 1.111 GB, free: 6.258 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004134/1.232, allocations: 447.7 kB / 1.112 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/1.232, allocations: 165.1 kB / 1.112 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.566e-05/1.232, allocations: 88.17 kB / 1.112 GB, free: 5.504 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.42e-05/1.232, allocations: 79.28 kB / 1.112 GB, free: 5.426 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.046e-05/1.232, allocations: 109.8 kB / 1.112 GB, free: 5.309 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/1.232, allocations: 0.8438 kB / 1.112 GB, free: 5.309 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 7.858e-05/1.233, allocations: 33.62 kB / 1.112 GB, free: 5.27 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.851e-05/1.233, allocations: 51.41 kB / 1.112 GB, free: 5.207 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.427e-05/1.233, allocations: 89 kB / 1.112 GB, free: 5.113 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/1.233, allocations: 33.7 kB / 1.113 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.654e-05/1.233, allocations: 84.05 kB / 1.113 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.894e-06/1.233, allocations: 4 kB / 1.113 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.594e-06/1.233, allocations: 0 / 1.113 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001153/1.233, allocations: 310.8 kB / 1.113 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.392e-06/1.233, allocations: 1.781 kB / 1.113 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.512e-06/1.233, allocations: 4 kB / 1.113 GB, free: 4.668 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.106e-05/1.233, allocations: 3.984 kB / 1.113 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/1.233, allocations: 0 / 1.113 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001119/1.233, allocations: 33.7 kB / 1.113 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/1.233, allocations: 12.09 kB / 1.113 GB, free: 4.613 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/1.233, allocations: 3.984 kB / 1.113 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/1.233, allocations: 0 / 1.113 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.492e-05/1.233, allocations: 7.844 kB / 1.113 GB, free: 4.602 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/1.233, allocations: 0 / 1.113 GB, free: 4.602 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.411e-05/1.233, allocations: 0 / 1.113 GB, free: 4.602 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.291e-06/1.233, allocations: 0 / 1.113 GB, free: 4.602 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cmp) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001091/1.233, allocations: 184.3 kB / 1.113 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.234e-05/1.233, allocations: 105 kB / 1.113 GB, free: 4.305 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.564e-05/1.233, allocations: 104.1 kB / 1.113 GB, free: 4.191 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.406e-05/1.234, allocations: 184.2 kB / 1.114 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.304e-05/1.234, allocations: 184.2 kB / 1.114 GB, free: 3.816 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.907e-05/1.234, allocations: 176.3 kB / 1.114 GB, free: 3.637 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002139/1.234, allocations: 385.7 kB / 1.114 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.855e-05/1.234, allocations: 109.5 kB / 1.114 GB, free: 3.102 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.645e-05/1.234, allocations: 101.7 kB / 1.114 GB, free: 2.996 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-05/1.234, allocations: 180.2 kB / 1.115 GB, free: 2.812 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.156e-05/1.234, allocations: 176.3 kB / 1.115 GB, free: 2.633 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.149e-05/1.234, allocations: 180.3 kB / 1.115 GB, free: 2.449 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.827e-05/1.234, allocations: 192.2 kB / 1.115 GB, free: 2.254 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001445/1.234, allocations: 305.6 kB / 1.115 GB, free: 1.934 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002994/1.235, allocations: 0.6758 MB / 1.116 GB, free: 1.23 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.735e-05/1.235, allocations: 182.1 kB / 1.116 GB, free: 1.027 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.413e-05/1.235, allocations: 184.2 kB / 1.116 GB, free: 0.8398 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.091e-05/1.235, allocations: 105 kB / 1.117 GB, free: 0.7305 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.876e-05/1.235, allocations: 176.5 kB / 1.117 GB, free: 0.5508 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.08e-05/1.235, allocations: 109.8 kB / 1.117 GB, free: 448 kB / 0.7136 GB Notification: Performance of sort global known variables: time 5.107e-05/1.235, allocations: 87.27 kB / 1.117 GB, free: 360 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008778/1.236, allocations: 31.98 kB / 1.117 GB, free: 328 kB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 Backend phase and start with SimCode phase: time 0.000418/1.237, allocations: 226.1 kB / 1.117 GB, free: 100 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.241e-05/1.237, allocations: 4 kB / 1.117 GB, free: 96 kB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.237, allocations: 0 / 1.117 GB, free: 96 kB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/1.237, allocations: 0 / 1.117 GB, free: 96 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000396/1.237, allocations: 0.534 MB / 1.118 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003002/1.24, allocations: 1.017 MB / 1.119 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003309/1.24, allocations: 0.6853 MB / 1.119 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of SimCode: time 2.044e-06/1.24, allocations: 0 / 1.119 GB, free: 13.8 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)