Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource",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 7.0.3-maint.7.0.x/package.mo): time 1.272/1.272, allocations: 249.4 MB / 256.7 MB, free: 7.125 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009372/0.0009373, allocations: 189.2 kB / 316 MB, free: 3.57 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.131/1.131, allocations: 205.2 MB / 0.5667 GB, free: 15.64 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008796/0.0008796, allocations: 84.88 kB / 0.671 GB, free: 4.762 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3415/0.3424, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1716/0.514, allocations: 106.3 MB / 0.8847 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4717/0.9858, allocations: 137.2 MB / 1.019 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002483/0.9861, allocations: 117.4 kB / 1.019 GB, free: 1.332 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.02347/1.01, allocations: 9.521 MB / 1.028 GB, free: 8.742 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/1.01, allocations: 11.94 kB / 1.028 GB, free: 8.73 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.199e-05/1.01, allocations: 23.72 kB / 1.028 GB, free: 8.707 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/1.01, allocations: 186.1 kB / 1.028 GB, free: 8.488 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/1.01, allocations: 4.844 kB / 1.028 GB, free: 8.484 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.507e-05/1.01, allocations: 16 kB / 1.028 GB, free: 8.469 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003916/1.014, allocations: 2.537 MB / 1.031 GB, free: 6.055 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004979/1.014, allocations: 314.1 kB / 1.031 GB, free: 5.762 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/1.014, allocations: 0 / 1.031 GB, free: 5.762 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.336e-05/1.014, allocations: 0 / 1.031 GB, free: 5.762 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.968e-06/1.014, allocations: 4 kB / 1.031 GB, free: 5.758 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005138/1.015, allocations: 358.6 kB / 1.031 GB, free: 5.387 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006615/1.016, allocations: 0.5049 MB / 1.032 GB, free: 4.918 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003179/1.016, allocations: 241.4 kB / 1.032 GB, free: 4.699 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00159/1.018, allocations: 1.451 MB / 1.034 GB, free: 2.961 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/1.018, allocations: 41.48 kB / 1.034 GB, free: 2.914 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=43): time 1.623e-06/1.018, allocations: 0 / 1.034 GB, free: 2.914 MB / 0.6511 GB Notification: Performance of matching and sorting (n=43): time 0.001618/1.019, allocations: 0.6067 MB / 1.034 GB, free: 2.336 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/1.019, allocations: 63.34 kB / 1.034 GB, free: 2.262 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/1.019, allocations: 130.8 kB / 1.034 GB, free: 2.133 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.685e-05/1.019, allocations: 25.7 kB / 1.034 GB, free: 2.102 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.809e-05/1.019, allocations: 92.53 kB / 1.035 GB, free: 2.012 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001349/1.02, allocations: 137.4 kB / 1.035 GB, free: 1.891 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.495e-05/1.02, allocations: 0 / 1.035 GB, free: 1.891 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000119/1.02, allocations: 336.8 kB / 1.035 GB, free: 1.562 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000316/1.02, allocations: 209.8 kB / 1.035 GB, free: 1.367 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003044/1.02, allocations: 217.2 kB / 1.035 GB, free: 1.172 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009931/1.021, allocations: 313.2 kB / 1.036 GB, free: 0.8828 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/1.021, allocations: 4 kB / 1.036 GB, free: 0.8789 MB / 0.6511 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001451/1.023, allocations: 0.611 MB / 1.036 GB, free: 304 kB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/1.023, allocations: 8 kB / 1.036 GB, free: 296 kB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/1.023, allocations: 3.984 kB / 1.036 GB, free: 292 kB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/1.023, allocations: 0 / 1.036 GB, free: 292 kB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002916/1.023, allocations: 95.39 kB / 1.036 GB, free: 200 kB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/1.023, allocations: 4 kB / 1.036 GB, free: 196 kB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.055e-05/1.023, allocations: 19.69 kB / 1.036 GB, free: 176 kB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-05/1.023, allocations: 19.98 kB / 1.036 GB, free: 156 kB / 0.6511 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 (43): * Single equations (assignments): 43 * 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.0001066/1.023, allocations: 119.3 kB / 1.037 GB, free: 32 kB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.549e-05/1.024, allocations: 23.41 kB / 1.037 GB, free: 12 kB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002262/1.026, allocations: 1.021 MB / 1.038 GB, free: 15.11 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/1.026, allocations: 4 kB / 1.038 GB, free: 15.11 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/1.026, allocations: 0 / 1.038 GB, free: 15.11 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/1.026, allocations: 7.984 kB / 1.038 GB, free: 15.1 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004329/1.026, allocations: 360.8 kB / 1.038 GB, free: 14.73 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/1.026, allocations: 0 / 1.038 GB, free: 14.73 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002725/1.027, allocations: 99.02 kB / 1.038 GB, free: 14.63 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.391e-06/1.027, allocations: 0 / 1.038 GB, free: 14.63 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.021e-05/1.027, allocations: 16 kB / 1.038 GB, free: 14.62 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/1.027, allocations: 4 kB / 1.038 GB, free: 14.61 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/1.027, allocations: 3.984 kB / 1.038 GB, free: 14.61 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001433/1.028, allocations: 0.6639 MB / 1.039 GB, free: 13.97 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001546/1.03, allocations: 1.034 MB / 1.04 GB, free: 12.96 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 5.803e-05/1.03, allocations: 104.7 kB / 1.04 GB, free: 12.84 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.32e-05/1.03, allocations: 0 / 1.04 GB, free: 12.84 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.746e-05/1.03, allocations: 0 / 1.04 GB, free: 12.84 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.814e-05/1.03, allocations: 38.77 kB / 1.04 GB, free: 12.8 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.634e-05/1.03, allocations: 27.05 kB / 1.04 GB, free: 12.78 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.965e-05/1.03, allocations: 110 kB / 1.04 GB, free: 12.68 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001297/1.031, allocations: 209.2 kB / 1.04 GB, free: 12.48 MB / 0.6667 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 (44): * Single equations (assignments): 44 * 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.0008926/1.032, allocations: 294 kB / 1.04 GB, free: 12.19 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0006999/1.033, allocations: 0.506 MB / 1.041 GB, free: 11.72 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/1.033, allocations: 0 / 1.041 GB, free: 11.72 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003558/1.033, allocations: 291 kB / 1.041 GB, free: 11.46 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002256/1.034, allocations: 23.11 kB / 1.041 GB, free: 11.44 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008311/1.034, allocations: 495.1 kB / 1.042 GB, free: 10.96 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005066/1.035, allocations: 0.8356 MB / 1.043 GB, free: 10.11 MB / 0.6667 GB Notification: Performance of SimCode: time 2.41e-07/1.035, allocations: 0 / 1.043 GB, free: 10.11 MB / 0.6667 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe 2>&1)