Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_HexInternalElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_HexInternalElement",fmuType="me",version="2.0",platforms={"static"}) [: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 7.0.3-maint.7.0.x/package.mo): time 1.238/1.238, allocations: 249.4 MB / 256.7 MB, free: 7.043 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000969/0.000969, allocations: 189.1 kB / 316 MB, free: 3.496 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.201/1.201, allocations: 205.2 MB / 0.5667 GB, free: 15.63 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009838/0.0009836, allocations: 85.47 kB / 0.671 GB, free: 4.762 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3543/0.3554, allocations: 112.5 MB / 0.7808 GB, free: 102.9 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.5217, allocations: 106.3 MB / 0.8847 GB, free: 12.5 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.058/1.579, allocations: 414.3 MB / 1.289 GB, free: 261.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002683/1.58, allocations: 99.42 kB / 1.289 GB, free: 261.5 MB / 0.8698 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 1.386/2.966, allocations: 0.5402 GB / 1.83 GB, free: 101 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/2.966, allocations: 11.94 kB / 1.83 GB, free: 101 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007042/2.966, allocations: 154.3 kB / 1.83 GB, free: 100.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003173/2.97, allocations: 1.388 MB / 1.831 GB, free: 99.42 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.946e-05/2.97, allocations: 31.94 kB / 1.831 GB, free: 99.39 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001726/2.97, allocations: 52 kB / 1.831 GB, free: 99.34 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001129/2.971, allocations: 0.5585 MB / 1.832 GB, free: 98.78 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/2.972, allocations: 0.7412 MB / 1.832 GB, free: 98 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.954e-05/2.972, allocations: 0 / 1.832 GB, free: 98 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.756e-05/2.972, allocations: 0 / 1.832 GB, free: 98 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.203e-05/2.972, allocations: 27.91 kB / 1.832 GB, free: 97.97 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004257/2.977, allocations: 4.351 MB / 1.837 GB, free: 93.42 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007044/2.977, allocations: 483.9 kB / 1.837 GB, free: 92.94 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003791/2.978, allocations: 294.3 kB / 1.837 GB, free: 92.65 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004651/2.978, allocations: 0.6095 MB / 1.838 GB, free: 91.91 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/2.978, allocations: 39.06 kB / 1.838 GB, free: 91.86 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=57): time 1.864e-06/2.978, allocations: 0 / 1.838 GB, free: 91.86 MB / 0.8698 GB Notification: Performance of matching and sorting (n=57): time 0.001318/2.979, allocations: 0.6316 MB / 1.839 GB, free: 91.21 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.583e-05/2.979, allocations: 55.91 kB / 1.839 GB, free: 91.15 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007177/2.98, allocations: 0.6963 MB / 1.839 GB, free: 90.45 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.147e-05/2.98, allocations: 29.64 kB / 1.839 GB, free: 90.41 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/2.98, allocations: 387.4 kB / 1.84 GB, free: 90.03 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/2.981, allocations: 197 kB / 1.84 GB, free: 89.83 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.277e-05/2.981, allocations: 4 kB / 1.84 GB, free: 89.83 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.2e-05/2.981, allocations: 334 kB / 1.84 GB, free: 89.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002307/2.981, allocations: 181.5 kB / 1.84 GB, free: 89.32 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003025/2.981, allocations: 372.3 kB / 1.841 GB, free: 88.88 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006546/2.982, allocations: 301.2 kB / 1.841 GB, free: 88.59 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/2.982, allocations: 4 kB / 1.841 GB, free: 88.58 MB / 0.8698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001388/2.983, allocations: 0.7945 MB / 1.842 GB, free: 87.77 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002836/2.984, allocations: 1.31 MB / 1.843 GB, free: 86.36 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/2.984, allocations: 4 kB / 1.843 GB, free: 86.35 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003381/2.984, allocations: 119.3 kB / 1.843 GB, free: 86.22 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004283/2.984, allocations: 131.8 kB / 1.843 GB, free: 86.09 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002346/2.987, allocations: 4.661 MB / 1.848 GB, free: 81.07 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009485/2.988, allocations: 91.39 kB / 1.848 GB, free: 80.98 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.577e-05/2.988, allocations: 24 kB / 1.848 GB, free: 80.96 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 6.973e-06/2.988, allocations: 8 kB / 1.848 GB, free: 80.95 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001291/2.989, allocations: 0.6497 MB / 1.849 GB, free: 80.29 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/2.989, allocations: 4 kB / 1.849 GB, free: 80.29 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002558/2.989, allocations: 115.5 kB / 1.849 GB, free: 80.16 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004128/2.99, allocations: 136 kB / 1.849 GB, free: 80.03 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002868/2.993, allocations: 5.506 MB / 1.854 GB, free: 74.07 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/2.994, allocations: 83.48 kB / 1.854 GB, free: 73.98 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.179e-05/2.994, allocations: 31.98 kB / 1.854 GB, free: 73.95 MB / 0.8698 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.0002042/2.994, allocations: 124.6 kB / 1.855 GB, free: 73.82 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000242/2.994, allocations: 98.78 kB / 1.855 GB, free: 73.73 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001523/2.996, allocations: 0.7003 MB / 1.855 GB, free: 73.01 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/2.996, allocations: 8 kB / 1.855 GB, free: 73 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/2.996, allocations: 0 / 1.855 GB, free: 73 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009545/2.997, allocations: 0.6469 MB / 1.856 GB, free: 72.32 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002655/2.999, allocations: 1.744 MB / 1.858 GB, free: 70.51 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/2.999, allocations: 0 / 1.858 GB, free: 70.51 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003732/3, allocations: 91.89 kB / 1.858 GB, free: 70.42 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000232/3, allocations: 107.5 kB / 1.858 GB, free: 70.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.526e-05/3, allocations: 11.98 kB / 1.858 GB, free: 70.29 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002125/3.002, allocations: 4.616 MB / 1.862 GB, free: 65.31 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/3.002, allocations: 11.28 kB / 1.862 GB, free: 65.3 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001392/3.004, allocations: 1.089 MB / 1.863 GB, free: 64.15 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001775/3.005, allocations: 1.776 MB / 1.865 GB, free: 62.31 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003983/3.006, allocations: 259.7 kB / 1.865 GB, free: 62.04 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001465/3.006, allocations: 3.984 kB / 1.865 GB, free: 62.03 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000602/3.007, allocations: 55.86 kB / 1.866 GB, free: 61.98 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.078e-05/3.007, allocations: 32.36 kB / 1.866 GB, free: 61.95 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.973e-05/3.007, allocations: 23.98 kB / 1.866 GB, free: 61.92 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0005979/3.007, allocations: 0.5343 MB / 1.866 GB, free: 61.39 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003938/3.011, allocations: 0.9122 MB / 1.867 GB, free: 60.48 MB / 0.8698 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.001643/3.013, allocations: 0.6602 MB / 1.868 GB, free: 59.86 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002036/3.015, allocations: 1.611 MB / 1.869 GB, free: 58.17 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/3.015, allocations: 0 / 1.869 GB, free: 58.17 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005154/3.015, allocations: 0.562 MB / 1.87 GB, free: 57.57 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002423/3.018, allocations: 494.6 kB / 1.87 GB, free: 57.09 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003024/3.021, allocations: 1.548 MB / 1.872 GB, free: 55.52 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007279/3.022, allocations: 1.195 MB / 1.873 GB, free: 54.3 MB / 0.8698 GB Notification: Performance of SimCode: time 1.222e-06/3.022, allocations: 0 / 1.873 GB, free: 54.3 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_HexInternalElement_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_HexInternalElement.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe 2>&1)