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_Length.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_Length,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length") [: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.7942/0.7942, allocations: 141.8 MB / 149.1 MB, free: 4.551 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 180.5 kB / 181.9 MB, free: 208 kB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 221.3 MB / 436 MB, free: 9.34 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.001048/0.001048, allocations: 94.39 kB / 0.507 GB, free: 24.24 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001842/0.001842, allocations: 272.9 kB / 0.5884 GB, free: 12.37 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 9.097e-06/9.137e-06, allocations: 3.938 kB / 0.6759 GB, free: 2.688 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4602/0.4603, allocations: 82.76 MB / 0.7568 GB, free: 112.9 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1219/0.5822, allocations: 111.9 MB / 0.866 GB, free: 0.9336 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002488/0.5825, allocations: 104.7 kB / 0.8661 GB, free: 0.8359 MB / 0.5263 GB Notification: Performance of FrontEnd: time 0.008646/0.5912, allocations: 2.742 MB / 0.8688 GB, free: 14.13 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 7.664e-06/0.5912, allocations: 0.5625 kB / 0.8688 GB, free: 14.13 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003295/0.5915, allocations: 371.2 kB / 0.8691 GB, free: 13.72 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.5916, allocations: 11.97 kB / 0.8691 GB, free: 13.71 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.064e-05/0.5916, allocations: 4.656 kB / 0.8692 GB, free: 13.71 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.5918, allocations: 167 kB / 0.8693 GB, free: 13.5 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.5918, allocations: 4 kB / 0.8693 GB, free: 13.5 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.435e-05/0.5918, allocations: 5.312 kB / 0.8693 GB, free: 13.5 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001238/0.5919, allocations: 47.89 kB / 0.8694 GB, free: 13.45 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.156e-05/0.592, allocations: 45.67 kB / 0.8694 GB, free: 13.4 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.592, allocations: 0 / 0.8694 GB, free: 13.4 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.592, allocations: 0 / 0.8694 GB, free: 13.4 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.5921, allocations: 0 / 0.8694 GB, free: 13.4 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001691/0.5922, allocations: 154.1 kB / 0.8696 GB, free: 13.21 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 9.394e-05/0.5923, allocations: 46.64 kB / 0.8696 GB, free: 13.16 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.496e-05/0.5924, allocations: 20.98 kB / 0.8696 GB, free: 13.13 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.646e-05/0.5924, allocations: 3.984 kB / 0.8696 GB, free: 13.13 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.5925, allocations: 38.56 kB / 0.8697 GB, free: 13.08 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.5925, allocations: 3.938 kB / 0.8697 GB, free: 13.08 MB / 0.5419 GB Notification: Performance of matching and sorting (n=6): time 0.0002547/0.5927, allocations: 61.69 kB / 0.8697 GB, free: 13.01 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.807e-05/0.5928, allocations: 55.31 kB / 0.8698 GB, free: 12.95 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.932e-05/0.5929, allocations: 106.8 kB / 0.8699 GB, free: 12.84 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.5929, allocations: 25.7 kB / 0.8699 GB, free: 12.8 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 2.597e-05/0.593, allocations: 80.14 kB / 0.87 GB, free: 12.72 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 3.587e-05/0.593, allocations: 15.81 kB / 0.87 GB, free: 12.71 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.523e-06/0.593, allocations: 0 / 0.87 GB, free: 12.71 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.5931, allocations: 322.8 kB / 0.8703 GB, free: 12.38 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.8e-05/0.5932, allocations: 8 kB / 0.8703 GB, free: 12.38 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.675e-05/0.5932, allocations: 12 kB / 0.8703 GB, free: 12.36 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.675e-05/0.5933, allocations: 15.98 kB / 0.8703 GB, free: 12.35 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.5933, allocations: 7.906 kB / 0.8703 GB, free: 12.34 MB / 0.5419 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001737/0.5935, allocations: 69.62 kB / 0.8704 GB, free: 12.27 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 9.958e-06/0.5935, allocations: 4 kB / 0.8704 GB, free: 12.26 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.5935, allocations: 0 / 0.8704 GB, free: 12.26 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.739e-06/0.5935, allocations: 0 / 0.8704 GB, free: 12.26 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.052e-05/0.5936, allocations: 15.98 kB / 0.8704 GB, free: 12.25 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.5936, allocations: 0 / 0.8704 GB, free: 12.25 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.312e-05/0.5937, allocations: 11.84 kB / 0.8704 GB, free: 12.23 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.5937, allocations: 4 kB / 0.8704 GB, free: 12.23 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 (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 7.27e-05/0.5938, allocations: 109 kB / 0.8705 GB, free: 12.12 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.211e-05/0.5938, allocations: 4.938 kB / 0.8706 GB, free: 12.11 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005439/0.5943, allocations: 234 kB / 0.8708 GB, free: 11.9 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.5943, allocations: 0 / 0.8708 GB, free: 11.9 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.5944, allocations: 4 kB / 0.8708 GB, free: 11.89 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.5944, allocations: 0 / 0.8708 GB, free: 11.89 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000134/0.5945, allocations: 162.1 kB / 0.8709 GB, free: 11.7 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.5945, allocations: 7.984 kB / 0.8709 GB, free: 11.69 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.5946, allocations: 24 kB / 0.871 GB, free: 11.67 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.5946, allocations: 3.984 kB / 0.871 GB, free: 11.66 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.5947, allocations: 4 kB / 0.871 GB, free: 11.66 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.5947, allocations: 0 / 0.871 GB, free: 11.66 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.5947, allocations: 0.75 kB / 0.871 GB, free: 11.66 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002389/0.5949, allocations: 141.3 kB / 0.8711 GB, free: 11.5 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.642e-05/0.595, allocations: 85.25 kB / 0.8712 GB, free: 11.4 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.368e-05/0.595, allocations: 11.91 kB / 0.8712 GB, free: 11.39 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.599e-05/0.595, allocations: 7.984 kB / 0.8712 GB, free: 11.38 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.277e-05/0.5951, allocations: 7.984 kB / 0.8712 GB, free: 11.38 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.5951, allocations: 8 kB / 0.8712 GB, free: 11.37 MB / 0.5419 GB Notification: Performance of sort global known variables: time 3.317e-05/0.5951, allocations: 79.28 kB / 0.8713 GB, free: 11.29 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.000265/0.5954, allocations: 68.98 kB / 0.8714 GB, free: 11.22 MB / 0.5419 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.0004298/0.5958, allocations: 195.1 kB / 0.8716 GB, free: 11.02 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.000134/0.596, allocations: 51.92 kB / 0.8716 GB, free: 10.97 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.596, allocations: 3.938 kB / 0.8716 GB, free: 10.97 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 6.466e-05/0.596, allocations: 47.92 kB / 0.8717 GB, free: 10.92 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001556/0.5962, allocations: 7.422 kB / 0.8717 GB, free: 10.92 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003101/0.5965, allocations: 111.6 kB / 0.8718 GB, free: 10.79 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002887/0.5968, allocations: 0.7192 MB / 0.8725 GB, free: 10.04 MB / 0.5419 GB Notification: Performance of SimCode: time 2.5e-07/0.5968, allocations: 0 / 0.8725 GB, free: 10.04 MB / 0.5419 GB Notification: Performance of Templates: time 0.004399/0.6012, allocations: 1.872 MB / 0.8743 GB, free: 8.234 MB / 0.5419 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.pipe 2>&1)