Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand_Length",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand_Length",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.0.0/package.mo): time 2.382/2.382, allocations: 284.8 MB / 292.1 MB, free: 10.77 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.001656/0.001656, allocations: 181.2 kB / 360.3 MB, free: 7.562 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.872/1.872, allocations: 205.1 MB / 0.6187 GB, free: 13.22 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.001324/0.001323, allocations: 92.98 kB / 0.7317 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3233/0.3247, allocations: 121.4 MB / 0.8502 GB, free: 3.906 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6657/0.9904, allocations: 115.2 MB / 0.9628 GB, free: 78.55 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2471/1.238, allocations: 141 MB / 1.101 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000446/1.238, allocations: 102 kB / 1.101 GB, free: 15.71 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.01476/1.253, allocations: 3.06 MB / 1.104 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/1.253, allocations: 8.5 kB / 1.104 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.354e-05/1.253, allocations: 3.906 kB / 1.104 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/1.253, allocations: 171.7 kB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/1.253, allocations: 0 / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.857e-05/1.253, allocations: 4 kB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001996/1.253, allocations: 47.95 kB / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/1.254, allocations: 49.67 kB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/1.254, allocations: 3.938 kB / 1.104 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/1.254, allocations: 2.641 kB / 1.104 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/1.254, allocations: 0 / 1.104 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002326/1.254, allocations: 150.1 kB / 1.104 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001404/1.254, allocations: 43.89 kB / 1.104 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.303e-05/1.254, allocations: 20.86 kB / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.958e-05/1.254, allocations: 4.922 kB / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/1.254, allocations: 41.28 kB / 1.104 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 1.683e-06/1.254, allocations: 0 / 1.104 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0004309/1.255, allocations: 65.59 kB / 1.104 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/1.255, allocations: 55.34 kB / 1.104 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/1.255, allocations: 104.9 kB / 1.104 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/1.255, allocations: 29.45 kB / 1.104 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.223e-05/1.255, allocations: 84.14 kB / 1.104 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.358e-05/1.255, allocations: 15.81 kB / 1.104 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.106e-06/1.255, allocations: 0 / 1.104 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001301/1.255, allocations: 318.7 kB / 1.105 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.607e-05/1.255, allocations: 12 kB / 1.105 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.876e-05/1.255, allocations: 8 kB / 1.105 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000166/1.255, allocations: 25.55 kB / 1.105 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/1.255, allocations: 0 / 1.105 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002949/1.256, allocations: 65.69 kB / 1.105 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/1.256, allocations: 8 kB / 1.105 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/1.256, allocations: 0 / 1.105 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/1.256, allocations: 3.906 kB / 1.105 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001733/1.256, allocations: 19.92 kB / 1.105 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/1.256, allocations: 0 / 1.105 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.13e-05/1.256, allocations: 4 kB / 1.105 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/1.256, allocations: 0 / 1.105 GB, free: 11.2 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.0001454/1.256, allocations: 109.5 kB / 1.105 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.318e-05/1.256, allocations: 3.906 kB / 1.105 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008754/1.257, allocations: 236.2 kB / 1.105 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.889e-06/1.257, allocations: 5.734 kB / 1.105 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/1.257, allocations: 4 kB / 1.105 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/1.257, allocations: 0 / 1.105 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002053/1.257, allocations: 162.1 kB / 1.105 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/1.258, allocations: 3.984 kB / 1.105 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002176/1.258, allocations: 31.94 kB / 1.105 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/1.258, allocations: 7.984 kB / 1.105 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/1.258, allocations: 4 kB / 1.105 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/1.258, allocations: 0 / 1.105 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/1.258, allocations: 0 / 1.105 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00039/1.258, allocations: 141.2 kB / 1.106 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005695/1.259, allocations: 0.5086 MB / 1.106 GB, free: 9.93 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.121e-05/1.259, allocations: 88.95 kB / 1.106 GB, free: 9.824 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.982e-05/1.259, allocations: 1.375 kB / 1.106 GB, free: 9.824 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.989e-05/1.259, allocations: 3.984 kB / 1.106 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.541e-05/1.259, allocations: 12 kB / 1.106 GB, free: 9.809 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.112e-05/1.259, allocations: 7.984 kB / 1.106 GB, free: 9.801 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.178e-05/1.259, allocations: 79.28 kB / 1.106 GB, free: 9.723 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001284/1.26, allocations: 67.83 kB / 1.106 GB, free: 9.656 MB / 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 (16): * Single equations (assignments): 16 * 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.0006983/1.261, allocations: 195.1 kB / 1.107 GB, free: 9.453 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000229/1.261, allocations: 56.8 kB / 1.107 GB, free: 9.398 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/1.261, allocations: 0 / 1.107 GB, free: 9.398 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001143/1.262, allocations: 39.94 kB / 1.107 GB, free: 9.359 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002379/1.262, allocations: 22.27 kB / 1.107 GB, free: 9.34 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000468/1.262, allocations: 116.3 kB / 1.107 GB, free: 9.203 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004516/1.263, allocations: 0.7192 MB / 1.107 GB, free: 8.457 MB / 0.7136 GB Notification: Performance of SimCode: time 1.032e-06/1.263, allocations: 0 / 1.107 GB, free: 8.457 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand_Length_fmu --startTime=0.01 --stopTime=500 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand_Length.fmu > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.pipe 2>&1)