Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.051/2.051, allocations: 387.2 MB / 394.5 MB, free: 4.426 MB / 306.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 177.3 kB / 487 MB, free: 10.93 MB / 402.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 221.3 MB / 0.7819 GB, free: 3.836 MB / 0.5496 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009711/0.0009711, allocations: 88.67 kB / 0.9213 GB, free: 4.938 MB / 0.6902 GB Notification: Performance of FrontEnd - loaded program: time 0.5677/0.5687, allocations: 148.5 MB / 1.066 GB, free: 140.9 MB / 0.7214 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3127/0.8815, allocations: 142.3 MB / 1.205 GB, free: 14.54 MB / 0.7371 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8465/1.728, allocations: 153.3 MB / 1.355 GB, free: 14.57 MB / 0.8308 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002329/1.728, allocations: 96.64 kB / 1.355 GB, free: 14.48 MB / 0.8308 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.01775/1.746, allocations: 5.699 MB / 1.361 GB, free: 8.711 MB / 0.8308 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/1.746, allocations: 8 kB / 1.361 GB, free: 8.703 MB / 0.8308 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.942e-05/1.746, allocations: 27.62 kB / 1.361 GB, free: 8.676 MB / 0.8308 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004256/1.747, allocations: 301.7 kB / 1.361 GB, free: 8.344 MB / 0.8308 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/1.747, allocations: 4 kB / 1.361 GB, free: 8.34 MB / 0.8308 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.447e-05/1.747, allocations: 27.91 kB / 1.361 GB, free: 8.312 MB / 0.8308 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000165/1.747, allocations: 60.45 kB / 1.361 GB, free: 8.254 MB / 0.8308 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000271/1.747, allocations: 181.2 kB / 1.361 GB, free: 8.055 MB / 0.8308 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/1.747, allocations: 4 kB / 1.361 GB, free: 8.051 MB / 0.8308 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.337e-05/1.747, allocations: 3.984 kB / 1.361 GB, free: 8.047 MB / 0.8308 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/1.747, allocations: 4 kB / 1.361 GB, free: 8.043 MB / 0.8308 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00109/1.748, allocations: 0.8531 MB / 1.362 GB, free: 7.133 MB / 0.8308 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002957/1.749, allocations: 164.3 kB / 1.362 GB, free: 6.949 MB / 0.8308 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/1.749, allocations: 58.89 kB / 1.362 GB, free: 6.883 MB / 0.8308 GB Notification: Performance of preOpt evalFunc (simulation): time 1.376e-05/1.749, allocations: 7.984 kB / 1.362 GB, free: 6.875 MB / 0.8308 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002283/1.749, allocations: 161.9 kB / 1.362 GB, free: 6.695 MB / 0.8308 GB Notification: Performance of pre-optimization done (n=23): time 1.963e-06/1.749, allocations: 0 / 1.362 GB, free: 6.695 MB / 0.8308 GB Notification: Performance of matching and sorting (n=23): time 0.0005239/1.75, allocations: 189.3 kB / 1.363 GB, free: 6.504 MB / 0.8308 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.937e-05/1.75, allocations: 114.8 kB / 1.363 GB, free: 6.367 MB / 0.8308 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002036/1.75, allocations: 200.1 kB / 1.363 GB, free: 6.164 MB / 0.8308 GB Notification: Performance of collectPreVariables (initialization): time 3.528e-05/1.75, allocations: 33.7 kB / 1.363 GB, free: 6.125 MB / 0.8308 GB Notification: Performance of collectInitialEqns (initialization): time 7.532e-05/1.75, allocations: 116.5 kB / 1.363 GB, free: 6.004 MB / 0.8308 GB Notification: Performance of collectInitialBindings (initialization): time 5.557e-05/1.75, allocations: 59.2 kB / 1.363 GB, free: 5.945 MB / 0.8308 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.166e-05/1.75, allocations: 4 kB / 1.363 GB, free: 5.941 MB / 0.8308 GB Notification: Performance of setup shared object (initialization): time 0.0001544/1.75, allocations: 338.8 kB / 1.363 GB, free: 5.602 MB / 0.8308 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/1.75, allocations: 52.81 kB / 1.364 GB, free: 5.547 MB / 0.8308 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002243/1.751, allocations: 226.8 kB / 1.364 GB, free: 5.246 MB / 0.8308 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001552/1.751, allocations: 79.89 kB / 1.364 GB, free: 5.168 MB / 0.8308 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/1.751, allocations: 4 kB / 1.364 GB, free: 5.164 MB / 0.8308 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004833/1.751, allocations: 281.5 kB / 1.364 GB, free: 4.883 MB / 0.8308 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/1.751, allocations: 4 kB / 1.364 GB, free: 4.879 MB / 0.8308 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/1.751, allocations: 12.06 kB / 1.364 GB, free: 4.867 MB / 0.8308 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.462e-05/1.751, allocations: 8 kB / 1.364 GB, free: 4.859 MB / 0.8308 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00025/1.752, allocations: 67.91 kB / 1.364 GB, free: 4.793 MB / 0.8308 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.479e-05/1.752, allocations: 11.94 kB / 1.364 GB, free: 4.781 MB / 0.8308 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002709/1.752, allocations: 51.56 kB / 1.364 GB, free: 4.73 MB / 0.8308 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.136e-05/1.752, allocations: 20 kB / 1.364 GB, free: 4.711 MB / 0.8308 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.0001404/1.752, allocations: 131.4 kB / 1.364 GB, free: 4.578 MB / 0.8308 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.237e-05/1.752, allocations: 23.72 kB / 1.364 GB, free: 4.555 MB / 0.8308 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.079e-05/1.752, allocations: 25.7 kB / 1.364 GB, free: 4.531 MB / 0.8308 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/1.752, allocations: 7.906 kB / 1.364 GB, free: 4.523 MB / 0.8308 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/1.752, allocations: 4.094 kB / 1.364 GB, free: 4.52 MB / 0.8308 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/1.752, allocations: 7.922 kB / 1.364 GB, free: 4.512 MB / 0.8308 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002952/1.752, allocations: 233.9 kB / 1.365 GB, free: 4.246 MB / 0.8308 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/1.752, allocations: 0 / 1.365 GB, free: 4.246 MB / 0.8308 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000151/1.753, allocations: 27.97 kB / 1.365 GB, free: 4.219 MB / 0.8308 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/1.753, allocations: 4 kB / 1.365 GB, free: 4.215 MB / 0.8308 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.529e-05/1.753, allocations: 4 kB / 1.365 GB, free: 4.211 MB / 0.8308 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/1.753, allocations: 4 kB / 1.365 GB, free: 4.207 MB / 0.8308 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.481e-06/1.753, allocations: 11.98 kB / 1.365 GB, free: 4.195 MB / 0.8308 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006681/1.753, allocations: 335.3 kB / 1.365 GB, free: 3.832 MB / 0.8308 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008091/1.754, allocations: 0.7801 MB / 1.366 GB, free: 3.012 MB / 0.8308 GB Notification: Performance of postOpt removeConstants (simulation): time 7.74e-05/1.754, allocations: 104.8 kB / 1.366 GB, free: 2.891 MB / 0.8308 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.938e-05/1.754, allocations: 8 kB / 1.366 GB, free: 2.883 MB / 0.8308 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001824/1.755, allocations: 19.98 kB / 1.366 GB, free: 2.863 MB / 0.8308 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.378e-05/1.755, allocations: 23.95 kB / 1.366 GB, free: 2.84 MB / 0.8308 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.309e-05/1.755, allocations: 8 kB / 1.366 GB, free: 2.832 MB / 0.8308 GB Notification: Performance of sort global known variables: time 0.000151/1.755, allocations: 152.5 kB / 1.366 GB, free: 2.684 MB / 0.8308 GB Notification: Performance of remove unused functions: time 0.001143/1.756, allocations: 91.83 kB / 1.366 GB, free: 2.594 MB / 0.8308 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.0006316/1.757, allocations: 183.8 kB / 1.366 GB, free: 2.41 MB / 0.8308 GB Notification: Performance of simCode: created initialization part: time 0.0004036/1.757, allocations: 203.3 kB / 1.367 GB, free: 2.207 MB / 0.8308 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/1.757, allocations: 0 / 1.367 GB, free: 2.207 MB / 0.8308 GB Notification: Performance of simCode: created simulation system equations: time 0.0001758/1.757, allocations: 83.92 kB / 1.367 GB, free: 2.125 MB / 0.8308 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003845/1.758, allocations: 54.69 kB / 1.367 GB, free: 2.074 MB / 0.8308 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00152/1.759, allocations: 0.5817 MB / 1.367 GB, free: 1.469 MB / 0.8308 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004918/1.76, allocations: 0.7782 MB / 1.368 GB, free: 0.6602 MB / 0.8308 GB Notification: Performance of SimCode: time 2.51e-07/1.76, allocations: 0 / 1.368 GB, free: 0.6602 MB / 0.8308 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition_fmu --startTime=0 --stopTime=1.5768e+08 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition.fmu > Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe 2>&1)