Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_HexInternalElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.318/2.318, allocations: 390.4 MB / 397.7 MB, free: 11.29 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001216/0.001217, allocations: 177.2 kB / 490.8 MB, free: 1.938 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.609/1.609, allocations: 221.3 MB / 0.7863 GB, free: 13.67 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001207/0.001206, allocations: 87.66 kB / 0.9264 GB, free: 14.19 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.7242/0.7255, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/1.029, allocations: 143 MB / 1.212 GB, free: 40 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.144/2.173, allocations: 434.1 MB / 1.636 GB, free: 13.53 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003029/2.174, allocations: 106.9 kB / 1.636 GB, free: 13.46 MB / 1.057 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 2.752/4.925, allocations: 0.569 GB / 2.205 GB, free: 230.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/4.926, allocations: 6.812 kB / 2.205 GB, free: 230.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003893/4.926, allocations: 155.4 kB / 2.205 GB, free: 230.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00246/4.928, allocations: 1.404 MB / 2.206 GB, free: 230.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.21e-05/4.928, allocations: 27.28 kB / 2.206 GB, free: 230.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/4.929, allocations: 58.86 kB / 2.206 GB, free: 230.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009949/4.93, allocations: 0.558 MB / 2.207 GB, free: 230.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001084/4.931, allocations: 0.7426 MB / 2.208 GB, free: 230.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.897e-05/4.931, allocations: 2.719 kB / 2.208 GB, free: 230.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6e-05/4.931, allocations: 3.688 kB / 2.208 GB, free: 230.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.033e-05/4.931, allocations: 29.2 kB / 2.208 GB, free: 230.2 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004429/4.935, allocations: 4.351 MB / 2.212 GB, free: 228.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008081/4.936, allocations: 483.3 kB / 2.212 GB, free: 228.1 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004204/4.936, allocations: 305.8 kB / 2.213 GB, free: 228.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005353/4.937, allocations: 0.6022 MB / 2.213 GB, free: 227.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.218e-05/4.937, allocations: 34.75 kB / 2.213 GB, free: 227.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=57): time 2.404e-06/4.937, allocations: 3.5 kB / 2.213 GB, free: 227.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=57): time 0.001503/4.939, allocations: 0.6322 MB / 2.214 GB, free: 227.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.139e-05/4.939, allocations: 55.09 kB / 2.214 GB, free: 227.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008511/4.939, allocations: 0.7133 MB / 2.215 GB, free: 227 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.323e-05/4.94, allocations: 25.7 kB / 2.215 GB, free: 227 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002334/4.94, allocations: 384.7 kB / 2.215 GB, free: 226.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001497/4.94, allocations: 191.7 kB / 2.215 GB, free: 226.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.443e-05/4.94, allocations: 0 / 2.215 GB, free: 226.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.38e-05/4.94, allocations: 335.8 kB / 2.215 GB, free: 226.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002565/4.94, allocations: 181.3 kB / 2.216 GB, free: 226.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003657/4.941, allocations: 366 kB / 2.216 GB, free: 226.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007444/4.941, allocations: 301.6 kB / 2.216 GB, free: 226.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/4.941, allocations: 0 / 2.216 GB, free: 226.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00154/4.943, allocations: 0.7899 MB / 2.217 GB, free: 226.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004034/4.943, allocations: 1.324 MB / 2.218 GB, free: 224.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/4.943, allocations: 3.906 kB / 2.218 GB, free: 224.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003601/4.944, allocations: 119.6 kB / 2.218 GB, free: 224.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004417/4.944, allocations: 125.4 kB / 2.219 GB, free: 224.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002662/4.947, allocations: 4.656 MB / 2.223 GB, free: 220.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008496/4.948, allocations: 90.2 kB / 2.223 GB, free: 220.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.935e-05/4.948, allocations: 29.41 kB / 2.223 GB, free: 220.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 8.526e-06/4.948, allocations: 5.438 kB / 2.223 GB, free: 220.4 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001312/4.949, allocations: 0.6502 MB / 2.224 GB, free: 220.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/4.949, allocations: 7.125 kB / 2.224 GB, free: 220.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002665/4.949, allocations: 119.6 kB / 2.224 GB, free: 220.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004146/4.95, allocations: 128.4 kB / 2.224 GB, free: 220.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003125/4.953, allocations: 5.511 MB / 2.23 GB, free: 215.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007896/4.954, allocations: 75.89 kB / 2.23 GB, free: 215.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.421e-05/4.954, allocations: 35.06 kB / 2.23 GB, free: 215.3 MB / 1.167 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.0001787/4.954, allocations: 116.2 kB / 2.23 GB, free: 215.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001436/4.954, allocations: 97.06 kB / 2.23 GB, free: 215.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001457/4.956, allocations: 0.6974 MB / 2.231 GB, free: 215.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/4.956, allocations: 15.05 kB / 2.231 GB, free: 215.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/4.956, allocations: 3.406 kB / 2.231 GB, free: 215.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009958/4.957, allocations: 0.6473 MB / 2.231 GB, free: 214.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002758/4.96, allocations: 1.755 MB / 2.233 GB, free: 214.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/4.96, allocations: 0 / 2.233 GB, free: 214.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003828/4.96, allocations: 90.25 kB / 2.233 GB, free: 214.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002423/4.96, allocations: 108.3 kB / 2.233 GB, free: 214.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.627e-05/4.96, allocations: 6.906 kB / 2.233 GB, free: 214.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002475/4.963, allocations: 4.624 MB / 2.238 GB, free: 210.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/4.963, allocations: 3.469 kB / 2.238 GB, free: 210.2 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001662/4.964, allocations: 1.09 MB / 2.239 GB, free: 209.8 MB / 1.167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0022/4.967, allocations: 1.784 MB / 2.24 GB, free: 209.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005111/4.967, allocations: 264.9 kB / 2.241 GB, free: 209 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001262/4.967, allocations: 7.5 kB / 2.241 GB, free: 209 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000619/4.968, allocations: 51.98 kB / 2.241 GB, free: 209 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.298e-05/4.968, allocations: 35.81 kB / 2.241 GB, free: 209 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.606e-05/4.968, allocations: 36.95 kB / 2.241 GB, free: 209 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.0007547/4.969, allocations: 0.5302 MB / 2.241 GB, free: 208.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.004891/4.974, allocations: 0.918 MB / 2.242 GB, free: 208.8 MB / 1.167 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.001485/4.975, allocations: 0.6494 MB / 2.243 GB, free: 208.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002131/4.977, allocations: 1.62 MB / 2.244 GB, free: 207.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/4.977, allocations: 0 / 2.244 GB, free: 207.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005566/4.978, allocations: 0.5541 MB / 2.245 GB, free: 207.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002367/4.98, allocations: 476.2 kB / 2.245 GB, free: 207.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003102/4.983, allocations: 1.544 MB / 2.247 GB, free: 207.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007779/4.984, allocations: 1.203 MB / 2.248 GB, free: 206.5 MB / 1.167 GB Notification: Performance of SimCode: time 1.703e-06/4.984, allocations: 0 / 2.248 GB, free: 206.5 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_HexInternalElement_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_HexInternalElement.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe 2>&1)