Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",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 8.0.1-maint.8.0.x/package.mo): time 1.423/1.423, allocations: 285.5 MB / 292.8 MB, free: 9.863 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.0009819/0.000982, allocations: 185.3 kB / 361.1 MB, free: 384 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.175/1.175, allocations: 205.1 MB / 0.6195 GB, free: 2.508 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007923/0.0007925, allocations: 95.61 kB / 0.7326 GB, free: 0.5156 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.4261/0.4269, allocations: 121.5 MB / 0.8512 GB, free: 152.5 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.5956, allocations: 115.3 MB / 0.9638 GB, free: 56.18 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5519/1.148, allocations: 148 MB / 1.108 GB, free: 28.23 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002218/1.148, allocations: 111.8 kB / 1.108 GB, free: 28.23 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.05076/1.199, allocations: 22.43 MB / 1.13 GB, free: 26.12 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/1.199, allocations: 11.62 kB / 1.13 GB, free: 26.12 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001625/1.199, allocations: 70.03 kB / 1.13 GB, free: 26.08 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000565/1.199, allocations: 445.4 kB / 1.131 GB, free: 25.82 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/1.199, allocations: 23.31 kB / 1.131 GB, free: 25.81 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.579e-05/1.199, allocations: 27.77 kB / 1.131 GB, free: 25.81 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005152/1.2, allocations: 305.8 kB / 1.131 GB, free: 25.8 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005268/1.201, allocations: 330 kB / 1.131 GB, free: 25.76 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/1.201, allocations: 0 / 1.131 GB, free: 25.76 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.247e-05/1.201, allocations: 0 / 1.131 GB, free: 25.76 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/1.201, allocations: 15.61 kB / 1.131 GB, free: 25.75 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001756/1.202, allocations: 1.441 MB / 1.133 GB, free: 25.3 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002884/1.203, allocations: 258.9 kB / 1.133 GB, free: 25.27 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002887/1.203, allocations: 280.5 kB / 1.133 GB, free: 25.25 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/1.203, allocations: 3.875 kB / 1.133 GB, free: 25.25 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.754e-05/1.203, allocations: 37.88 kB / 1.133 GB, free: 25.21 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=42): time 1.674e-06/1.203, allocations: 0 / 1.133 GB, free: 25.21 MB / 0.7136 GB Notification: Performance of matching and sorting (n=42): time 0.000461/1.204, allocations: 308 kB / 1.134 GB, free: 25.15 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.979e-05/1.204, allocations: 63.22 kB / 1.134 GB, free: 25.08 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003749/1.204, allocations: 370.4 kB / 1.134 GB, free: 24.98 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/1.204, allocations: 25.7 kB / 1.134 GB, free: 24.95 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.034e-05/1.204, allocations: 212 kB / 1.134 GB, free: 24.81 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.339e-05/1.204, allocations: 142.8 kB / 1.135 GB, free: 24.71 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.223e-05/1.204, allocations: 0 / 1.135 GB, free: 24.71 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.698e-05/1.204, allocations: 354.2 kB / 1.135 GB, free: 40.4 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/1.204, allocations: 99.72 kB / 1.135 GB, free: 40.4 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001292/1.205, allocations: 105.4 kB / 1.135 GB, free: 40.39 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001624/1.205, allocations: 118.8 kB / 1.135 GB, free: 40.39 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/1.205, allocations: 0 / 1.135 GB, free: 40.39 MB / 0.7292 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004136/1.205, allocations: 336.7 kB / 1.135 GB, free: 40.32 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/1.205, allocations: 7.031 kB / 1.135 GB, free: 40.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/1.205, allocations: 2.438 kB / 1.135 GB, free: 40.32 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/1.205, allocations: 3.875 kB / 1.135 GB, free: 40.32 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004966/1.206, allocations: 136.3 kB / 1.136 GB, free: 40.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/1.206, allocations: 3.844 kB / 1.136 GB, free: 40.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002781/1.206, allocations: 37.97 kB / 1.136 GB, free: 40.29 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.291e-05/1.206, allocations: 15.28 kB / 1.136 GB, free: 40.29 MB / 0.7292 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 (46): * Single equations (assignments): 46 * 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 8.955e-05/1.206, allocations: 110.9 kB / 1.136 GB, free: 40.18 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.768e-05/1.206, allocations: 46.84 kB / 1.136 GB, free: 40.15 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.56e-05/1.206, allocations: 50.48 kB / 1.136 GB, free: 40.14 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/1.206, allocations: 7.844 kB / 1.136 GB, free: 40.14 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/1.206, allocations: 0 / 1.136 GB, free: 40.14 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/1.206, allocations: 3.234 kB / 1.136 GB, free: 40.14 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005023/1.207, allocations: 0.4941 MB / 1.136 GB, free: 39.97 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/1.207, allocations: 0 / 1.136 GB, free: 39.97 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004998/1.207, allocations: 129.8 kB / 1.136 GB, free: 39.96 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/1.207, allocations: 0 / 1.136 GB, free: 39.96 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.383e-05/1.207, allocations: 3.875 kB / 1.136 GB, free: 39.96 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/1.207, allocations: 3.906 kB / 1.136 GB, free: 39.96 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/1.207, allocations: 3.188 kB / 1.137 GB, free: 39.96 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005854/1.208, allocations: 0.5796 MB / 1.137 GB, free: 39.79 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009229/1.209, allocations: 1.106 MB / 1.138 GB, free: 39.24 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.434e-05/1.209, allocations: 133.3 kB / 1.138 GB, free: 39.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.305e-05/1.209, allocations: 3.281 kB / 1.138 GB, free: 39.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002349/1.209, allocations: 19.22 kB / 1.138 GB, free: 39.11 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.125e-05/1.209, allocations: 24.22 kB / 1.138 GB, free: 39.11 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/1.209, allocations: 11.19 kB / 1.138 GB, free: 39.11 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0002809/1.21, allocations: 292.6 kB / 1.139 GB, free: 39.02 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0009934/1.211, allocations: 150.5 kB / 1.139 GB, free: 39 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 42 * 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.0003297/1.211, allocations: 270.4 kB / 1.139 GB, free: 38.86 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003398/1.211, allocations: 278.6 kB / 1.139 GB, free: 38.85 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/1.211, allocations: 0 / 1.139 GB, free: 38.85 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000159/1.212, allocations: 156.2 kB / 1.139 GB, free: 38.84 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004396/1.212, allocations: 77.41 kB / 1.139 GB, free: 38.83 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/1.213, allocations: 0.8884 MB / 1.14 GB, free: 38.44 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005414/1.214, allocations: 0.937 MB / 1.141 GB, free: 37.73 MB / 0.7292 GB Notification: Performance of SimCode: time 2.8e-07/1.214, allocations: 0 / 1.141 GB, free: 37.73 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)