Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition",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.1.4-maint.8.1.x/package.mo): time 1.602/1.602, allocations: 289.8 MB / 297 MB, free: 12.74 MB / 242.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001138/0.001138, allocations: 183.6 kB / 366.3 MB, free: 11.99 MB / 290.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.443/1.443, allocations: 205.1 MB / 0.6256 GB, free: 2.098 MB / 466.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008827/0.0008826, allocations: 83.78 kB / 0.7395 GB, free: 46.9 MB / 0.5184 GB Notification: Performance of FrontEnd - loaded program: time 0.2445/0.2455, allocations: 122.4 MB / 0.8591 GB, free: 7.137 MB / 0.5965 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6733/0.9188, allocations: 116.3 MB / 0.9726 GB, free: 81.53 MB / 0.6746 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1876/1.106, allocations: 143 MB / 1.112 GB, free: 0.9531 MB / 0.7059 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002475/1.107, allocations: 99.92 kB / 1.112 GB, free: 0.8555 MB / 0.7059 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.01735/1.124, allocations: 5.581 MB / 1.118 GB, free: 11.23 MB / 0.7215 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/1.124, allocations: 8 kB / 1.118 GB, free: 11.22 MB / 0.7215 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.773e-05/1.124, allocations: 33.33 kB / 1.118 GB, free: 11.19 MB / 0.7215 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004385/1.125, allocations: 289.8 kB / 1.118 GB, free: 10.87 MB / 0.7215 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/1.125, allocations: 15.92 kB / 1.118 GB, free: 10.86 MB / 0.7215 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.136e-05/1.125, allocations: 12 kB / 1.118 GB, free: 10.84 MB / 0.7215 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001706/1.125, allocations: 68.36 kB / 1.118 GB, free: 10.78 MB / 0.7215 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002736/1.125, allocations: 177.7 kB / 1.118 GB, free: 10.58 MB / 0.7215 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/1.125, allocations: 0 / 1.118 GB, free: 10.58 MB / 0.7215 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.041e-05/1.125, allocations: 0 / 1.118 GB, free: 10.58 MB / 0.7215 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/1.125, allocations: 4 kB / 1.118 GB, free: 10.58 MB / 0.7215 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/1.126, allocations: 0.8533 MB / 1.119 GB, free: 9.668 MB / 0.7215 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000293/1.127, allocations: 167 kB / 1.119 GB, free: 9.48 MB / 0.7215 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/1.127, allocations: 62.77 kB / 1.12 GB, free: 9.41 MB / 0.7215 GB Notification: Performance of preOpt evalFunc (simulation): time 1.258e-05/1.127, allocations: 4 kB / 1.12 GB, free: 9.406 MB / 0.7215 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002443/1.127, allocations: 159.5 kB / 1.12 GB, free: 9.23 MB / 0.7215 GB Notification: Performance of pre-optimization done (n=23): time 1.353e-06/1.127, allocations: 0 / 1.12 GB, free: 9.23 MB / 0.7215 GB Notification: Performance of matching and sorting (n=23): time 0.0005998/1.128, allocations: 195 kB / 1.12 GB, free: 9.035 MB / 0.7215 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.381e-05/1.128, allocations: 118.9 kB / 1.12 GB, free: 8.895 MB / 0.7215 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002176/1.128, allocations: 204 kB / 1.12 GB, free: 8.684 MB / 0.7215 GB Notification: Performance of collectPreVariables (initialization): time 3.494e-05/1.128, allocations: 29.7 kB / 1.12 GB, free: 8.648 MB / 0.7215 GB Notification: Performance of collectInitialEqns (initialization): time 8.679e-05/1.128, allocations: 120.5 kB / 1.12 GB, free: 8.527 MB / 0.7215 GB Notification: Performance of collectInitialBindings (initialization): time 5.906e-05/1.128, allocations: 55.27 kB / 1.12 GB, free: 8.473 MB / 0.7215 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.338e-05/1.128, allocations: 8.938 kB / 1.12 GB, free: 8.465 MB / 0.7215 GB Notification: Performance of setup shared object (initialization): time 0.0002074/1.128, allocations: 338.8 kB / 1.121 GB, free: 8.125 MB / 0.7215 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/1.129, allocations: 48.81 kB / 1.121 GB, free: 8.074 MB / 0.7215 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002275/1.129, allocations: 223.9 kB / 1.121 GB, free: 7.777 MB / 0.7215 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001598/1.129, allocations: 84.98 kB / 1.121 GB, free: 7.695 MB / 0.7215 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/1.129, allocations: 3.938 kB / 1.121 GB, free: 7.691 MB / 0.7215 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004595/1.129, allocations: 273.5 kB / 1.121 GB, free: 7.418 MB / 0.7215 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/1.129, allocations: 8 kB / 1.121 GB, free: 7.41 MB / 0.7215 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/1.129, allocations: 8.094 kB / 1.121 GB, free: 7.402 MB / 0.7215 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.429e-05/1.129, allocations: 15.94 kB / 1.121 GB, free: 7.387 MB / 0.7215 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002413/1.13, allocations: 62.06 kB / 1.121 GB, free: 7.328 MB / 0.7215 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.82e-05/1.13, allocations: 15.92 kB / 1.121 GB, free: 7.312 MB / 0.7215 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002568/1.13, allocations: 43.64 kB / 1.121 GB, free: 7.27 MB / 0.7215 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.068e-05/1.13, allocations: 20 kB / 1.121 GB, free: 7.25 MB / 0.7215 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 32 ($PRE.TBouSte.QAve_flow,TBouSte.QAve_flow,$PRE.TBouSte.UOld,TBouSte.UOld,$PRE.TBouSte.port.T,TBouSte.port.T,$PRE.TBouSte.iSam,TBouSte.iSam,$whenCondition4,$PRE.TBouCon.QAve_flow,TBouCon.QAve_flow,$PRE.TBouCon.UOld,TBouCon.UOld,$PRE.TBouCon.port.T,TBouCon.port.T,$PRE.TBouCon.iSam,TBouCon.iSam,$whenCondition3,$PRE.TBouPul.QAve_flow,TBouPul.QAve_flow,$PRE.TBouPul.UOld,TBouPul.UOld,$PRE.TBouPul.port.T,TBouPul.port.T,$PRE.TBouPul.iSam,TBouPul.iSam,$whenCondition1,$whenCondition2,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001456/1.13, allocations: 131.4 kB / 1.122 GB, free: 7.117 MB / 0.7215 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.817e-05/1.13, allocations: 27.7 kB / 1.122 GB, free: 7.09 MB / 0.7215 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.206e-05/1.13, allocations: 25.72 kB / 1.122 GB, free: 7.07 MB / 0.7215 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/1.13, allocations: 12.45 kB / 1.122 GB, free: 7.059 MB / 0.7215 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/1.13, allocations: 0 / 1.122 GB, free: 7.059 MB / 0.7215 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/1.13, allocations: 0 / 1.122 GB, free: 7.059 MB / 0.7215 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002964/1.131, allocations: 241.9 kB / 1.122 GB, free: 6.785 MB / 0.7215 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/1.131, allocations: 4 kB / 1.122 GB, free: 6.781 MB / 0.7215 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001461/1.131, allocations: 23.98 kB / 1.122 GB, free: 6.758 MB / 0.7215 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/1.131, allocations: 8.656 kB / 1.122 GB, free: 6.75 MB / 0.7215 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.678e-05/1.131, allocations: 9.172 kB / 1.122 GB, free: 6.742 MB / 0.7215 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/1.131, allocations: 0 / 1.122 GB, free: 6.742 MB / 0.7215 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.131, allocations: 0 / 1.122 GB, free: 6.742 MB / 0.7215 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006324/1.132, allocations: 333.7 kB / 1.122 GB, free: 6.383 MB / 0.7215 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008497/1.132, allocations: 0.7748 MB / 1.123 GB, free: 5.57 MB / 0.7215 GB Notification: Performance of postOpt removeConstants (simulation): time 8.443e-05/1.133, allocations: 108.8 kB / 1.123 GB, free: 5.445 MB / 0.7215 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.699e-05/1.133, allocations: 5.188 kB / 1.123 GB, free: 5.441 MB / 0.7215 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001868/1.133, allocations: 27.97 kB / 1.123 GB, free: 5.414 MB / 0.7215 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.514e-05/1.133, allocations: 23.97 kB / 1.123 GB, free: 5.391 MB / 0.7215 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-05/1.133, allocations: 7.984 kB / 1.123 GB, free: 5.383 MB / 0.7215 GB Notification: Performance of sort global known variables: time 0.0001394/1.133, allocations: 152.5 kB / 1.123 GB, free: 5.23 MB / 0.7215 GB Notification: Performance of remove unused functions: time 0.001132/1.134, allocations: 91.83 kB / 1.123 GB, free: 5.141 MB / 0.7215 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (TBouSte.U,TBouCon.U,TBouPul.U) * Number of discrete variables: 18 ($whenCondition4,TBouSte.QAve_flow,TBouSte.port.T,TBouSte.UOld,TBouSte.iSam,$whenCondition3,TBouCon.QAve_flow,TBouCon.port.T,TBouCon.UOld,TBouCon.iSam,$whenCondition2,$whenCondition1,TBouPul.QAve_flow,TBouPul.port.T,TBouPul.UOld,TBouPul.iSam,pulse.T_start,pulse.count) * Number of discrete states: 7 (TBouPul.iSam,TBouPul.UOld,pulse.count,TBouCon.iSam,TBouCon.UOld,TBouSte.iSam,TBouSte.UOld) * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.0005354/1.135, allocations: 185.7 kB / 1.124 GB, free: 4.961 MB / 0.7215 GB Notification: Performance of simCode: created initialization part: time 0.0003802/1.135, allocations: 210.7 kB / 1.124 GB, free: 4.75 MB / 0.7215 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/1.135, allocations: 1.219 kB / 1.124 GB, free: 4.75 MB / 0.7215 GB Notification: Performance of simCode: created simulation system equations: time 0.0001766/1.135, allocations: 79.94 kB / 1.124 GB, free: 4.672 MB / 0.7215 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003926/1.136, allocations: 56.52 kB / 1.124 GB, free: 4.621 MB / 0.7215 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001503/1.137, allocations: 0.5827 MB / 1.124 GB, free: 4.023 MB / 0.7215 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005044/1.138, allocations: 0.7743 MB / 1.125 GB, free: 3.223 MB / 0.7215 GB Notification: Performance of SimCode: time 2.4e-07/1.138, allocations: 3.938 kB / 1.125 GB, free: 3.219 MB / 0.7215 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition_fmu --startTime=0 --stopTime=1.5768e+08 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition.fmu > Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe 2>&1)