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.InternalResistancesOneUTube.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.InternalResistancesOneUTube,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",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.45/1.45, allocations: 285.5 MB / 292.8 MB, free: 10.49 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.001101/0.001101, allocations: 179.2 kB / 361.1 MB, free: 7.086 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.182/1.182, allocations: 205.1 MB / 0.6195 GB, free: 11.9 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.0008037/0.0008034, allocations: 86.62 kB / 0.7326 GB, free: 44.45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2172/0.218, allocations: 121.5 MB / 0.8512 GB, free: 3.082 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5488/0.7668, allocations: 115.3 MB / 0.9638 GB, free: 77.85 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1655/0.9324, allocations: 145.8 MB / 1.106 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002468/0.9326, allocations: 106.1 kB / 1.106 GB, free: 10.06 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.04843/0.9811, allocations: 18.05 MB / 1.124 GB, free: 8.047 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.9811, allocations: 8.5 kB / 1.124 GB, free: 8.039 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.848e-05/0.9813, allocations: 43.44 kB / 1.124 GB, free: 7.996 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005275/0.9818, allocations: 355.6 kB / 1.124 GB, free: 7.605 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.9818, allocations: 11.98 kB / 1.124 GB, free: 7.594 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.967e-05/0.9819, allocations: 12 kB / 1.124 GB, free: 7.582 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002653/0.9821, allocations: 124.8 kB / 1.124 GB, free: 7.461 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002674/0.9824, allocations: 150.5 kB / 1.125 GB, free: 7.309 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.9824, allocations: 4 kB / 1.125 GB, free: 7.305 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.796e-05/0.9825, allocations: 0 / 1.125 GB, free: 7.305 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.9825, allocations: 9.25 kB / 1.125 GB, free: 7.297 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001186/0.9837, allocations: 0.819 MB / 1.125 GB, free: 6.418 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001668/0.9839, allocations: 114 kB / 1.126 GB, free: 6.305 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001405/0.984, allocations: 92.91 kB / 1.126 GB, free: 6.211 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.984, allocations: 4 kB / 1.126 GB, free: 6.207 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.9841, allocations: 34.81 kB / 1.126 GB, free: 6.164 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=18): time 1.824e-06/0.9841, allocations: 4 kB / 1.126 GB, free: 6.16 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18): time 0.0003062/0.9844, allocations: 161.1 kB / 1.126 GB, free: 5.996 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.705e-05/0.9844, allocations: 51.41 kB / 1.126 GB, free: 5.934 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003563/0.9848, allocations: 330.1 kB / 1.126 GB, free: 5.602 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.9848, allocations: 25.7 kB / 1.126 GB, free: 5.57 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.348e-05/0.9849, allocations: 149.3 kB / 1.126 GB, free: 5.422 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.963e-05/0.9849, allocations: 63.09 kB / 1.126 GB, free: 5.359 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.303e-06/0.9849, allocations: 0 / 1.126 GB, free: 5.359 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.9851, allocations: 350.8 kB / 1.127 GB, free: 5.008 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.702e-05/0.9851, allocations: 40 kB / 1.127 GB, free: 4.969 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.87e-05/0.9852, allocations: 40.34 kB / 1.127 GB, free: 4.93 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.881e-05/0.9853, allocations: 52.62 kB / 1.127 GB, free: 4.879 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.9853, allocations: 0 / 1.127 GB, free: 4.879 MB / 0.7292 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002485/0.9856, allocations: 162.5 kB / 1.127 GB, free: 4.715 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.9856, allocations: 4 kB / 1.127 GB, free: 4.711 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.9856, allocations: 7.984 kB / 1.127 GB, free: 4.703 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.9856, allocations: 0.5625 kB / 1.127 GB, free: 4.703 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002712/0.9859, allocations: 59.97 kB / 1.127 GB, free: 4.645 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.9859, allocations: 0 / 1.127 GB, free: 4.645 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001635/0.9861, allocations: 23.83 kB / 1.127 GB, free: 4.621 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.9861, allocations: 4 kB / 1.127 GB, free: 4.617 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 (20): * Single equations (assignments): 20 * 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 6.89e-05/0.9862, allocations: 116.6 kB / 1.127 GB, free: 4.496 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.575e-05/0.9863, allocations: 34.78 kB / 1.127 GB, free: 4.465 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.762e-05/0.9863, allocations: 39.19 kB / 1.127 GB, free: 4.426 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.9863, allocations: 0 / 1.127 GB, free: 4.426 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.9864, allocations: 0 / 1.127 GB, free: 4.426 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.9864, allocations: 11.89 kB / 1.127 GB, free: 4.414 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003263/0.9867, allocations: 321.9 kB / 1.128 GB, free: 4.062 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.818e-06/0.9867, allocations: 3.984 kB / 1.128 GB, free: 4.059 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002653/0.987, allocations: 67.91 kB / 1.128 GB, free: 3.992 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.987, allocations: 0 / 1.128 GB, free: 3.992 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.987, allocations: 0.5625 kB / 1.128 GB, free: 3.992 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.987, allocations: 3.938 kB / 1.128 GB, free: 3.988 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.987, allocations: 0 / 1.128 GB, free: 3.988 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003655/0.9874, allocations: 326.1 kB / 1.128 GB, free: 3.656 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005277/0.9879, allocations: 0.7684 MB / 1.129 GB, free: 2.871 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.757e-05/0.988, allocations: 116.9 kB / 1.129 GB, free: 2.738 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.691e-05/0.9881, allocations: 0.9375 kB / 1.129 GB, free: 2.738 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001786/0.9883, allocations: 11.98 kB / 1.129 GB, free: 2.727 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.828e-05/0.9883, allocations: 19.98 kB / 1.129 GB, free: 2.707 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.9883, allocations: 5 kB / 1.129 GB, free: 2.703 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.000296/0.9886, allocations: 260.6 kB / 1.129 GB, free: 2.453 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008851/0.9895, allocations: 87.69 kB / 1.129 GB, free: 2.367 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.0003378/0.9899, allocations: 261.4 kB / 1.129 GB, free: 2.113 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001969/0.9901, allocations: 107.9 kB / 1.13 GB, free: 2.008 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.9901, allocations: 0 / 1.13 GB, free: 2.008 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.692e-05/0.9902, allocations: 59.94 kB / 1.13 GB, free: 1.949 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004191/0.9906, allocations: 73.86 kB / 1.13 GB, free: 1.879 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.9916, allocations: 0.5058 MB / 1.13 GB, free: 1.352 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004225/0.9921, allocations: 0.8424 MB / 1.131 GB, free: 500 kB / 0.7292 GB Notification: Performance of SimCode: time 2.6e-07/0.9921, allocations: 0 / 1.131 GB, free: 500 kB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)