Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.376/2.376, allocations: 284.9 MB / 292.2 MB, free: 14.64 MB / 238.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001578/0.001578, allocations: 181.2 kB / 360.4 MB, free: 12.15 MB / 302.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.814/1.814, allocations: 205.1 MB / 0.6188 GB, free: 4.594 MB / 462.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001303/0.001302, allocations: 90.8 kB / 0.7318 GB, free: 53.64 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 9.738e-06/9.918e-06, allocations: 0 / 0.8503 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.2612, allocations: 115.2 MB / 0.9628 GB, free: 7.145 MB / 0.7012 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6999/0.9612, allocations: 141.9 MB / 1.101 GB, free: 10.53 MB / 0.7012 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003387/0.9616, allocations: 95.69 kB / 1.101 GB, free: 10.44 MB / 0.7012 GB Notification: Performance of FrontEnd: time 0.02483/0.9864, allocations: 5.033 MB / 1.106 GB, free: 5.496 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.229e-05/0.9865, allocations: 4.188 kB / 1.106 GB, free: 5.492 MB / 0.7012 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.00106/0.9875, allocations: 0.5428 MB / 1.107 GB, free: 4.898 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.9876, allocations: 8.531 kB / 1.107 GB, free: 4.891 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.002e-05/0.9877, allocations: 27.72 kB / 1.107 GB, free: 4.863 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005442/0.9883, allocations: 294.6 kB / 1.107 GB, free: 4.539 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.862e-05/0.9883, allocations: 4 kB / 1.107 GB, free: 4.535 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.927e-05/0.9884, allocations: 16 kB / 1.107 GB, free: 4.52 MB / 0.7012 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002409/0.9886, allocations: 68.34 kB / 1.107 GB, free: 4.453 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000343/0.989, allocations: 172.1 kB / 1.107 GB, free: 4.262 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.989, allocations: 0 / 1.107 GB, free: 4.262 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.168e-05/0.9891, allocations: 4 kB / 1.107 GB, free: 4.258 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.9891, allocations: 0 / 1.107 GB, free: 4.258 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001252/0.9903, allocations: 0.8578 MB / 1.108 GB, free: 3.344 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004042/0.9908, allocations: 170.1 kB / 1.108 GB, free: 3.156 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001583/0.991, allocations: 59.86 kB / 1.109 GB, free: 3.09 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.991, allocations: 2.766 kB / 1.109 GB, free: 3.09 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003096/0.9913, allocations: 166.1 kB / 1.109 GB, free: 2.906 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=23): time 2.996e-06/0.9913, allocations: 3.938 kB / 1.109 GB, free: 2.902 MB / 0.7012 GB Notification: Performance of matching and sorting (n=23): time 0.0007405/0.9921, allocations: 194.9 kB / 1.109 GB, free: 2.707 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.178e-05/0.9921, allocations: 114.8 kB / 1.109 GB, free: 2.57 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002934/0.9924, allocations: 208 kB / 1.109 GB, free: 2.355 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 4.019e-05/0.9925, allocations: 25.7 kB / 1.109 GB, free: 2.324 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 6.182e-05/0.9926, allocations: 116.5 kB / 1.109 GB, free: 2.207 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 6.187e-05/0.9926, allocations: 59.25 kB / 1.109 GB, free: 2.148 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.698e-05/0.9927, allocations: 4 kB / 1.109 GB, free: 2.145 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 8.379e-05/0.9928, allocations: 338.8 kB / 1.11 GB, free: 1.805 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/0.9929, allocations: 48.81 kB / 1.11 GB, free: 1.754 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002353/0.9932, allocations: 223.9 kB / 1.11 GB, free: 1.453 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000209/0.9934, allocations: 83.91 kB / 1.11 GB, free: 1.371 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.9934, allocations: 4 kB / 1.11 GB, free: 1.367 MB / 0.7012 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006244/0.994, allocations: 273.6 kB / 1.11 GB, free: 1.094 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.9941, allocations: 4 kB / 1.11 GB, free: 1.09 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.9941, allocations: 11.97 kB / 1.11 GB, free: 1.078 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.849e-05/0.9941, allocations: 15.98 kB / 1.11 GB, free: 1.062 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004281/0.9946, allocations: 63.91 kB / 1.11 GB, free: 1 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.46e-05/0.9946, allocations: 17.62 kB / 1.11 GB, free: 0.9844 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004215/0.995, allocations: 43.64 kB / 1.11 GB, free: 0.9414 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.23e-05/0.9951, allocations: 23.94 kB / 1.11 GB, free: 0.918 MB / 0.7012 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.0001489/0.9952, allocations: 135.2 kB / 1.111 GB, free: 0.7812 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.343e-05/0.9953, allocations: 26.16 kB / 1.111 GB, free: 0.7578 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.738e-05/0.9954, allocations: 25.7 kB / 1.111 GB, free: 0.7344 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.253e-06/0.9954, allocations: 11.91 kB / 1.111 GB, free: 0.7227 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.9954, allocations: 0 / 1.111 GB, free: 0.7227 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.9955, allocations: 0 / 1.111 GB, free: 0.7227 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003276/0.9958, allocations: 241.9 kB / 1.111 GB, free: 460 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.9958, allocations: 0 / 1.111 GB, free: 460 kB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002239/0.996, allocations: 19.98 kB / 1.111 GB, free: 440 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.9961, allocations: 4 kB / 1.111 GB, free: 436 kB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.228e-05/0.9961, allocations: 15.98 kB / 1.111 GB, free: 420 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.9961, allocations: 2.438 kB / 1.111 GB, free: 420 kB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.92e-06/0.9961, allocations: 4 kB / 1.111 GB, free: 416 kB / 0.7012 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008638/0.997, allocations: 328.6 kB / 1.111 GB, free: 52 kB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.9972, allocations: 105.5 kB / 1.111 GB, free: 15.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.538e-05/0.9972, allocations: 11.98 kB / 1.111 GB, free: 15.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003169/0.9976, allocations: 15.98 kB / 1.111 GB, free: 15.9 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.9977, allocations: 23.95 kB / 1.111 GB, free: 15.88 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.474e-05/0.9977, allocations: 12 kB / 1.111 GB, free: 15.86 MB / 0.7169 GB Notification: Performance of sort global known variables: time 0.0002173/0.998, allocations: 152.5 kB / 1.112 GB, free: 15.72 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000674/0.9987, allocations: 87.86 kB / 1.112 GB, free: 15.63 MB / 0.7169 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.0005428/0.9992, allocations: 180.7 kB / 1.112 GB, free: 15.46 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0006201/0.9999, allocations: 208.3 kB / 1.112 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.9999, allocations: 0 / 1.112 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002645/1, allocations: 85.53 kB / 1.112 GB, free: 15.17 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006111/1.001, allocations: 52.38 kB / 1.112 GB, free: 15.12 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00231/1.003, allocations: 0.5859 MB / 1.113 GB, free: 14.53 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004978/1.004, allocations: 0.7755 MB / 1.113 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of SimCode: time 9.61e-07/1.004, allocations: 0.9375 kB / 1.113 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of Templates: time 0.01332/1.017, allocations: 3.756 MB / 1.117 GB, free: 10.1 MB / 0.7169 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.makefile (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 & ./Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe 2>&1)