Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.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.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.437/1.437, allocations: 285.5 MB / 292.8 MB, free: 9.859 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.00103/0.001031, allocations: 189.2 kB / 361.1 MB, free: 328 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.204/1.204, allocations: 205.1 MB / 0.6195 GB, free: 2.816 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.0009565/0.0009564, allocations: 85.47 kB / 0.7326 GB, free: 0.9805 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.4512/0.4522, allocations: 121.5 MB / 0.8512 GB, free: 151.9 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.6387, allocations: 115.3 MB / 0.9638 GB, free: 56.22 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5608/1.2, allocations: 142.1 MB / 1.103 GB, free: 27.71 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001974/1.2, allocations: 97.61 kB / 1.103 GB, free: 27.71 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.01434/1.214, allocations: 5.575 MB / 1.108 GB, free: 26.88 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/1.214, allocations: 7.75 kB / 1.108 GB, free: 26.88 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.124e-05/1.214, allocations: 38.81 kB / 1.108 GB, free: 26.86 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003951/1.215, allocations: 292.6 kB / 1.108 GB, free: 26.64 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/1.215, allocations: 3.875 kB / 1.108 GB, free: 26.64 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.237e-05/1.215, allocations: 15.58 kB / 1.108 GB, free: 26.64 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001685/1.215, allocations: 65.19 kB / 1.108 GB, free: 26.64 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002416/1.215, allocations: 177.6 kB / 1.109 GB, free: 26.55 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/1.215, allocations: 0 / 1.109 GB, free: 26.55 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.385e-05/1.215, allocations: 7.062 kB / 1.109 GB, free: 26.55 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/1.215, allocations: 3.844 kB / 1.109 GB, free: 26.55 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008773/1.216, allocations: 0.8469 MB / 1.109 GB, free: 25.88 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002395/1.216, allocations: 164.9 kB / 1.11 GB, free: 25.81 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.917e-05/1.217, allocations: 67.05 kB / 1.11 GB, free: 25.79 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.287e-05/1.217, allocations: 3.969 kB / 1.11 GB, free: 25.79 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001817/1.217, allocations: 163.2 kB / 1.11 GB, free: 25.71 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=23): time 2.986e-06/1.217, allocations: 0 / 1.11 GB, free: 25.71 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23): time 0.0004416/1.217, allocations: 201.8 kB / 1.11 GB, free: 25.65 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/1.217, allocations: 113.6 kB / 1.11 GB, free: 25.52 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/1.217, allocations: 205 kB / 1.11 GB, free: 25.41 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/1.217, allocations: 32.2 kB / 1.11 GB, free: 25.38 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.814e-05/1.218, allocations: 121 kB / 1.11 GB, free: 25.28 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.926e-05/1.218, allocations: 59.62 kB / 1.111 GB, free: 25.25 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.129e-05/1.218, allocations: 0 / 1.111 GB, free: 25.25 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001657/1.218, allocations: 339.6 kB / 1.111 GB, free: 40.93 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.267e-05/1.218, allocations: 53.72 kB / 1.111 GB, free: 40.93 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001352/1.218, allocations: 219.8 kB / 1.111 GB, free: 40.71 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001173/1.218, allocations: 83.81 kB / 1.111 GB, free: 40.7 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/1.218, allocations: 0 / 1.111 GB, free: 40.7 MB / 0.7292 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000373/1.218, allocations: 282.5 kB / 1.111 GB, free: 40.61 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/1.219, allocations: 2.938 kB / 1.111 GB, free: 40.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/1.219, allocations: 8.359 kB / 1.111 GB, free: 40.61 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/1.219, allocations: 10.03 kB / 1.111 GB, free: 40.61 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002119/1.219, allocations: 77.64 kB / 1.112 GB, free: 40.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/1.219, allocations: 10.47 kB / 1.112 GB, free: 40.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002363/1.219, allocations: 37.59 kB / 1.112 GB, free: 40.59 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.47e-05/1.219, allocations: 24.45 kB / 1.112 GB, free: 40.58 MB / 0.7292 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.0001066/1.219, allocations: 134.5 kB / 1.112 GB, free: 40.46 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.729e-05/1.219, allocations: 29.83 kB / 1.112 GB, free: 40.45 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.148e-05/1.219, allocations: 19.19 kB / 1.112 GB, free: 40.45 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/1.219, allocations: 7.578 kB / 1.112 GB, free: 40.44 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/1.219, allocations: 3.906 kB / 1.112 GB, free: 40.44 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/1.219, allocations: 7.812 kB / 1.112 GB, free: 40.43 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000193/1.22, allocations: 239 kB / 1.112 GB, free: 40.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/1.22, allocations: 0 / 1.112 GB, free: 40.27 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001202/1.22, allocations: 27.75 kB / 1.112 GB, free: 40.27 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/1.22, allocations: 3.969 kB / 1.112 GB, free: 40.27 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/1.22, allocations: 11.62 kB / 1.112 GB, free: 40.27 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/1.22, allocations: 0 / 1.112 GB, free: 40.27 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/1.22, allocations: 4 kB / 1.112 GB, free: 40.26 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004641/1.22, allocations: 325 kB / 1.112 GB, free: 40.13 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006277/1.221, allocations: 0.7797 MB / 1.113 GB, free: 39.62 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.345e-05/1.221, allocations: 100.5 kB / 1.113 GB, free: 39.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.097e-05/1.221, allocations: 6.953 kB / 1.113 GB, free: 39.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/1.221, allocations: 25.12 kB / 1.113 GB, free: 39.51 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.064e-05/1.221, allocations: 27.12 kB / 1.113 GB, free: 39.51 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/1.221, allocations: 14.62 kB / 1.113 GB, free: 39.5 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9.937e-05/1.221, allocations: 145.5 kB / 1.113 GB, free: 39.43 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0009206/1.222, allocations: 98.75 kB / 1.114 GB, free: 39.41 MB / 0.7292 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.0003555/1.223, allocations: 184.2 kB / 1.114 GB, free: 39.3 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002692/1.223, allocations: 214.1 kB / 1.114 GB, free: 39.24 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/1.223, allocations: 0 / 1.114 GB, free: 39.24 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001203/1.223, allocations: 76.47 kB / 1.114 GB, free: 39.24 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/1.223, allocations: 43.83 kB / 1.114 GB, free: 39.24 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/1.224, allocations: 0.5891 MB / 1.115 GB, free: 38.96 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00031/1.225, allocations: 0.7758 MB / 1.115 GB, free: 38.26 MB / 0.7292 GB Notification: Performance of SimCode: time 6.82e-07/1.225, allocations: 0 / 1.115 GB, free: 38.26 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition_fmu --startTime=0 --stopTime=1.5768e+08 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe 2>&1)