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.ConvectionResistance.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.ConvectionResistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") [: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.403/2.403, allocations: 284.9 MB / 292.2 MB, free: 10.74 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001625/0.001625, allocations: 185.2 kB / 360.4 MB, free: 7.504 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.833/1.833, allocations: 205.2 MB / 0.6188 GB, free: 12.43 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001349/0.001349, allocations: 94.66 kB / 0.7318 GB, free: 44.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.431e-05/1.448e-05, allocations: 4 kB / 0.8503 GB, free: 3.844 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6856/0.6856, allocations: 115.2 MB / 0.9628 GB, free: 78.3 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9845/1.67, allocations: 368.4 MB / 1.323 GB, free: 185 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004851/1.671, allocations: 93.56 kB / 1.323 GB, free: 185 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.06022/1.731, allocations: 16.04 MB / 1.338 GB, free: 181.1 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.366e-06/1.731, allocations: 2.594 kB / 1.338 GB, free: 181.1 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000387/1.731, allocations: 372.6 kB / 1.339 GB, free: 180.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/1.732, allocations: 8.469 kB / 1.339 GB, free: 180.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.381e-05/1.732, allocations: 6.406 kB / 1.339 GB, free: 180.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/1.732, allocations: 167 kB / 1.339 GB, free: 180.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/1.732, allocations: 2.062 kB / 1.339 GB, free: 180.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/1.732, allocations: 2.656 kB / 1.339 GB, free: 180.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.441e-05/1.732, allocations: 2.469 kB / 1.339 GB, free: 180.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.459e-05/1.732, allocations: 28.73 kB / 1.339 GB, free: 180.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/1.732, allocations: 11.83 kB / 1.339 GB, free: 180.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/1.732, allocations: 2.875 kB / 1.339 GB, free: 180.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/1.732, allocations: 4 kB / 1.339 GB, free: 180.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001436/1.732, allocations: 135.9 kB / 1.339 GB, free: 180.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 5.397e-05/1.732, allocations: 27.3 kB / 1.339 GB, free: 180.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.271e-05/1.732, allocations: 7.328 kB / 1.339 GB, free: 180.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002983/1.732, allocations: 98.86 kB / 1.339 GB, free: 180.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/1.733, allocations: 34.56 kB / 1.339 GB, free: 180.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 1.543e-06/1.733, allocations: 0 / 1.339 GB, free: 180.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.000271/1.733, allocations: 54.8 kB / 1.339 GB, free: 180.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.208e-05/1.733, allocations: 51.41 kB / 1.339 GB, free: 180 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.047e-05/1.733, allocations: 92.97 kB / 1.339 GB, free: 179.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.308e-06/1.733, allocations: 25.7 kB / 1.339 GB, free: 179.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 1.846e-05/1.733, allocations: 84.02 kB / 1.339 GB, free: 179.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.453e-05/1.733, allocations: 10.28 kB / 1.339 GB, free: 179.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-06/1.733, allocations: 3.938 kB / 1.339 GB, free: 179.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.063e-05/1.733, allocations: 314.8 kB / 1.34 GB, free: 179.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.517e-05/1.733, allocations: 2.625 kB / 1.34 GB, free: 179.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.349e-05/1.733, allocations: 2.719 kB / 1.34 GB, free: 179.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/1.733, allocations: 9.609 kB / 1.34 GB, free: 179.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/1.733, allocations: 2.438 kB / 1.34 GB, free: 179.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001782/1.733, allocations: 51.61 kB / 1.34 GB, free: 179.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/1.733, allocations: 5.656 kB / 1.34 GB, free: 179.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/1.734, allocations: 4 kB / 1.34 GB, free: 179.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/1.734, allocations: 3.906 kB / 1.34 GB, free: 179.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.481e-05/1.734, allocations: 7.516 kB / 1.34 GB, free: 179.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/1.734, allocations: 0 / 1.34 GB, free: 179.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.623e-05/1.734, allocations: 0 / 1.34 GB, free: 179.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.794e-06/1.734, allocations: 2.938 kB / 1.34 GB, free: 179.4 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 5.001e-05/1.734, allocations: 104.8 kB / 1.34 GB, free: 179.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.197e-05/1.734, allocations: 6.531 kB / 1.34 GB, free: 179.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002356/1.734, allocations: 65.39 kB / 1.34 GB, free: 179.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/1.734, allocations: 0 / 1.34 GB, free: 179.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/1.734, allocations: 0 / 1.34 GB, free: 179.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/1.734, allocations: 0 / 1.34 GB, free: 179.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001139/1.734, allocations: 136.7 kB / 1.34 GB, free: 179.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/1.734, allocations: 0 / 1.34 GB, free: 179.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.737e-05/1.734, allocations: 2.75 kB / 1.34 GB, free: 179.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/1.734, allocations: 0 / 1.34 GB, free: 179.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/1.734, allocations: 6.531 kB / 1.34 GB, free: 179.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/1.734, allocations: 10.48 kB / 1.34 GB, free: 179.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/1.734, allocations: 1.062 kB / 1.34 GB, free: 179.1 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001849/1.734, allocations: 74.86 kB / 1.34 GB, free: 179 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.995e-05/1.735, allocations: 84.11 kB / 1.34 GB, free: 178.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/1.735, allocations: 0 / 1.34 GB, free: 178.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.381e-05/1.735, allocations: 0 / 1.34 GB, free: 178.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.328e-05/1.735, allocations: 3.125 kB / 1.34 GB, free: 178.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-06/1.735, allocations: 2.812 kB / 1.34 GB, free: 178.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.852e-05/1.735, allocations: 87.14 kB / 1.34 GB, free: 178.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003155/1.735, allocations: 31.16 kB / 1.34 GB, free: 178.8 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0002847/1.735, allocations: 155.4 kB / 1.341 GB, free: 178.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.081e-05/1.735, allocations: 5.781 kB / 1.341 GB, free: 178.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/1.735, allocations: 0 / 1.341 GB, free: 178.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.586e-05/1.735, allocations: 5.781 kB / 1.341 GB, free: 178.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001572/1.736, allocations: 6.656 kB / 1.341 GB, free: 178.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001973/1.736, allocations: 61.36 kB / 1.341 GB, free: 178.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001501/1.736, allocations: 0.6889 MB / 1.341 GB, free: 177.9 MB / 0.8542 GB Notification: Performance of SimCode: time 7.12e-07/1.736, allocations: 0 / 1.341 GB, free: 177.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.004217/1.74, allocations: 0.9749 MB / 1.342 GB, free: 177.4 MB / 0.8542 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & ./Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1)