Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.246/1.246, allocations: 249.4 MB / 256.7 MB, free: 7.031 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001122/0.001122, allocations: 189.2 kB / 316 MB, free: 3.574 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.191/1.191, allocations: 205.1 MB / 0.5667 GB, free: 15.7 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007954/0.0007954, allocations: 92.52 kB / 0.671 GB, free: 4.828 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4171/0.4179, allocations: 112.5 MB / 0.7808 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1949/0.6129, allocations: 106.3 MB / 0.8847 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5178/1.131, allocations: 135.8 MB / 1.017 GB, free: 65.53 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002628/1.131, allocations: 93.05 kB / 1.017 GB, free: 65.53 MB / 0.7292 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.01555/1.147, allocations: 5.579 MB / 1.023 GB, free: 64.7 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/1.147, allocations: 11.5 kB / 1.023 GB, free: 64.7 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.475e-05/1.147, allocations: 24.48 kB / 1.023 GB, free: 64.69 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003569/1.147, allocations: 309.2 kB / 1.023 GB, free: 64.46 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/1.147, allocations: 5.625 kB / 1.023 GB, free: 64.46 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.891e-05/1.147, allocations: 13.03 kB / 1.023 GB, free: 64.46 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000144/1.147, allocations: 63.92 kB / 1.023 GB, free: 64.46 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002255/1.148, allocations: 175.3 kB / 1.023 GB, free: 64.38 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/1.148, allocations: 4 kB / 1.023 GB, free: 64.37 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.25e-05/1.148, allocations: 1.734 kB / 1.023 GB, free: 64.37 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/1.148, allocations: 3.844 kB / 1.023 GB, free: 64.37 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008491/1.148, allocations: 0.8559 MB / 1.024 GB, free: 63.7 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002321/1.149, allocations: 168.6 kB / 1.024 GB, free: 63.63 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.6e-05/1.149, allocations: 56.95 kB / 1.024 GB, free: 63.61 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.263e-05/1.149, allocations: 3.844 kB / 1.024 GB, free: 63.61 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001918/1.149, allocations: 171.4 kB / 1.025 GB, free: 63.53 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=23): time 1.593e-06/1.149, allocations: 0 / 1.025 GB, free: 63.53 MB / 0.7292 GB Notification: Performance of matching and sorting (n=23): time 0.0004516/1.149, allocations: 190.5 kB / 1.025 GB, free: 63.48 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/1.15, allocations: 121.1 kB / 1.025 GB, free: 63.35 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/1.15, allocations: 202.2 kB / 1.025 GB, free: 63.25 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/1.15, allocations: 34.33 kB / 1.025 GB, free: 63.21 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.692e-05/1.15, allocations: 114.5 kB / 1.025 GB, free: 63.12 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.355e-05/1.15, allocations: 59.81 kB / 1.025 GB, free: 63.09 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.029e-05/1.15, allocations: 3.938 kB / 1.025 GB, free: 63.09 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.785e-05/1.15, allocations: 344.5 kB / 1.026 GB, free: 62.77 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.813e-05/1.15, allocations: 53.23 kB / 1.026 GB, free: 62.77 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001586/1.15, allocations: 226.2 kB / 1.026 GB, free: 62.54 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001125/1.15, allocations: 78 kB / 1.026 GB, free: 62.53 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/1.15, allocations: 3.844 kB / 1.026 GB, free: 62.53 MB / 0.7292 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003513/1.151, allocations: 277.7 kB / 1.026 GB, free: 62.45 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.718e-06/1.151, allocations: 3.844 kB / 1.026 GB, free: 62.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/1.151, allocations: 8.438 kB / 1.026 GB, free: 62.45 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/1.151, allocations: 7.719 kB / 1.026 GB, free: 62.45 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002133/1.151, allocations: 75.72 kB / 1.026 GB, free: 62.44 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/1.151, allocations: 10.02 kB / 1.026 GB, free: 62.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002232/1.151, allocations: 39.09 kB / 1.026 GB, free: 62.43 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.046e-05/1.151, allocations: 18.12 kB / 1.026 GB, free: 62.43 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 7.983e-05/1.151, allocations: 139.8 kB / 1.027 GB, free: 62.3 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.486e-05/1.151, allocations: 28.39 kB / 1.027 GB, free: 62.29 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.565e-05/1.151, allocations: 22.78 kB / 1.027 GB, free: 62.29 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.187e-06/1.151, allocations: 4.547 kB / 1.027 GB, free: 62.29 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/1.151, allocations: 0 / 1.027 GB, free: 62.29 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/1.151, allocations: 1.547 kB / 1.027 GB, free: 62.29 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002121/1.152, allocations: 245 kB / 1.027 GB, free: 62.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/1.152, allocations: 0 / 1.027 GB, free: 62.12 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001263/1.152, allocations: 31.56 kB / 1.027 GB, free: 62.11 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/1.152, allocations: 3.844 kB / 1.027 GB, free: 62.11 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.403e-05/1.152, allocations: 11.31 kB / 1.027 GB, free: 62.11 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/1.152, allocations: 3.906 kB / 1.027 GB, free: 62.11 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/1.152, allocations: 0.7969 kB / 1.027 GB, free: 62.11 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004737/1.152, allocations: 335.5 kB / 1.027 GB, free: 61.97 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005818/1.153, allocations: 0.7736 MB / 1.028 GB, free: 61.46 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.638e-05/1.153, allocations: 101.9 kB / 1.028 GB, free: 61.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.258e-05/1.153, allocations: 5.234 kB / 1.028 GB, free: 61.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001719/1.153, allocations: 24.34 kB / 1.028 GB, free: 61.35 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.014e-05/1.153, allocations: 28.52 kB / 1.028 GB, free: 61.35 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/1.153, allocations: 9.078 kB / 1.028 GB, free: 61.35 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8.97e-05/1.153, allocations: 151.2 kB / 1.028 GB, free: 61.27 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0009517/1.154, allocations: 83.78 kB / 1.028 GB, free: 61.26 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.0003408/1.155, allocations: 189.4 kB / 1.028 GB, free: 61.14 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002696/1.155, allocations: 206.9 kB / 1.029 GB, free: 61.09 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/1.155, allocations: 0 / 1.029 GB, free: 61.09 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001204/1.155, allocations: 77.42 kB / 1.029 GB, free: 61.09 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003038/1.155, allocations: 58.64 kB / 1.029 GB, free: 61.08 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/1.157, allocations: 0.5898 MB / 1.029 GB, free: 60.8 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002208/1.157, allocations: 0.7772 MB / 1.03 GB, free: 60.09 MB / 0.7292 GB Notification: Performance of SimCode: time 3e-07/1.157, allocations: 0 / 1.03 GB, free: 60.09 MB / 0.7292 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition_fmu --startTime=0 --stopTime=1.5768e+08 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe 2>&1)