Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.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: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint") [: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.7411/0.7411, allocations: 141.8 MB / 149.1 MB, free: 15.05 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.001161/0.001161, allocations: 176.6 kB / 182 MB, free: 11.43 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.395/1.395, allocations: 221.3 MB / 436 MB, free: 4.129 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.001035/0.001035, allocations: 99.52 kB / 0.507 GB, free: 18.65 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001851/0.001851, allocations: 268.5 kB / 0.5885 GB, free: 5.434 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 1.021e-05/1.024e-05, allocations: 2.438 kB / 0.6759 GB, free: 138.5 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1597, allocations: 82.78 MB / 0.7568 GB, free: 86.18 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1278/0.2875, allocations: 108.8 MB / 0.863 GB, free: 9.238 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002845/0.2878, allocations: 105.5 kB / 0.8631 GB, free: 9.137 MB / 0.5419 GB Notification: Performance of FrontEnd: time 0.005269/0.2931, allocations: 1.49 MB / 0.8646 GB, free: 7.645 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.2931, allocations: 4 kB / 0.8646 GB, free: 7.641 MB / 0.5419 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.0003117/0.2934, allocations: 346.3 kB / 0.8649 GB, free: 7.258 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.2935, allocations: 8.031 kB / 0.8649 GB, free: 7.25 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001171/0.2936, allocations: 7.984 kB / 0.8649 GB, free: 7.242 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.2937, allocations: 167.1 kB / 0.8651 GB, free: 7.039 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.2937, allocations: 3.906 kB / 0.8651 GB, free: 7.035 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.398e-05/0.2938, allocations: 7.938 kB / 0.8651 GB, free: 7.027 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.819e-05/0.2939, allocations: 4 kB / 0.8651 GB, free: 7.023 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.4e-05/0.2939, allocations: 41.69 kB / 0.8651 GB, free: 6.977 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.294, allocations: 0 / 0.8651 GB, free: 6.977 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.294, allocations: 4 kB / 0.8651 GB, free: 6.973 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.294, allocations: 0 / 0.8651 GB, free: 6.973 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002248/0.2942, allocations: 130.2 kB / 0.8653 GB, free: 6.809 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00017/0.2944, allocations: 50.52 kB / 0.8653 GB, free: 6.75 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.839e-05/0.2944, allocations: 16.86 kB / 0.8653 GB, free: 6.73 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009589/0.2954, allocations: 1.478 MB / 0.8668 GB, free: 4.902 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.2954, allocations: 34.56 kB / 0.8668 GB, free: 4.859 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=4): time 1.403e-06/0.2955, allocations: 0 / 0.8668 GB, free: 4.859 MB / 0.5419 GB Notification: Performance of matching and sorting (n=4): time 0.0002015/0.2957, allocations: 45.69 kB / 0.8669 GB, free: 4.809 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.967e-05/0.2957, allocations: 51.41 kB / 0.8669 GB, free: 4.746 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.263e-05/0.2957, allocations: 85 kB / 0.867 GB, free: 4.656 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.2958, allocations: 29.64 kB / 0.867 GB, free: 4.621 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 3.598e-05/0.2958, allocations: 80.14 kB / 0.8671 GB, free: 4.539 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 3.46e-05/0.2958, allocations: 23.75 kB / 0.8671 GB, free: 4.516 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-06/0.2959, allocations: 0 / 0.8671 GB, free: 4.516 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.296, allocations: 314.8 kB / 0.8674 GB, free: 4.199 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.955e-05/0.296, allocations: 8 kB / 0.8674 GB, free: 4.191 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.312e-05/0.296, allocations: 4 kB / 0.8674 GB, free: 4.188 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.033e-05/0.2961, allocations: 8 kB / 0.8674 GB, free: 4.18 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2961, allocations: 0 / 0.8674 GB, free: 4.18 MB / 0.5419 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001105/0.2962, allocations: 57.53 kB / 0.8675 GB, free: 4.117 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.2962, allocations: 8 kB / 0.8675 GB, free: 4.109 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.2962, allocations: 4 kB / 0.8675 GB, free: 4.105 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.2963, allocations: 3.984 kB / 0.8675 GB, free: 4.102 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.953e-05/0.2963, allocations: 8 kB / 0.8675 GB, free: 4.094 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.2964, allocations: 0 / 0.8675 GB, free: 4.094 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.289e-05/0.2964, allocations: 0 / 0.8675 GB, free: 4.094 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.615e-06/0.2964, allocations: 0 / 0.8675 GB, free: 4.094 MB / 0.5419 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 (5): * Single equations (assignments): 5 * 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 8.112e-05/0.2965, allocations: 116.8 kB / 0.8676 GB, free: 3.973 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.377e-06/0.2965, allocations: 0 / 0.8676 GB, free: 3.973 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001581/0.2967, allocations: 69.23 kB / 0.8677 GB, free: 3.895 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.2967, allocations: 4 kB / 0.8677 GB, free: 3.891 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.2967, allocations: 3.938 kB / 0.8677 GB, free: 3.887 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.2967, allocations: 0 / 0.8677 GB, free: 3.887 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001105/0.2968, allocations: 142.1 kB / 0.8678 GB, free: 3.711 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2968, allocations: 256 / 0.8678 GB, free: 3.711 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.566e-05/0.2969, allocations: 12 kB / 0.8678 GB, free: 3.699 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.2969, allocations: 0 / 0.8678 GB, free: 3.699 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.839e-06/0.2969, allocations: 4 kB / 0.8678 GB, free: 3.695 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.2969, allocations: 3.984 kB / 0.8678 GB, free: 3.691 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.2969, allocations: 3.938 kB / 0.8679 GB, free: 3.688 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001736/0.2971, allocations: 98.72 kB / 0.8679 GB, free: 3.574 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.523e-05/0.2972, allocations: 77.11 kB / 0.868 GB, free: 3.48 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/0.2972, allocations: 0 / 0.868 GB, free: 3.48 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.813e-05/0.2972, allocations: 7.906 kB / 0.868 GB, free: 3.473 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.08e-05/0.2972, allocations: 8.047 kB / 0.868 GB, free: 3.465 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.2972, allocations: 0 / 0.868 GB, free: 3.465 MB / 0.5419 GB Notification: Performance of sort global known variables: time 2.806e-05/0.2973, allocations: 75.28 kB / 0.8681 GB, free: 3.391 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0002453/0.2975, allocations: 40 kB / 0.8681 GB, free: 3.352 MB / 0.5419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (erfint_num) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0003887/0.2979, allocations: 177.2 kB / 0.8683 GB, free: 3.168 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 9.047e-05/0.298, allocations: 27.94 kB / 0.8683 GB, free: 3.141 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.298, allocations: 0 / 0.8683 GB, free: 3.141 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 3.165e-05/0.2981, allocations: 16 kB / 0.8684 GB, free: 3.125 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001004/0.2982, allocations: 4 kB / 0.8684 GB, free: 3.121 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002594/0.2984, allocations: 80.2 kB / 0.8684 GB, free: 3.02 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003171/0.2988, allocations: 0.6876 MB / 0.8691 GB, free: 2.309 MB / 0.5419 GB Notification: Performance of SimCode: time 2.5e-07/0.2988, allocations: 0 / 0.8691 GB, free: 2.309 MB / 0.5419 GB Notification: Performance of Templates: time 0.003185/0.302, allocations: 0.9062 MB / 0.87 GB, free: 1.445 MB / 0.5419 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.pipe 2>&1)