Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7342/0.7342, allocations: 141.8 MB / 149.1 MB, free: 11.6 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 177.1 kB / 181.9 MB, free: 8.402 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.292/1.292, allocations: 221.3 MB / 436 MB, free: 0.7422 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 96.78 kB / 0.507 GB, free: 9.719 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001812/0.001812, allocations: 272.2 kB / 0.5884 GB, free: 6.527 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1928/0.1946, allocations: 89.69 MB / 0.676 GB, free: 12.75 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3923/0.587, allocations: 82.77 MB / 0.7569 GB, free: 137.7 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1707/0.7577, allocations: 113.1 MB / 0.8673 GB, free: 24.43 MB / 0.5575 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003684/0.7581, allocations: 107.8 kB / 0.8674 GB, free: 24.32 MB / 0.5575 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.02262/0.7808, allocations: 9.61 MB / 0.8768 GB, free: 14.7 MB / 0.5575 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.7809, allocations: 15.94 kB / 0.8768 GB, free: 14.68 MB / 0.5575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.174e-05/0.7809, allocations: 19.72 kB / 0.8769 GB, free: 14.66 MB / 0.5575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.991e-05/0.781, allocations: 186.8 kB / 0.877 GB, free: 14.44 MB / 0.5575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.7811, allocations: 8 kB / 0.877 GB, free: 14.43 MB / 0.5575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.472e-05/0.7811, allocations: 8 kB / 0.877 GB, free: 14.42 MB / 0.5575 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003635/0.7848, allocations: 2.54 MB / 0.8795 GB, free: 11.88 MB / 0.5575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004701/0.7852, allocations: 325.3 kB / 0.8798 GB, free: 11.55 MB / 0.5575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.7853, allocations: 0 / 0.8798 GB, free: 11.55 MB / 0.5575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.704e-05/0.7853, allocations: 3.984 kB / 0.8798 GB, free: 11.55 MB / 0.5575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.789e-06/0.7853, allocations: 4 kB / 0.8798 GB, free: 11.55 MB / 0.5575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005035/0.7858, allocations: 349.7 kB / 0.8802 GB, free: 11.17 MB / 0.5575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006651/0.7865, allocations: 0.5108 MB / 0.8807 GB, free: 10.65 MB / 0.5575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003117/0.7868, allocations: 232.7 kB / 0.8809 GB, free: 10.42 MB / 0.5575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001415/0.7883, allocations: 1.452 MB / 0.8823 GB, free: 8.672 MB / 0.5575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.7883, allocations: 39.22 kB / 0.8824 GB, free: 8.625 MB / 0.5575 GB Notification: Performance of pre-optimization done (n=43): time 1.803e-06/0.7883, allocations: 0 / 0.8824 GB, free: 8.625 MB / 0.5575 GB Notification: Performance of matching and sorting (n=43): time 0.001529/0.7898, allocations: 0.6103 MB / 0.883 GB, free: 8.008 MB / 0.5575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.8e-05/0.7899, allocations: 55.41 kB / 0.883 GB, free: 7.941 MB / 0.5575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.587e-05/0.79, allocations: 125.3 kB / 0.8831 GB, free: 7.809 MB / 0.5575 GB Notification: Performance of collectPreVariables (initialization): time 3.198e-05/0.79, allocations: 25.7 kB / 0.8831 GB, free: 7.777 MB / 0.5575 GB Notification: Performance of collectInitialEqns (initialization): time 1.591e-05/0.79, allocations: 88.92 kB / 0.8832 GB, free: 7.688 MB / 0.5575 GB Notification: Performance of collectInitialBindings (initialization): time 9.732e-05/0.7901, allocations: 145.8 kB / 0.8834 GB, free: 7.543 MB / 0.5575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-05/0.7902, allocations: 0 / 0.8834 GB, free: 7.543 MB / 0.5575 GB Notification: Performance of setup shared object (initialization): time 5.906e-05/0.7902, allocations: 334.7 kB / 0.8837 GB, free: 7.207 MB / 0.5575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000273/0.7905, allocations: 215.8 kB / 0.8839 GB, free: 6.996 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002625/0.7908, allocations: 220.1 kB / 0.8841 GB, free: 6.781 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009432/0.7917, allocations: 319.6 kB / 0.8844 GB, free: 6.469 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.155e-06/0.7917, allocations: 0 / 0.8844 GB, free: 6.469 MB / 0.5575 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001348/0.7931, allocations: 0.611 MB / 0.885 GB, free: 5.852 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.7931, allocations: 4 kB / 0.885 GB, free: 5.848 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.7931, allocations: 0 / 0.885 GB, free: 5.848 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.7931, allocations: 4 kB / 0.885 GB, free: 5.844 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002925/0.7934, allocations: 95.89 kB / 0.8851 GB, free: 5.75 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.7934, allocations: 3.906 kB / 0.8851 GB, free: 5.746 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.161e-05/0.7935, allocations: 11.84 kB / 0.8851 GB, free: 5.734 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.675e-05/0.7936, allocations: 31.98 kB / 0.8852 GB, free: 5.703 MB / 0.5575 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 9.28e-05/0.7937, allocations: 108.8 kB / 0.8853 GB, free: 5.59 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.247e-05/0.7937, allocations: 19.75 kB / 0.8853 GB, free: 5.57 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002069/0.7958, allocations: 1.023 MB / 0.8863 GB, free: 4.59 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.7958, allocations: 4 kB / 0.8863 GB, free: 4.586 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.7958, allocations: 0 / 0.8863 GB, free: 4.586 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.7958, allocations: 3.984 kB / 0.8863 GB, free: 4.582 MB / 0.5575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000386/0.7962, allocations: 365.7 kB / 0.8866 GB, free: 4.188 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.7962, allocations: 3.984 kB / 0.8866 GB, free: 4.184 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002708/0.7965, allocations: 99.8 kB / 0.8867 GB, free: 4.086 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.7965, allocations: 0 / 0.8867 GB, free: 4.086 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.966e-05/0.7966, allocations: 20 kB / 0.8868 GB, free: 4.066 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.7966, allocations: 0 / 0.8868 GB, free: 4.066 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.7966, allocations: 0 / 0.8868 GB, free: 4.066 MB / 0.5575 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001365/0.798, allocations: 0.6626 MB / 0.8874 GB, free: 3.387 MB / 0.5575 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00139/0.7994, allocations: 1.037 MB / 0.8884 GB, free: 2.328 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.686e-05/0.7994, allocations: 100.9 kB / 0.8885 GB, free: 2.211 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.171e-05/0.7995, allocations: 3.906 kB / 0.8885 GB, free: 2.207 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.884e-05/0.7995, allocations: 0 / 0.8885 GB, free: 2.207 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.971e-05/0.7996, allocations: 35.95 kB / 0.8885 GB, free: 2.172 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.454e-05/0.7997, allocations: 24 kB / 0.8886 GB, free: 2.148 MB / 0.5575 GB Notification: Performance of sort global known variables: time 4.695e-05/0.7997, allocations: 116.9 kB / 0.8887 GB, free: 2.035 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.001228/0.801, allocations: 203.7 kB / 0.8889 GB, free: 1.836 MB / 0.5575 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.0009405/0.8019, allocations: 294.8 kB / 0.8892 GB, free: 1.539 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 0.000732/0.8026, allocations: 0.5119 MB / 0.8897 GB, free: 1.027 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.8027, allocations: 0 / 0.8897 GB, free: 1.027 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003615/0.803, allocations: 291.7 kB / 0.8899 GB, free: 0.7422 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.8033, allocations: 21.39 kB / 0.89 GB, free: 0.7227 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009658/0.8043, allocations: 0.4885 MB / 0.8904 GB, free: 212 kB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006703/0.805, allocations: 0.8328 MB / 0.8912 GB, free: 15.34 MB / 0.5732 GB Notification: Performance of SimCode: time 5.71e-07/0.805, allocations: 0 / 0.8912 GB, free: 15.34 MB / 0.5732 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe 2>&1)