Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 2.218/2.218, allocations: 390.4 MB / 397.7 MB, free: 11.26 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 169.3 kB / 490.8 MB, free: 1.926 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.635/1.635, allocations: 221.3 MB / 0.7863 GB, free: 13.72 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 85.59 kB / 0.9264 GB, free: 14.25 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.7572/0.7585, allocations: 149.2 MB / 1.072 GB, free: 182.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/1.075, allocations: 143 MB / 1.212 GB, free: 39.97 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8908/1.966, allocations: 151 MB / 1.359 GB, free: 17.21 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003323/1.966, allocations: 101.8 kB / 1.359 GB, free: 17.21 MB / 0.823 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.006161/1.972, allocations: 2.133 MB / 1.361 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.405e-05/1.972, allocations: 9.875 kB / 1.361 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.758e-05/1.972, allocations: 3.344 kB / 1.361 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/1.972, allocations: 167.8 kB / 1.362 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/1.972, allocations: 0 / 1.362 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.976e-06/1.972, allocations: 5 kB / 1.362 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.565e-05/1.972, allocations: 1.062 kB / 1.362 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.688e-05/1.973, allocations: 27.92 kB / 1.362 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/1.973, allocations: 1.125 kB / 1.362 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/1.973, allocations: 1.031 kB / 1.362 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/1.973, allocations: 3.938 kB / 1.362 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005571/1.973, allocations: 452.6 kB / 1.362 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/1.973, allocations: 170.5 kB / 1.362 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.678e-05/1.973, allocations: 80.14 kB / 1.362 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.516e-05/1.973, allocations: 75.83 kB / 1.362 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.947e-05/1.973, allocations: 108.3 kB / 1.362 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.783e-06/1.973, allocations: 0 / 1.362 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 7.733e-05/1.974, allocations: 34.95 kB / 1.362 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.888e-05/1.974, allocations: 51.41 kB / 1.362 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/1.974, allocations: 98.62 kB / 1.363 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.267e-06/1.974, allocations: 26.77 kB / 1.363 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.917e-05/1.974, allocations: 86.64 kB / 1.363 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.774e-06/1.974, allocations: 0 / 1.363 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-06/1.974, allocations: 0 / 1.363 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001426/1.974, allocations: 311.9 kB / 1.363 GB, free: 31 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.115e-05/1.974, allocations: 5.094 kB / 1.363 GB, free: 31 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.656e-06/1.974, allocations: 1 kB / 1.363 GB, free: 31 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.658e-05/1.974, allocations: 8.719 kB / 1.363 GB, free: 31 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/1.974, allocations: 0 / 1.363 GB, free: 31 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001579/1.974, allocations: 35.55 kB / 1.363 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/1.974, allocations: 6.688 kB / 1.363 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/1.974, allocations: 0 / 1.363 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/1.974, allocations: 1.031 kB / 1.363 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.989e-05/1.974, allocations: 3.938 kB / 1.363 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/1.974, allocations: 1.188 kB / 1.363 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.685e-05/1.974, allocations: 7.906 kB / 1.363 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/1.974, allocations: 1 kB / 1.363 GB, free: 30.96 MB / 0.8386 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.0001045/1.975, allocations: 181.8 kB / 1.363 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.791e-05/1.975, allocations: 102 kB / 1.363 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.279e-05/1.975, allocations: 106.8 kB / 1.363 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.518e-05/1.975, allocations: 181.5 kB / 1.364 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.115e-05/1.975, allocations: 182.6 kB / 1.364 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.5e-05/1.975, allocations: 181.3 kB / 1.364 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002221/1.975, allocations: 388.7 kB / 1.364 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.614e-05/1.975, allocations: 102.5 kB / 1.364 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.604e-05/1.975, allocations: 102 kB / 1.365 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.698e-05/1.975, allocations: 189.4 kB / 1.365 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.405e-05/1.975, allocations: 178.7 kB / 1.365 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.99e-05/1.976, allocations: 180.4 kB / 1.365 GB, free: 28.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.283e-05/1.976, allocations: 182.9 kB / 1.365 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001807/1.976, allocations: 305.9 kB / 1.366 GB, free: 28.34 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003479/1.976, allocations: 0.6702 MB / 1.366 GB, free: 27.66 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.991e-05/1.976, allocations: 185.7 kB / 1.366 GB, free: 27.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.887e-05/1.976, allocations: 186.7 kB / 1.367 GB, free: 27.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.698e-05/1.976, allocations: 107 kB / 1.367 GB, free: 27.16 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001516/1.977, allocations: 181.4 kB / 1.367 GB, free: 26.97 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.91e-05/1.977, allocations: 106.1 kB / 1.367 GB, free: 26.86 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6.979e-05/1.977, allocations: 87.44 kB / 1.367 GB, free: 26.79 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001026/1.978, allocations: 25.25 kB / 1.367 GB, free: 26.78 MB / 0.8386 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.0005178/1.978, allocations: 233.8 kB / 1.367 GB, free: 26.61 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.806e-05/1.978, allocations: 5.844 kB / 1.367 GB, free: 26.61 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/1.978, allocations: 0 / 1.367 GB, free: 26.61 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.717e-06/1.978, allocations: 0.9688 kB / 1.367 GB, free: 26.61 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004248/1.979, allocations: 0.5357 MB / 1.368 GB, free: 26.07 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003988/1.983, allocations: 1.106 MB / 1.369 GB, free: 25.89 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003322/1.983, allocations: 0.6835 MB / 1.37 GB, free: 25.19 MB / 0.8386 GB Notification: Performance of SimCode: time 9.02e-07/1.983, allocations: 0 / 1.37 GB, free: 25.19 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)