Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance") translateModel(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.4744/0.4744, allocations: 94.74 MB / 102 MB, free: 10.34 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00119/0.00119, allocations: 168.4 kB / 125.3 MB, free: 11.96 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.165/1.165, allocations: 170.5 MB / 319 MB, free: 9.277 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001615/0.001615, allocations: 107.5 kB / 381 MB, free: 18.19 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.748e-06/9.768e-06, allocations: 4 kB / 448.6 MB, free: 2.078 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1478, allocations: 61.52 MB / 0.4981 GB, free: 4.469 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8407/0.9885, allocations: 365.8 MB / 0.8554 GB, free: 8.113 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002353/0.9888, allocations: 91.55 kB / 0.8554 GB, free: 8.062 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.03556/1.024, allocations: 16.29 MB / 0.8714 GB, free: 11.45 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.225e-06/1.024, allocations: 0 / 0.8714 GB, free: 11.45 MB / 0.5105 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.0003855/1.025, allocations: 395 kB / 0.8717 GB, free: 11.01 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/1.025, allocations: 12.03 kB / 0.8717 GB, free: 11 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.627e-05/1.025, allocations: 1.562 kB / 0.8717 GB, free: 11 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001449/1.025, allocations: 168.1 kB / 0.8719 GB, free: 10.8 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/1.025, allocations: 0 / 0.8719 GB, free: 10.8 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/1.025, allocations: 8 kB / 0.8719 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.714e-05/1.025, allocations: 0 / 0.8719 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.657e-05/1.025, allocations: 33.64 kB / 0.8719 GB, free: 10.75 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/1.025, allocations: 0 / 0.8719 GB, free: 10.75 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/1.025, allocations: 2.344 kB / 0.8719 GB, free: 10.75 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/1.025, allocations: 3.906 kB / 0.872 GB, free: 10.75 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001458/1.025, allocations: 133.5 kB / 0.8721 GB, free: 10.59 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.109e-05/1.026, allocations: 18.61 kB / 0.8721 GB, free: 10.56 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.893e-05/1.026, allocations: 11.11 kB / 0.8721 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.13e-05/1.026, allocations: 4.062 kB / 0.8721 GB, free: 10.54 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/1.026, allocations: 33 kB / 0.8721 GB, free: 10.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/1.026, allocations: 0 / 0.8721 GB, free: 10.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0002787/1.026, allocations: 56.52 kB / 0.8722 GB, free: 10.45 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/1.026, allocations: 77.11 kB / 0.8723 GB, free: 10.35 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.842e-05/1.026, allocations: 98.73 kB / 0.8724 GB, free: 10.25 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/1.026, allocations: 29.73 kB / 0.8724 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.206e-05/1.026, allocations: 80.14 kB / 0.8725 GB, free: 10.13 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.797e-05/1.026, allocations: 6.219 kB / 0.8725 GB, free: 10.13 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-06/1.026, allocations: 0 / 0.8725 GB, free: 10.13 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001214/1.026, allocations: 314.8 kB / 0.8728 GB, free: 9.812 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.065e-05/1.026, allocations: 0 / 0.8728 GB, free: 9.812 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.038e-05/1.026, allocations: 3.25 kB / 0.8728 GB, free: 9.812 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001091/1.026, allocations: 15.97 kB / 0.8728 GB, free: 9.797 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.026, allocations: 0 / 0.8728 GB, free: 9.797 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001464/1.027, allocations: 53.73 kB / 0.8728 GB, free: 9.738 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/1.027, allocations: 4 kB / 0.8729 GB, free: 9.734 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/1.027, allocations: 0 / 0.8729 GB, free: 9.734 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/1.027, allocations: 3.938 kB / 0.8729 GB, free: 9.73 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.827e-06/1.027, allocations: 4 kB / 0.8729 GB, free: 9.727 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/1.027, allocations: 8.594 kB / 0.8729 GB, free: 9.719 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.638e-05/1.027, allocations: 3.938 kB / 0.8729 GB, free: 9.715 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/1.027, allocations: 0 / 0.8729 GB, free: 9.715 MB / 0.5105 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 (1): * Single equations (assignments): 0 * 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 8.611e-05/1.027, allocations: 130.7 kB / 0.873 GB, free: 9.574 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.288e-05/1.027, allocations: 10.52 kB / 0.873 GB, free: 9.566 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.82e-05/1.027, allocations: 11.17 kB / 0.873 GB, free: 9.559 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/1.027, allocations: 0 / 0.873 GB, free: 9.559 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/1.027, allocations: 4 kB / 0.873 GB, free: 9.555 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/1.027, allocations: 2.906 kB / 0.873 GB, free: 9.555 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001444/1.027, allocations: 133.5 kB / 0.8731 GB, free: 9.391 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/1.027, allocations: 0 / 0.8731 GB, free: 9.391 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.703e-06/1.027, allocations: 0.75 kB / 0.8731 GB, free: 9.391 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/1.027, allocations: 0 / 0.8731 GB, free: 9.391 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/1.027, allocations: 0 / 0.8731 GB, free: 9.391 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/1.027, allocations: 4 kB / 0.8732 GB, free: 9.387 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/1.027, allocations: 3.906 kB / 0.8732 GB, free: 9.383 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000171/1.027, allocations: 76.67 kB / 0.8732 GB, free: 9.293 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.438e-05/1.027, allocations: 87.25 kB / 0.8733 GB, free: 9.191 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/1.027, allocations: 4 kB / 0.8733 GB, free: 9.188 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.773e-05/1.027, allocations: 0 / 0.8733 GB, free: 9.188 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.017e-05/1.027, allocations: 0 / 0.8733 GB, free: 9.188 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/1.027, allocations: 3.938 kB / 0.8733 GB, free: 9.184 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.574e-05/1.027, allocations: 87 kB / 0.8734 GB, free: 9.102 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002348/1.028, allocations: 27.98 kB / 0.8734 GB, free: 9.074 MB / 0.5105 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 (1): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0003107/1.028, allocations: 170.5 kB / 0.8736 GB, free: 8.902 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 8.807e-05/1.028, allocations: 33.7 kB / 0.8736 GB, free: 8.863 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/1.028, allocations: 0 / 0.8736 GB, free: 8.863 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.684e-05/1.028, allocations: 36.33 kB / 0.8737 GB, free: 8.824 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000133/1.028, allocations: 0 / 0.8737 GB, free: 8.824 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000193/1.028, allocations: 56.73 kB / 0.8737 GB, free: 8.75 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002645/1.029, allocations: 0.6918 MB / 0.8744 GB, free: 8.031 MB / 0.5105 GB Notification: Performance of SimCode: time 3.5e-07/1.029, allocations: 0 / 0.8744 GB, free: 8.031 MB / 0.5105 GB Notification: Performance of Templates: time 0.003532/1.032, allocations: 1.038 MB / 0.8754 GB, free: 7.055 MB / 0.5105 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1)