Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.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_Integrand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand") [: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.7533/0.7533, allocations: 141.8 MB / 149.1 MB, free: 8.441 MB / 139.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 175.9 kB / 181.9 MB, free: 5.656 MB / 155.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 221.4 MB / 436 MB, free: 13.63 MB / 347.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 108.1 kB / 0.507 GB, free: 6.922 MB / 395.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001852/0.001852, allocations: 278.8 kB / 0.5884 GB, free: 3.719 MB / 475.1 MB Notification: Performance of FrontEnd - loaded program: time 8.275e-06/8.305e-06, allocations: 2.219 kB / 0.6759 GB, free: 165.1 MB / 0.5421 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1682, allocations: 82.79 MB / 0.7568 GB, free: 111.5 MB / 0.5421 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1294/0.2977, allocations: 110.4 MB / 0.8646 GB, free: 0.9883 MB / 0.5421 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002363/0.298, allocations: 108.5 kB / 0.8647 GB, free: 0.8828 MB / 0.5421 GB Notification: Performance of FrontEnd: time 0.006923/0.3049, allocations: 2.168 MB / 0.8668 GB, free: 14.71 MB / 0.5577 GB Notification: Performance of Transformations before backend: time 1.108e-05/0.305, allocations: 4 kB / 0.8668 GB, free: 14.71 MB / 0.5577 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003191/0.3053, allocations: 346.4 kB / 0.8671 GB, free: 14.32 MB / 0.5577 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.3053, allocations: 12.03 kB / 0.8671 GB, free: 14.31 MB / 0.5577 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.054e-05/0.3054, allocations: 0 / 0.8671 GB, free: 14.31 MB / 0.5577 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/0.3055, allocations: 167 kB / 0.8673 GB, free: 14.11 MB / 0.5577 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.3056, allocations: 0 / 0.8673 GB, free: 14.11 MB / 0.5577 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.097e-06/0.3056, allocations: 3.938 kB / 0.8673 GB, free: 14.11 MB / 0.5577 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.296e-05/0.3056, allocations: 15.92 kB / 0.8673 GB, free: 14.09 MB / 0.5577 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.858e-05/0.3057, allocations: 33.7 kB / 0.8673 GB, free: 14.05 MB / 0.5577 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.931e-06/0.3057, allocations: 0 / 0.8673 GB, free: 14.05 MB / 0.5577 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.687e-06/0.3057, allocations: 0 / 0.8673 GB, free: 14.05 MB / 0.5577 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.3057, allocations: 0 / 0.8673 GB, free: 14.05 MB / 0.5577 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001773/0.3059, allocations: 138.1 kB / 0.8675 GB, free: 13.88 MB / 0.5577 GB Notification: Performance of preOpt comSubExp (simulation): time 5.704e-05/0.306, allocations: 26.61 kB / 0.8675 GB, free: 13.84 MB / 0.5577 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.675e-05/0.306, allocations: 4.859 kB / 0.8675 GB, free: 13.84 MB / 0.5577 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004199/0.3064, allocations: 133.1 kB / 0.8676 GB, free: 13.69 MB / 0.5577 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.3065, allocations: 30.56 kB / 0.8676 GB, free: 13.65 MB / 0.5577 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.3065, allocations: 0 / 0.8676 GB, free: 13.65 MB / 0.5577 GB Notification: Performance of matching and sorting (n=2): time 0.000179/0.3067, allocations: 41.62 kB / 0.8677 GB, free: 13.6 MB / 0.5577 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.3067, allocations: 55.31 kB / 0.8677 GB, free: 13.54 MB / 0.5577 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.421e-05/0.3068, allocations: 101 kB / 0.8678 GB, free: 13.43 MB / 0.5577 GB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.3068, allocations: 25.7 kB / 0.8679 GB, free: 13.4 MB / 0.5577 GB Notification: Performance of collectInitialEqns (initialization): time 3.297e-05/0.3069, allocations: 80.14 kB / 0.8679 GB, free: 13.32 MB / 0.5577 GB Notification: Performance of collectInitialBindings (initialization): time 2.929e-05/0.3069, allocations: 7.938 kB / 0.8679 GB, free: 13.31 MB / 0.5577 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-06/0.3069, allocations: 0 / 0.8679 GB, free: 13.31 MB / 0.5577 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.307, allocations: 318.7 kB / 0.8682 GB, free: 12.99 MB / 0.5577 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.868e-06/0.307, allocations: 4 kB / 0.8683 GB, free: 12.98 MB / 0.5577 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.009e-05/0.3071, allocations: 4 kB / 0.8683 GB, free: 12.98 MB / 0.5577 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.825e-05/0.3071, allocations: 4.062 kB / 0.8683 GB, free: 12.98 MB / 0.5577 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.3071, allocations: 3.938 kB / 0.8683 GB, free: 12.97 MB / 0.5577 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.726e-05/0.3072, allocations: 45.64 kB / 0.8683 GB, free: 12.92 MB / 0.5577 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.3072, allocations: 7.125 kB / 0.8683 GB, free: 12.92 MB / 0.5577 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.3072, allocations: 0 / 0.8683 GB, free: 12.92 MB / 0.5577 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.3072, allocations: 0 / 0.8683 GB, free: 12.92 MB / 0.5577 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.597e-05/0.3073, allocations: 7.984 kB / 0.8683 GB, free: 12.91 MB / 0.5577 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.3073, allocations: 1.25 kB / 0.8683 GB, free: 12.91 MB / 0.5577 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.411e-05/0.3073, allocations: 3.906 kB / 0.8683 GB, free: 12.91 MB / 0.5577 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-06/0.3073, allocations: 4.031 kB / 0.8683 GB, free: 12.9 MB / 0.5577 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 (2): * Single equations (assignments): 2 * 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.934e-05/0.3074, allocations: 107.2 kB / 0.8684 GB, free: 12.79 MB / 0.5577 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.772e-06/0.3074, allocations: 0 / 0.8684 GB, free: 12.79 MB / 0.5577 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001191/0.3075, allocations: 56.42 kB / 0.8685 GB, free: 12.74 MB / 0.5577 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.3075, allocations: 3.938 kB / 0.8685 GB, free: 12.73 MB / 0.5577 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.3075, allocations: 0 / 0.8685 GB, free: 12.73 MB / 0.5577 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.3075, allocations: 0 / 0.8685 GB, free: 12.73 MB / 0.5577 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.905e-05/0.3076, allocations: 134.2 kB / 0.8686 GB, free: 12.57 MB / 0.5577 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.3077, allocations: 4 kB / 0.8686 GB, free: 12.56 MB / 0.5577 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.771e-05/0.3077, allocations: 7.969 kB / 0.8686 GB, free: 12.55 MB / 0.5577 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.3077, allocations: 0 / 0.8686 GB, free: 12.55 MB / 0.5577 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.121e-06/0.3077, allocations: 4 kB / 0.8686 GB, free: 12.55 MB / 0.5577 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.3077, allocations: 0 / 0.8686 GB, free: 12.55 MB / 0.5577 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.3077, allocations: 3.906 kB / 0.8686 GB, free: 12.55 MB / 0.5577 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.91e-05/0.3078, allocations: 61.12 kB / 0.8687 GB, free: 12.47 MB / 0.5577 GB Notification: Performance of postOpt removeConstants (simulation): time 4.413e-05/0.3078, allocations: 85.02 kB / 0.8688 GB, free: 12.37 MB / 0.5577 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.3079, allocations: 256 / 0.8688 GB, free: 12.37 MB / 0.5577 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.12e-05/0.3079, allocations: 8.031 kB / 0.8688 GB, free: 12.36 MB / 0.5577 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.459e-05/0.3079, allocations: 0 / 0.8688 GB, free: 12.36 MB / 0.5577 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.818e-06/0.3079, allocations: 4 kB / 0.8688 GB, free: 12.36 MB / 0.5577 GB Notification: Performance of sort global known variables: time 3.096e-05/0.3079, allocations: 79.28 kB / 0.8689 GB, free: 12.28 MB / 0.5577 GB Notification: Performance of remove unused functions: time 0.0002485/0.3082, allocations: 51.92 kB / 0.8689 GB, free: 12.23 MB / 0.5577 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 (2): * Single equations (assignments): 2 * 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.000432/0.3086, allocations: 183.1 kB / 0.8691 GB, free: 12.04 MB / 0.5577 GB Notification: Performance of simCode: created initialization part: time 6.912e-05/0.3087, allocations: 19.92 kB / 0.8691 GB, free: 12.02 MB / 0.5577 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3087, allocations: 0 / 0.8691 GB, free: 12.02 MB / 0.5577 GB Notification: Performance of simCode: created simulation system equations: time 1.074e-05/0.3087, allocations: 8 kB / 0.8691 GB, free: 12.01 MB / 0.5577 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001411/0.3089, allocations: 5 kB / 0.8691 GB, free: 12 MB / 0.5577 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001944/0.3091, allocations: 63.83 kB / 0.8692 GB, free: 11.92 MB / 0.5577 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002426/0.3093, allocations: 0.688 MB / 0.8699 GB, free: 11.2 MB / 0.5577 GB Notification: Performance of SimCode: time 2.61e-07/0.3093, allocations: 4.125 kB / 0.8699 GB, free: 11.2 MB / 0.5577 GB Notification: Performance of Templates: time 0.003465/0.3128, allocations: 1.246 MB / 0.8711 GB, free: 10.01 MB / 0.5577 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.pipe 2>&1)