Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement") [: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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.561/1.561, allocations: 289.8 MB / 297.1 MB, free: 6.648 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001237/0.001237, allocations: 173.3 kB / 366.3 MB, free: 1.941 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.518/1.518, allocations: 205.1 MB / 0.6256 GB, free: 7.398 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008977/0.0008978, allocations: 91.39 kB / 0.7395 GB, free: 39.83 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.696e-06/8.706e-06, allocations: 4 kB / 0.859 GB, free: 13.53 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7273/0.7274, allocations: 116.3 MB / 0.9726 GB, free: 76.35 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8726/1.6, allocations: 421.8 MB / 1.384 GB, free: 134.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002365/1.6, allocations: 101.5 kB / 1.385 GB, free: 134.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.499/3.099, allocations: 0.5539 GB / 1.938 GB, free: 51.25 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001063/3.099, allocations: 39.92 kB / 1.939 GB, free: 51.21 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.002554/3.102, allocations: 1.414 MB / 1.94 GB, free: 49.75 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/3.102, allocations: 8.031 kB / 1.94 GB, free: 49.75 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003594/3.102, allocations: 150.3 kB / 1.94 GB, free: 49.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002299/3.105, allocations: 1.394 MB / 1.941 GB, free: 48.16 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.891e-05/3.105, allocations: 28 kB / 1.941 GB, free: 48.13 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/3.105, allocations: 55.91 kB / 1.941 GB, free: 48.08 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009391/3.106, allocations: 0.5624 MB / 1.942 GB, free: 47.52 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/3.107, allocations: 0.7412 MB / 1.943 GB, free: 46.74 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.851e-05/3.107, allocations: 3.938 kB / 1.943 GB, free: 46.73 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.108e-05/3.107, allocations: 4 kB / 1.943 GB, free: 46.73 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.282e-05/3.107, allocations: 20 kB / 1.943 GB, free: 46.71 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003932/3.111, allocations: 4.372 MB / 1.947 GB, free: 42.08 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007443/3.112, allocations: 484.8 kB / 1.948 GB, free: 41.59 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003911/3.112, allocations: 298.2 kB / 1.948 GB, free: 41.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004921/3.113, allocations: 0.6056 MB / 1.948 GB, free: 40.57 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.794e-05/3.113, allocations: 43.06 kB / 1.948 GB, free: 40.52 MB / 0.948 GB Notification: Performance of pre-optimization done (n=57): time 1.904e-06/3.113, allocations: 0 / 1.948 GB, free: 40.52 MB / 0.948 GB Notification: Performance of matching and sorting (n=57): time 0.001338/3.114, allocations: 0.6236 MB / 1.949 GB, free: 39.87 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.957e-05/3.114, allocations: 59.91 kB / 1.949 GB, free: 39.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007163/3.115, allocations: 0.704 MB / 1.95 GB, free: 39.09 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.298e-05/3.115, allocations: 25.7 kB / 1.95 GB, free: 39.06 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001773/3.115, allocations: 387.3 kB / 1.95 GB, free: 38.68 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001257/3.115, allocations: 197 kB / 1.95 GB, free: 38.48 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.338e-05/3.115, allocations: 0 / 1.95 GB, free: 38.48 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.873e-05/3.115, allocations: 334 kB / 1.951 GB, free: 38.15 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002433/3.115, allocations: 177.5 kB / 1.951 GB, free: 37.97 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003276/3.116, allocations: 368.3 kB / 1.951 GB, free: 37.54 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006779/3.117, allocations: 306.9 kB / 1.952 GB, free: 37.24 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/3.117, allocations: 4.109 kB / 1.952 GB, free: 37.23 MB / 0.948 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001393/3.118, allocations: 0.7928 MB / 1.952 GB, free: 36.42 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002664/3.118, allocations: 1.314 MB / 1.954 GB, free: 35.01 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/3.118, allocations: 4 kB / 1.954 GB, free: 35 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003317/3.119, allocations: 127.4 kB / 1.954 GB, free: 34.87 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004257/3.119, allocations: 127.8 kB / 1.954 GB, free: 34.74 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002465/3.121, allocations: 4.656 MB / 1.958 GB, free: 29.71 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008306/3.122, allocations: 91.42 kB / 1.958 GB, free: 29.62 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.489e-05/3.122, allocations: 24 kB / 1.958 GB, free: 29.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.935e-06/3.122, allocations: 5.25 kB / 1.958 GB, free: 29.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001224/3.124, allocations: 0.6574 MB / 1.959 GB, free: 28.93 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.988e-06/3.124, allocations: 4 kB / 1.959 GB, free: 28.92 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002532/3.124, allocations: 119.7 kB / 1.959 GB, free: 28.79 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00041/3.124, allocations: 131.8 kB / 1.959 GB, free: 28.66 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002903/3.127, allocations: 5.499 MB / 1.965 GB, free: 22.71 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000811/3.128, allocations: 91.42 kB / 1.965 GB, free: 22.62 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.101e-05/3.128, allocations: 32 kB / 1.965 GB, free: 22.59 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 2} * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.000175/3.128, allocations: 112.9 kB / 1.965 GB, free: 22.47 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001403/3.128, allocations: 98.78 kB / 1.965 GB, free: 22.37 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001418/3.13, allocations: 0.6965 MB / 1.966 GB, free: 21.66 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.904e-06/3.13, allocations: 11.91 kB / 1.966 GB, free: 21.64 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/3.13, allocations: 0 / 1.966 GB, free: 21.64 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001021/3.131, allocations: 0.6509 MB / 1.966 GB, free: 20.95 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004137/3.135, allocations: 1.757 MB / 1.968 GB, free: 19.11 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.725e-06/3.135, allocations: 0 / 1.968 GB, free: 19.11 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006185/3.136, allocations: 91.89 kB / 1.968 GB, free: 19.02 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003733/3.136, allocations: 107.5 kB / 1.968 GB, free: 18.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.131e-05/3.136, allocations: 8 kB / 1.968 GB, free: 18.89 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003487/3.14, allocations: 4.632 MB / 1.973 GB, free: 13.89 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/3.14, allocations: 128 / 1.973 GB, free: 13.89 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002583/3.142, allocations: 1.089 MB / 1.974 GB, free: 12.73 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006631/3.143, allocations: 267.6 kB / 1.974 GB, free: 12.45 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001744/3.143, allocations: 4 kB / 1.974 GB, free: 12.45 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009849/3.144, allocations: 59.73 kB / 1.974 GB, free: 12.39 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.53e-05/3.144, allocations: 32.45 kB / 1.974 GB, free: 12.36 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.218e-05/3.144, allocations: 23.98 kB / 1.974 GB, free: 12.33 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001031/3.145, allocations: 0.5343 MB / 1.975 GB, free: 11.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003761/3.149, allocations: 0.752 MB / 1.976 GB, free: 11.05 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (hex.vol1.dynBal.U,hex.vol2.dynBal.U,hex.capFil1.T,hex.capFil2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001746/3.151, allocations: 0.6646 MB / 1.976 GB, free: 10.38 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002883/3.154, allocations: 1.603 MB / 1.978 GB, free: 8.691 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/3.154, allocations: 3.938 kB / 1.978 GB, free: 8.688 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008425/3.155, allocations: 0.5658 MB / 1.978 GB, free: 8.09 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002437/3.157, allocations: 483 kB / 1.979 GB, free: 7.621 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003666/3.161, allocations: 1.523 MB / 1.98 GB, free: 6.055 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007884/3.162, allocations: 1.195 MB / 1.981 GB, free: 4.832 MB / 0.948 GB Notification: Performance of SimCode: time 1.203e-06/3.162, allocations: 0 / 1.981 GB, free: 4.832 MB / 0.948 GB Notification: Performance of Templates: time 0.4454/3.607, allocations: 26.1 MB / 2.007 GB, free: 267.2 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe 2>&1)