Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.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.Validation.Cylindrical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical") [: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.7521/0.7521, allocations: 141.8 MB / 149.1 MB, free: 4.395 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.001489/0.001489, allocations: 177.2 kB / 181.9 MB, free: 68 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.395/1.395, allocations: 221.3 MB / 436 MB, free: 9.242 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.001004/0.001004, allocations: 99.91 kB / 0.507 GB, free: 24.22 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001853/0.001853, allocations: 269.1 kB / 0.5884 GB, free: 12.23 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 8.847e-06/8.887e-06, allocations: 0 / 0.6759 GB, free: 2.578 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4658/0.4658, allocations: 82.77 MB / 0.7567 GB, free: 112.8 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1292/0.5951, allocations: 115.8 MB / 0.8699 GB, free: 12.82 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002783/0.5954, allocations: 108.3 kB / 0.87 GB, free: 12.72 MB / 0.5419 GB Notification: Performance of FrontEnd: time 0.05334/0.6487, allocations: 15.97 MB / 0.8856 GB, free: 12.73 MB / 0.5575 GB Notification: Performance of Transformations before backend: time 2.357e-05/0.6488, allocations: 8 kB / 0.8856 GB, free: 12.73 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.002054/0.6509, allocations: 0.7961 MB / 0.8864 GB, free: 11.88 MB / 0.5575 GB Notification: Performance of prepare preOptimizeDAE: time 5.7e-05/0.6509, allocations: 13.03 kB / 0.8864 GB, free: 11.87 MB / 0.5575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001328/0.6511, allocations: 40.38 kB / 0.8864 GB, free: 11.83 MB / 0.5575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006188/0.6517, allocations: 376.2 kB / 0.8868 GB, free: 11.42 MB / 0.5575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.6517, allocations: 4 kB / 0.8868 GB, free: 11.41 MB / 0.5575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.963e-05/0.6518, allocations: 27.91 kB / 0.8868 GB, free: 11.39 MB / 0.5575 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002948/0.6521, allocations: 159.9 kB / 0.8869 GB, free: 11.23 MB / 0.5575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002952/0.6524, allocations: 185.6 kB / 0.8871 GB, free: 11.04 MB / 0.5575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.6525, allocations: 3.984 kB / 0.8871 GB, free: 11.04 MB / 0.5575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.065e-05/0.6525, allocations: 3.938 kB / 0.8871 GB, free: 11.04 MB / 0.5575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.6525, allocations: 4 kB / 0.8871 GB, free: 11.03 MB / 0.5575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001448/0.654, allocations: 0.9574 MB / 0.8881 GB, free: 10.03 MB / 0.5575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003731/0.6543, allocations: 290.8 kB / 0.8883 GB, free: 9.734 MB / 0.5575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001744/0.6545, allocations: 128.8 kB / 0.8885 GB, free: 9.605 MB / 0.5575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/0.6546, allocations: 11.94 kB / 0.8885 GB, free: 9.594 MB / 0.5575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.6546, allocations: 34.55 kB / 0.8885 GB, free: 9.551 MB / 0.5575 GB Notification: Performance of pre-optimization done (n=24): time 1.533e-06/0.6546, allocations: 0 / 0.8885 GB, free: 9.551 MB / 0.5575 GB Notification: Performance of matching and sorting (n=24): time 0.0006843/0.6553, allocations: 334.1 kB / 0.8888 GB, free: 9.219 MB / 0.5575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.6553, allocations: 59.31 kB / 0.8889 GB, free: 9.148 MB / 0.5575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004187/0.6558, allocations: 326.7 kB / 0.8892 GB, free: 8.82 MB / 0.5575 GB Notification: Performance of collectPreVariables (initialization): time 5.587e-05/0.6558, allocations: 25.7 kB / 0.8892 GB, free: 8.789 MB / 0.5575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.656, allocations: 141.1 kB / 0.8894 GB, free: 8.645 MB / 0.5575 GB Notification: Performance of collectInitialBindings (initialization): time 0.000108/0.6561, allocations: 90.66 kB / 0.8894 GB, free: 8.555 MB / 0.5575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.125e-05/0.6561, allocations: 0 / 0.8894 GB, free: 8.555 MB / 0.5575 GB Notification: Performance of setup shared object (initialization): time 0.0001767/0.6563, allocations: 350.8 kB / 0.8898 GB, free: 8.203 MB / 0.5575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005534/0.6569, allocations: 333.2 kB / 0.8901 GB, free: 7.879 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005555/0.6574, allocations: 396.3 kB / 0.8905 GB, free: 7.484 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005658/0.658, allocations: 378.9 kB / 0.8908 GB, free: 7.113 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.658, allocations: 9.5 kB / 0.8908 GB, free: 7.105 MB / 0.5575 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001426/0.6595, allocations: 0.8712 MB / 0.8917 GB, free: 6.223 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.6595, allocations: 4 kB / 0.8917 GB, free: 6.219 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.6595, allocations: 0 / 0.8917 GB, free: 6.219 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001627/0.6597, allocations: 24.84 kB / 0.8917 GB, free: 6.191 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009428/0.6606, allocations: 147.8 kB / 0.8919 GB, free: 6.047 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001185/0.6618, allocations: 1.287 MB / 0.8931 GB, free: 4.648 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001577/0.6634, allocations: 87.34 kB / 0.8932 GB, free: 4.562 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.751e-05/0.6635, allocations: 23.97 kB / 0.8932 GB, free: 4.539 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 (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001453/0.6636, allocations: 116.8 kB / 0.8933 GB, free: 4.418 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.51e-05/0.6637, allocations: 27.62 kB / 0.8934 GB, free: 4.391 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.964e-05/0.6638, allocations: 43.3 kB / 0.8934 GB, free: 4.352 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.6638, allocations: 7.984 kB / 0.8934 GB, free: 4.344 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.6638, allocations: 0 / 0.8934 GB, free: 4.344 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.6638, allocations: 0 / 0.8934 GB, free: 4.344 MB / 0.5575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005157/0.6643, allocations: 477.4 kB / 0.8939 GB, free: 3.84 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.6644, allocations: 4 kB / 0.8939 GB, free: 3.836 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002946/0.6647, allocations: 52.88 kB / 0.8939 GB, free: 3.785 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.892e-05/0.6648, allocations: 28.84 kB / 0.8939 GB, free: 3.754 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.587e-05/0.6648, allocations: 7.984 kB / 0.894 GB, free: 3.746 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009697/0.6658, allocations: 1.279 MB / 0.8952 GB, free: 2.348 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.6658, allocations: 0 / 0.8952 GB, free: 2.348 MB / 0.5575 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007243/0.6665, allocations: 0.5821 MB / 0.8958 GB, free: 1.742 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.6666, allocations: 116.6 kB / 0.8959 GB, free: 1.609 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.477e-05/0.6667, allocations: 7.984 kB / 0.8959 GB, free: 1.602 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006963/0.6674, allocations: 23.81 kB / 0.8959 GB, free: 1.578 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.581e-05/0.6675, allocations: 20.55 kB / 0.8959 GB, free: 1.559 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.6675, allocations: 4 kB / 0.8959 GB, free: 1.555 MB / 0.5575 GB Notification: Performance of sort global known variables: time 0.0002331/0.6677, allocations: 236.6 kB / 0.8962 GB, free: 1.328 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.0007746/0.6685, allocations: 256 kB / 0.8964 GB, free: 1.078 MB / 0.5575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (soi.T[1],soi.T[2],soi.T[3],soi.T[4],soi.T[5],soi.T[6],soi.T[7],soi.T[8],soi.T[9],soi.T[10]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 22 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004267/0.6689, allocations: 254.2 kB / 0.8967 GB, free: 0.8281 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 0.001047/0.67, allocations: 0.6932 MB / 0.8973 GB, free: 120 kB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.67, allocations: 0 / 0.8973 GB, free: 120 kB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002845/0.6703, allocations: 249.6 kB / 0.8976 GB, free: 15.86 MB / 0.5732 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004908/0.6708, allocations: 82.19 kB / 0.8976 GB, free: 15.79 MB / 0.5732 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00179/0.6726, allocations: 1.165 MB / 0.8988 GB, free: 14.6 MB / 0.5732 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006528/0.6733, allocations: 0.8697 MB / 0.8996 GB, free: 13.7 MB / 0.5732 GB Notification: Performance of SimCode: time 3.51e-07/0.6733, allocations: 3.938 kB / 0.8996 GB, free: 13.7 MB / 0.5732 GB Notification: Performance of Templates: time 0.0139/0.6872, allocations: 7.936 MB / 0.9074 GB, free: 5.883 MB / 0.5732 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe 2>&1)