Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0/package.mo): time 2.427/2.427, allocations: 284.8 MB / 292.1 MB, free: 10.77 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.002802/0.002801, allocations: 173.3 kB / 360.3 MB, free: 7.562 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.065/2.065, allocations: 205.1 MB / 0.6187 GB, free: 13.31 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.001224/0.001223, allocations: 88.27 kB / 0.7317 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2854/0.2867, allocations: 121.4 MB / 0.8502 GB, free: 3.953 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6486/0.9353, allocations: 115.2 MB / 0.9628 GB, free: 78.66 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2497/1.185, allocations: 141.9 MB / 1.101 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004043/1.186, allocations: 95.94 kB / 1.101 GB, free: 14.86 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.02815/1.214, allocations: 5.59 MB / 1.107 GB, free: 9.285 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/1.214, allocations: 8.5 kB / 1.107 GB, free: 9.277 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/1.214, allocations: 27.72 kB / 1.107 GB, free: 9.25 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006497/1.215, allocations: 301.8 kB / 1.107 GB, free: 8.918 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/1.215, allocations: 4 kB / 1.107 GB, free: 8.914 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.047e-05/1.215, allocations: 12 kB / 1.107 GB, free: 8.902 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002664/1.215, allocations: 64.36 kB / 1.107 GB, free: 8.84 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004647/1.215, allocations: 180.1 kB / 1.107 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/1.215, allocations: 0 / 1.107 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.331e-05/1.215, allocations: 5.062 kB / 1.107 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-06/1.215, allocations: 4 kB / 1.107 GB, free: 8.633 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001456/1.217, allocations: 0.8532 MB / 1.108 GB, free: 7.723 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004826/1.217, allocations: 167.1 kB / 1.108 GB, free: 7.535 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001803/1.218, allocations: 54.73 kB / 1.109 GB, free: 7.473 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/1.218, allocations: 8 kB / 1.109 GB, free: 7.465 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003476/1.218, allocations: 157.9 kB / 1.109 GB, free: 7.289 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=23): time 5.13e-06/1.218, allocations: 0 / 1.109 GB, free: 7.289 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23): time 0.0007597/1.219, allocations: 195.4 kB / 1.109 GB, free: 7.094 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.438e-05/1.219, allocations: 119 kB / 1.109 GB, free: 6.953 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003133/1.219, allocations: 204 kB / 1.109 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.095e-05/1.219, allocations: 37.69 kB / 1.109 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.951e-05/1.219, allocations: 112.5 kB / 1.109 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.223e-05/1.22, allocations: 63.25 kB / 1.109 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.756e-05/1.22, allocations: 0 / 1.109 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001526/1.22, allocations: 334.8 kB / 1.11 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001745/1.22, allocations: 48.81 kB / 1.11 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003099/1.22, allocations: 231.9 kB / 1.11 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002301/1.22, allocations: 83.11 kB / 1.11 GB, free: 5.75 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/1.22, allocations: 0 / 1.11 GB, free: 5.75 MB / 0.7136 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007596/1.221, allocations: 277.1 kB / 1.11 GB, free: 5.473 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/1.221, allocations: 8 kB / 1.11 GB, free: 5.465 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/1.221, allocations: 4 kB / 1.11 GB, free: 5.461 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.038e-05/1.221, allocations: 8 kB / 1.11 GB, free: 5.453 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004553/1.222, allocations: 72.39 kB / 1.11 GB, free: 5.383 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.677e-05/1.222, allocations: 11.94 kB / 1.11 GB, free: 5.371 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004357/1.222, allocations: 43.64 kB / 1.11 GB, free: 5.328 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.29e-05/1.222, allocations: 18.25 kB / 1.11 GB, free: 5.312 MB / 0.7136 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.0001834/1.223, allocations: 151.1 kB / 1.111 GB, free: 5.16 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.863e-05/1.223, allocations: 23.72 kB / 1.111 GB, free: 5.137 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.122e-05/1.223, allocations: 25.69 kB / 1.111 GB, free: 5.113 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/1.223, allocations: 7.906 kB / 1.111 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/1.223, allocations: 0 / 1.111 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/1.223, allocations: 1.406 kB / 1.111 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003999/1.223, allocations: 241.9 kB / 1.111 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/1.223, allocations: 4 kB / 1.111 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002382/1.223, allocations: 27.98 kB / 1.111 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.569e-06/1.223, allocations: 4 kB / 1.111 GB, free: 4.797 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.908e-05/1.224, allocations: 7.984 kB / 1.111 GB, free: 4.789 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/1.224, allocations: 0 / 1.111 GB, free: 4.789 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/1.224, allocations: 3.938 kB / 1.111 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001015/1.225, allocations: 332.3 kB / 1.111 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0013/1.226, allocations: 0.7787 MB / 1.112 GB, free: 3.609 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001272/1.226, allocations: 100.8 kB / 1.112 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.246e-05/1.226, allocations: 10.33 kB / 1.112 GB, free: 3.484 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003441/1.227, allocations: 23.98 kB / 1.112 GB, free: 3.461 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/1.227, allocations: 23.97 kB / 1.112 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.244e-05/1.227, allocations: 7.984 kB / 1.112 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0002095/1.227, allocations: 152.5 kB / 1.112 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00153/1.228, allocations: 87.77 kB / 1.112 GB, free: 3.195 MB / 0.7136 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.000558/1.229, allocations: 182.9 kB / 1.113 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0006587/1.23, allocations: 202.7 kB / 1.113 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/1.23, allocations: 0 / 1.113 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002633/1.23, allocations: 84.36 kB / 1.113 GB, free: 2.727 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005745/1.231, allocations: 51.12 kB / 1.113 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002392/1.233, allocations: 0.5923 MB / 1.113 GB, free: 2.074 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004901/1.234, allocations: 0.7677 MB / 1.114 GB, free: 1.281 MB / 0.7136 GB Notification: Performance of SimCode: time 1.713e-06/1.234, allocations: 0 / 1.114 GB, free: 1.281 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition_fmu --startTime=0 --stopTime=1.5768e+08 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition.fmu > Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe 2>&1)