Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Equivalent.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.FiniteLineSource_Integrand_Equivalent,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand_Equivalent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Equivalent,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand_Equivalent",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.229/2.229, allocations: 390.4 MB / 397.7 MB, free: 10.67 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 184.8 kB / 490.8 MB, free: 11.21 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.489/1.489, allocations: 221.4 MB / 0.7863 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 100.3 kB / 0.9264 GB, free: 4.555 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.3445/0.3456, allocations: 149.2 MB / 1.072 GB, free: 15.46 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8256/1.171, allocations: 143 MB / 1.212 GB, free: 156 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.196/1.367, allocations: 152.2 MB / 1.36 GB, free: 39.45 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003394/1.368, allocations: 105.1 kB / 1.36 GB, free: 39.35 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.008545/1.376, allocations: 2.895 MB / 1.363 GB, free: 36.46 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/1.376, allocations: 8 kB / 1.363 GB, free: 36.45 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.476e-05/1.376, allocations: 9 kB / 1.363 GB, free: 36.44 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001596/1.376, allocations: 170.9 kB / 1.363 GB, free: 36.23 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/1.377, allocations: 1.812 kB / 1.363 GB, free: 36.23 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/1.377, allocations: 0.9688 kB / 1.363 GB, free: 36.23 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001764/1.377, allocations: 55.94 kB / 1.363 GB, free: 36.18 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/1.377, allocations: 54.64 kB / 1.364 GB, free: 36.12 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/1.377, allocations: 0 / 1.364 GB, free: 36.12 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/1.377, allocations: 0 / 1.364 GB, free: 36.12 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/1.377, allocations: 0.5938 kB / 1.364 GB, free: 36.12 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002092/1.377, allocations: 155.1 kB / 1.364 GB, free: 35.93 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/1.377, allocations: 55.14 kB / 1.364 GB, free: 35.87 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.453e-05/1.377, allocations: 29.69 kB / 1.364 GB, free: 35.84 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 7.094e-05/1.377, allocations: 16.75 kB / 1.364 GB, free: 35.82 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/1.377, allocations: 31.19 kB / 1.364 GB, free: 35.79 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=4): time 1.803e-06/1.377, allocations: 0.5938 kB / 1.364 GB, free: 35.79 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4): time 0.0003202/1.378, allocations: 84.52 kB / 1.364 GB, free: 35.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/1.378, allocations: 60.08 kB / 1.364 GB, free: 35.63 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.024e-05/1.378, allocations: 101.8 kB / 1.364 GB, free: 35.52 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/1.378, allocations: 25.7 kB / 1.364 GB, free: 35.49 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 1.747e-05/1.378, allocations: 88.75 kB / 1.364 GB, free: 35.4 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.945e-05/1.378, allocations: 12.94 kB / 1.364 GB, free: 35.39 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-06/1.378, allocations: 0 / 1.364 GB, free: 35.39 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 5.537e-05/1.378, allocations: 315.4 kB / 1.364 GB, free: 35.07 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.191e-05/1.378, allocations: 15.98 kB / 1.364 GB, free: 35.05 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.888e-05/1.378, allocations: 17.17 kB / 1.364 GB, free: 35.04 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.186e-05/1.378, allocations: 23.97 kB / 1.365 GB, free: 35.02 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/1.378, allocations: 0 / 1.365 GB, free: 35.02 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001641/1.378, allocations: 82.48 kB / 1.365 GB, free: 34.93 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/1.378, allocations: 4 kB / 1.365 GB, free: 34.93 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/1.378, allocations: 4.984 kB / 1.365 GB, free: 34.92 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/1.378, allocations: 3.938 kB / 1.365 GB, free: 34.92 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.48e-05/1.379, allocations: 11.94 kB / 1.365 GB, free: 34.91 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/1.379, allocations: 1.984 kB / 1.365 GB, free: 34.91 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.251e-05/1.379, allocations: 4.719 kB / 1.365 GB, free: 34.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.493e-05/1.379, allocations: 5.938 kB / 1.365 GB, free: 34.9 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (4): * Single equations (assignments): 4 * 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 5.752e-05/1.379, allocations: 110.8 kB / 1.365 GB, free: 34.79 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.263e-05/1.379, allocations: 3.984 kB / 1.365 GB, free: 34.78 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002892/1.379, allocations: 124.9 kB / 1.365 GB, free: 34.65 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/1.379, allocations: 1.688 kB / 1.365 GB, free: 34.65 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/1.379, allocations: 0 / 1.365 GB, free: 34.65 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/1.379, allocations: 0 / 1.365 GB, free: 34.65 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.498e-05/1.379, allocations: 154.2 kB / 1.365 GB, free: 34.46 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/1.379, allocations: 0.5625 kB / 1.365 GB, free: 34.46 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.689e-05/1.379, allocations: 15.94 kB / 1.365 GB, free: 34.45 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/1.379, allocations: 0.5 kB / 1.365 GB, free: 34.45 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/1.379, allocations: 0.6875 kB / 1.365 GB, free: 34.45 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/1.379, allocations: 3.906 kB / 1.365 GB, free: 34.45 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.379, allocations: 8.062 kB / 1.365 GB, free: 34.44 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001522/1.379, allocations: 101.9 kB / 1.365 GB, free: 34.32 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001935/1.38, allocations: 495.3 kB / 1.366 GB, free: 33.82 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 2.123e-05/1.38, allocations: 81.11 kB / 1.366 GB, free: 33.72 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/1.38, allocations: 10.72 kB / 1.366 GB, free: 33.71 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.433e-05/1.38, allocations: 0 / 1.366 GB, free: 33.71 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.966e-05/1.38, allocations: 1.281 kB / 1.366 GB, free: 33.71 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/1.38, allocations: 7.984 kB / 1.366 GB, free: 33.71 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.425e-05/1.38, allocations: 93.67 kB / 1.366 GB, free: 33.62 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0008821/1.381, allocations: 59.92 kB / 1.366 GB, free: 33.56 MB / 0.8855 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 (4): * Single equations (assignments): 4 * 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.0005471/1.381, allocations: 197.4 kB / 1.366 GB, free: 33.36 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001244/1.381, allocations: 47.91 kB / 1.366 GB, free: 33.31 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/1.381, allocations: 0.9062 kB / 1.366 GB, free: 33.31 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 2.797e-05/1.381, allocations: 19.94 kB / 1.366 GB, free: 33.29 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001661/1.382, allocations: 18.7 kB / 1.366 GB, free: 33.28 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002486/1.382, allocations: 83.62 kB / 1.366 GB, free: 33.17 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001669/1.382, allocations: 0.7032 MB / 1.367 GB, free: 32.45 MB / 0.8855 GB Notification: Performance of SimCode: time 2.21e-07/1.382, allocations: 0 / 1.367 GB, free: 32.45 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Equivalent.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Equivalent.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Equivalent.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Equivalent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Equivalent_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand_Equivalent_fmu --startTime=0.01 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand_Equivalent.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Equivalent.pipe 2>&1)