Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.692/1.692, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.001753/0.001753, allocations: 183.3 kB / 361.1 MB, free: 7.109 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.647/1.647, allocations: 205.1 MB / 0.6195 GB, free: 10.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.0009335/0.0009335, allocations: 93.97 kB / 0.7326 GB, free: 44.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.394e-06/7.424e-06, allocations: 0 / 0.8511 GB, free: 3.004 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7401/0.7401, allocations: 115.3 MB / 0.9637 GB, free: 78.16 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8763/1.616, allocations: 368.6 MB / 1.324 GB, free: 231.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002716/1.617, allocations: 89.44 kB / 1.324 GB, free: 231.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.0345/1.651, allocations: 16.03 MB / 1.339 GB, free: 215.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.945e-06/1.651, allocations: 4 kB / 1.339 GB, free: 215.3 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.0003189/1.652, allocations: 370.3 kB / 1.34 GB, free: 214.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/1.652, allocations: 12.53 kB / 1.34 GB, free: 214.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.554e-05/1.652, allocations: 7.906 kB / 1.34 GB, free: 214.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/1.652, allocations: 165.3 kB / 1.34 GB, free: 214.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/1.652, allocations: 0 / 1.34 GB, free: 214.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.718e-06/1.652, allocations: 4 kB / 1.34 GB, free: 214.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.107e-05/1.652, allocations: 11.98 kB / 1.34 GB, free: 214.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.981e-05/1.652, allocations: 35.5 kB / 1.34 GB, free: 214.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/1.652, allocations: 3.906 kB / 1.34 GB, free: 214.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/1.652, allocations: 0 / 1.34 GB, free: 214.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/1.652, allocations: 4 kB / 1.34 GB, free: 214.6 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001438/1.652, allocations: 142.2 kB / 1.34 GB, free: 214.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 5.211e-05/1.652, allocations: 22.58 kB / 1.34 GB, free: 214.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.215e-05/1.652, allocations: 8.922 kB / 1.34 GB, free: 214.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002452/1.653, allocations: 93.09 kB / 1.34 GB, free: 214.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/1.653, allocations: 34.56 kB / 1.34 GB, free: 214.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 1.563e-06/1.653, allocations: 0 / 1.34 GB, free: 214.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0002801/1.653, allocations: 53.58 kB / 1.34 GB, free: 214.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.992e-05/1.653, allocations: 51.41 kB / 1.34 GB, free: 214.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.398e-05/1.653, allocations: 96.98 kB / 1.34 GB, free: 214 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.378e-06/1.653, allocations: 25.7 kB / 1.34 GB, free: 214 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 1.883e-05/1.653, allocations: 88.08 kB / 1.341 GB, free: 213.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.595e-05/1.653, allocations: 3.906 kB / 1.341 GB, free: 213.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-06/1.653, allocations: 0 / 1.341 GB, free: 213.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 4.664e-05/1.653, allocations: 314.9 kB / 1.341 GB, free: 213.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.172e-05/1.653, allocations: 4 kB / 1.341 GB, free: 213.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.977e-06/1.653, allocations: 0 / 1.341 GB, free: 213.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001036/1.653, allocations: 21.09 kB / 1.341 GB, free: 213.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/1.653, allocations: 0 / 1.341 GB, free: 213.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001398/1.653, allocations: 49.67 kB / 1.341 GB, free: 213.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/1.653, allocations: 4 kB / 1.341 GB, free: 213.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/1.653, allocations: 0 / 1.341 GB, free: 213.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/1.653, allocations: 8 kB / 1.341 GB, free: 213.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.175e-05/1.654, allocations: 4.938 kB / 1.341 GB, free: 213.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/1.654, allocations: 1.719 kB / 1.341 GB, free: 213.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.831e-05/1.654, allocations: 0 / 1.341 GB, free: 213.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/1.654, allocations: 4 kB / 1.341 GB, free: 213.5 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 4.489e-05/1.654, allocations: 101 kB / 1.341 GB, free: 213.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.958e-06/1.654, allocations: 7.891 kB / 1.341 GB, free: 213.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001803/1.654, allocations: 66.7 kB / 1.341 GB, free: 213.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/1.654, allocations: 0 / 1.341 GB, free: 213.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/1.654, allocations: 0 / 1.341 GB, free: 213.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.064e-06/1.654, allocations: 7.938 kB / 1.341 GB, free: 213.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.556e-05/1.654, allocations: 127.9 kB / 1.341 GB, free: 213.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/1.654, allocations: 4 kB / 1.341 GB, free: 213.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.43e-05/1.654, allocations: 0 / 1.341 GB, free: 213.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/1.654, allocations: 0 / 1.341 GB, free: 213.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/1.654, allocations: 7.906 kB / 1.341 GB, free: 213.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/1.654, allocations: 0.5625 kB / 1.341 GB, free: 213.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/1.654, allocations: 0 / 1.341 GB, free: 213.1 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001422/1.654, allocations: 81.08 kB / 1.341 GB, free: 213 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.105e-05/1.654, allocations: 85 kB / 1.341 GB, free: 212.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/1.654, allocations: 0 / 1.341 GB, free: 212.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.782e-05/1.654, allocations: 0 / 1.341 GB, free: 212.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.315e-05/1.654, allocations: 5.812 kB / 1.341 GB, free: 212.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/1.654, allocations: 0 / 1.341 GB, free: 212.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.41e-05/1.654, allocations: 83.28 kB / 1.341 GB, free: 212.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000248/1.655, allocations: 35.95 kB / 1.341 GB, free: 212.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.0002627/1.655, allocations: 162.9 kB / 1.342 GB, free: 212.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.857e-05/1.655, allocations: 8.656 kB / 1.342 GB, free: 212.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/1.655, allocations: 4 kB / 1.342 GB, free: 212.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.156e-05/1.655, allocations: 4 kB / 1.342 GB, free: 212.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001439/1.655, allocations: 8.594 kB / 1.342 GB, free: 212.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002061/1.655, allocations: 57.52 kB / 1.342 GB, free: 212.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/1.655, allocations: 0.6919 MB / 1.342 GB, free: 211.8 MB / 0.8542 GB Notification: Performance of SimCode: time 2.81e-07/1.655, allocations: 0 / 1.342 GB, free: 211.8 MB / 0.8542 GB Notification: Performance of Templates: time 0.003047/1.659, allocations: 0.9783 MB / 1.343 GB, free: 210.9 MB / 0.8542 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1)