Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") [: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.1.4-maint.8.1.x/package.mo): time 1.537/1.537, allocations: 289.8 MB / 297.1 MB, free: 6.59 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.00111/0.00111, allocations: 177.3 kB / 366.3 MB, free: 1.941 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.466/1.466, allocations: 205.1 MB / 0.6256 GB, free: 7.43 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.0009124/0.0009124, allocations: 89.44 kB / 0.7395 GB, free: 39.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.929e-06/1.007e-05, allocations: 4 kB / 0.859 GB, free: 13.54 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7225/0.7225, allocations: 116.3 MB / 0.9726 GB, free: 75.89 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1688/0.8914, allocations: 138.3 MB / 1.108 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002093/0.8916, allocations: 80.66 kB / 1.108 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.009973/0.9016, allocations: 3.435 MB / 1.111 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.9017, allocations: 0 / 1.111 GB, free: 8.637 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002804/0.9019, allocations: 344.1 kB / 1.111 GB, free: 8.25 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.902, allocations: 8.844 kB / 1.111 GB, free: 8.242 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.998e-05/0.902, allocations: 4 kB / 1.111 GB, free: 8.238 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.9022, allocations: 163.5 kB / 1.112 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.9022, allocations: 1.875 kB / 1.112 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.873e-05/0.9022, allocations: 7.984 kB / 1.112 GB, free: 8.031 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.911e-05/0.9023, allocations: 12 kB / 1.112 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.495e-05/0.9024, allocations: 50.17 kB / 1.112 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.9024, allocations: 2.812 kB / 1.112 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.9024, allocations: 0 / 1.112 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.9024, allocations: 0.9375 kB / 1.112 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001408/0.9026, allocations: 135.2 kB / 1.112 GB, free: 7.797 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.556e-05/0.9026, allocations: 31.17 kB / 1.112 GB, free: 7.758 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.17e-05/0.9027, allocations: 13.86 kB / 1.112 GB, free: 7.742 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.563e-06/0.9027, allocations: 0 / 1.112 GB, free: 7.742 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.9027, allocations: 35.09 kB / 1.112 GB, free: 7.699 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.9027, allocations: 0.5 kB / 1.112 GB, free: 7.699 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001717/0.9029, allocations: 54.53 kB / 1.112 GB, free: 7.641 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/0.903, allocations: 81.69 kB / 1.112 GB, free: 7.543 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.431e-05/0.903, allocations: 91.28 kB / 1.112 GB, free: 7.449 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.347e-05/0.9031, allocations: 30.3 kB / 1.112 GB, free: 7.414 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.909e-05/0.9031, allocations: 88.14 kB / 1.112 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.463e-05/0.9031, allocations: 7.844 kB / 1.112 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.324e-06/0.9031, allocations: 0 / 1.112 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.9032, allocations: 319.3 kB / 1.113 GB, free: 6.996 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.082e-05/0.9033, allocations: 5.688 kB / 1.113 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.212e-05/0.9033, allocations: 11.98 kB / 1.113 GB, free: 6.98 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.093e-05/0.9033, allocations: 5.031 kB / 1.113 GB, free: 6.977 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.9033, allocations: 4.594 kB / 1.113 GB, free: 6.973 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001016/0.9034, allocations: 50.97 kB / 1.113 GB, free: 6.918 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.9035, allocations: 8 kB / 1.113 GB, free: 6.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.9035, allocations: 0 / 1.113 GB, free: 6.91 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.9035, allocations: 0.5312 kB / 1.113 GB, free: 6.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-07/0.9035, allocations: 0 / 1.113 GB, free: 6.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.9035, allocations: 4.469 kB / 1.113 GB, free: 6.906 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.9036, allocations: 9.516 kB / 1.113 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.656e-05/0.9037, allocations: 8 kB / 1.113 GB, free: 6.891 MB / 0.7136 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.028e-05/0.9037, allocations: 130.7 kB / 1.113 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.274e-05/0.9038, allocations: 5.562 kB / 1.113 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.724e-05/0.9038, allocations: 7.672 kB / 1.113 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.9038, allocations: 3.906 kB / 1.113 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.9038, allocations: 5.719 kB / 1.113 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.9038, allocations: 1.594 kB / 1.113 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.239e-05/0.9039, allocations: 130.2 kB / 1.113 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.9039, allocations: 4 kB / 1.113 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.91e-07/0.9039, allocations: 3.938 kB / 1.113 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.9039, allocations: 0.75 kB / 1.113 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.9039, allocations: 4.594 kB / 1.113 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.9039, allocations: 2.156 kB / 1.113 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.9039, allocations: 1.875 kB / 1.113 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001215/0.9041, allocations: 86.52 kB / 1.113 GB, free: 6.449 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.188e-05/0.9041, allocations: 77.73 kB / 1.113 GB, free: 6.355 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.9041, allocations: 4.875 kB / 1.113 GB, free: 6.352 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.842e-05/0.9042, allocations: 7.984 kB / 1.113 GB, free: 6.344 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.724e-05/0.9043, allocations: 9.078 kB / 1.113 GB, free: 6.336 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.746e-06/0.9043, allocations: 4.531 kB / 1.113 GB, free: 6.332 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.452e-05/0.9043, allocations: 92 kB / 1.113 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001909/0.9045, allocations: 16 kB / 1.113 GB, free: 6.227 MB / 0.7136 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.0002506/0.9048, allocations: 114.3 kB / 1.113 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001053/0.9049, allocations: 49.64 kB / 1.113 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.9049, allocations: 0.6562 kB / 1.113 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.885e-05/0.9049, allocations: 41.86 kB / 1.113 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001052/0.9051, allocations: 7.984 kB / 1.113 GB, free: 6 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004499/0.9055, allocations: 153.8 kB / 1.114 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002481/0.9058, allocations: 0.6802 MB / 1.114 GB, free: 5.121 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/0.9058, allocations: 0.9375 kB / 1.114 GB, free: 5.121 MB / 0.7136 GB Notification: Performance of Templates: time 0.002799/0.9086, allocations: 0.9762 MB / 1.115 GB, free: 4.211 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1)