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: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource") [: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.7518/0.7518, allocations: 141.8 MB / 149.1 MB, free: 3.676 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.001222/0.001222, allocations: 186.9 kB / 181.9 MB, free: 15.45 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.4/1.4, allocations: 221.4 MB / 436 MB, free: 8.676 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.0009874/0.0009874, allocations: 100.7 kB / 0.507 GB, free: 24.25 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002036/0.002036, allocations: 280.5 kB / 0.5884 GB, free: 11.68 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 9.098e-06/9.157e-06, allocations: 4 kB / 0.676 GB, free: 1.969 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4199/0.4199, allocations: 82.75 MB / 0.7568 GB, free: 112.2 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1346/0.5546, allocations: 113.1 MB / 0.8672 GB, free: 14.93 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003437/0.555, allocations: 107.7 kB / 0.8673 GB, free: 14.83 MB / 0.5419 GB Notification: Performance of FrontEnd: time 0.02477/0.5798, allocations: 9.111 MB / 0.8762 GB, free: 5.746 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.128e-05/0.5798, allocations: 4 kB / 0.8762 GB, free: 5.742 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0008051/0.5806, allocations: 0.4913 MB / 0.8767 GB, free: 5.207 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.5807, allocations: 8.031 kB / 0.8767 GB, free: 5.199 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.185e-05/0.5808, allocations: 19.72 kB / 0.8767 GB, free: 5.18 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/0.5809, allocations: 186.8 kB / 0.8769 GB, free: 4.957 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.581, allocations: 8 kB / 0.8769 GB, free: 4.949 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.459e-05/0.581, allocations: 8 kB / 0.8769 GB, free: 4.941 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004308/0.5853, allocations: 2.54 MB / 0.8794 GB, free: 2.398 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005063/0.5859, allocations: 326.7 kB / 0.8797 GB, free: 2.074 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.5859, allocations: 0 / 0.8797 GB, free: 2.074 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.444e-05/0.5859, allocations: 0 / 0.8797 GB, free: 2.074 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.5859, allocations: 4 kB / 0.8797 GB, free: 2.07 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005191/0.5865, allocations: 349.7 kB / 0.8801 GB, free: 1.691 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000712/0.5872, allocations: 0.503 MB / 0.8806 GB, free: 1.18 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003459/0.5875, allocations: 236.7 kB / 0.8808 GB, free: 0.9453 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001839/0.5894, allocations: 1.46 MB / 0.8822 GB, free: 15.19 MB / 0.5575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.5894, allocations: 37 kB / 0.8822 GB, free: 15.15 MB / 0.5575 GB Notification: Performance of pre-optimization done (n=43): time 2.425e-06/0.5894, allocations: 0 / 0.8822 GB, free: 15.15 MB / 0.5575 GB Notification: Performance of matching and sorting (n=43): time 0.001663/0.5911, allocations: 0.6103 MB / 0.8828 GB, free: 14.53 MB / 0.5575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/0.5911, allocations: 55.41 kB / 0.8829 GB, free: 14.46 MB / 0.5575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.5913, allocations: 128.6 kB / 0.883 GB, free: 14.33 MB / 0.5575 GB Notification: Performance of collectPreVariables (initialization): time 3.789e-05/0.5913, allocations: 29.7 kB / 0.883 GB, free: 14.3 MB / 0.5575 GB Notification: Performance of collectInitialEqns (initialization): time 3.558e-05/0.5914, allocations: 84.92 kB / 0.8831 GB, free: 14.21 MB / 0.5575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001492/0.5915, allocations: 145.8 kB / 0.8833 GB, free: 14.06 MB / 0.5575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.637e-05/0.5916, allocations: 3.938 kB / 0.8833 GB, free: 14.06 MB / 0.5575 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.5917, allocations: 338.7 kB / 0.8836 GB, free: 13.72 MB / 0.5575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003077/0.592, allocations: 211.8 kB / 0.8838 GB, free: 13.51 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003127/0.5923, allocations: 216.1 kB / 0.884 GB, free: 13.3 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00103/0.5934, allocations: 311.7 kB / 0.8843 GB, free: 13 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.5934, allocations: 4 kB / 0.8843 GB, free: 12.99 MB / 0.5575 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001473/0.5949, allocations: 0.6149 MB / 0.8849 GB, free: 12.37 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.5949, allocations: 10.48 kB / 0.8849 GB, free: 12.36 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.188e-06/0.5949, allocations: 0 / 0.8849 GB, free: 12.36 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.5949, allocations: 4 kB / 0.8849 GB, free: 12.36 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000375/0.5953, allocations: 91.89 kB / 0.885 GB, free: 12.27 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/0.5953, allocations: 5.969 kB / 0.885 GB, free: 12.27 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.673e-05/0.5954, allocations: 15.84 kB / 0.885 GB, free: 12.25 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.223e-05/0.5955, allocations: 20 kB / 0.885 GB, free: 12.23 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 0.000122/0.5956, allocations: 108.8 kB / 0.8851 GB, free: 12.12 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.88e-05/0.5957, allocations: 23.8 kB / 0.8852 GB, free: 12.09 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002347/0.598, allocations: 1.019 MB / 0.8862 GB, free: 11.12 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.598, allocations: 7.984 kB / 0.8862 GB, free: 11.11 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.598, allocations: 4 kB / 0.8862 GB, free: 11.11 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.5981, allocations: 7.984 kB / 0.8862 GB, free: 11.1 MB / 0.5575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004587/0.5985, allocations: 361.7 kB / 0.8865 GB, free: 10.71 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.5985, allocations: 0 / 0.8865 GB, free: 10.71 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002921/0.5988, allocations: 103.8 kB / 0.8866 GB, free: 10.61 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.5988, allocations: 0 / 0.8866 GB, free: 10.61 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.71e-05/0.5989, allocations: 23.98 kB / 0.8866 GB, free: 10.59 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.5989, allocations: 0 / 0.8866 GB, free: 10.59 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.5989, allocations: 0 / 0.8866 GB, free: 10.59 MB / 0.5575 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001496/0.6004, allocations: 0.6548 MB / 0.8873 GB, free: 9.91 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.189e-05/0.6005, allocations: 100.9 kB / 0.8874 GB, free: 9.793 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.86e-05/0.6006, allocations: 7.891 kB / 0.8874 GB, free: 9.785 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.69e-05/0.6006, allocations: 0 / 0.8874 GB, free: 9.785 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.545e-05/0.6007, allocations: 35.97 kB / 0.8874 GB, free: 9.75 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-05/0.6008, allocations: 19.98 kB / 0.8874 GB, free: 9.73 MB / 0.5575 GB Notification: Performance of sort global known variables: time 6.704e-05/0.6009, allocations: 112 kB / 0.8876 GB, free: 9.621 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.0007178/0.6016, allocations: 211.6 kB / 0.8878 GB, free: 9.414 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.0006765/0.6023, allocations: 290.8 kB / 0.888 GB, free: 9.121 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 0.000761/0.603, allocations: 0.5034 MB / 0.8885 GB, free: 8.617 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.603, allocations: 0 / 0.8885 GB, free: 8.617 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003795/0.6034, allocations: 291.7 kB / 0.8888 GB, free: 8.332 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/0.6037, allocations: 31.84 kB / 0.8888 GB, free: 8.305 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009418/0.6046, allocations: 496.2 kB / 0.8893 GB, free: 7.797 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005431/0.6052, allocations: 0.8313 MB / 0.8901 GB, free: 6.938 MB / 0.5575 GB Notification: Performance of SimCode: time 4.41e-07/0.6052, allocations: 0 / 0.8901 GB, free: 6.938 MB / 0.5575 GB Notification: Performance of Templates: time 0.01097/0.6162, allocations: 6.426 MB / 0.8964 GB, free: 0.6758 MB / 0.5575 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe 2>&1)