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.ExchangeValues.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.ExchangeValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.666/1.666, allocations: 285.5 MB / 292.8 MB, free: 10.48 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.001529/0.001529, allocations: 181.3 kB / 361.1 MB, free: 7.102 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.666/1.666, 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.001045/0.001045, allocations: 97.11 kB / 0.7326 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.033e-05/1.055e-05, allocations: 0 / 0.8511 GB, free: 2.965 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7456/0.7456, allocations: 115.3 MB / 0.9637 GB, free: 78.37 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1974/0.9431, allocations: 137.3 MB / 1.098 GB, free: 2.668 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002753/0.9434, allocations: 85.25 kB / 1.098 GB, free: 2.586 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.01042/0.9538, allocations: 3.44 MB / 1.101 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.078e-05/0.9539, allocations: 4 kB / 1.101 GB, free: 15.2 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.0003267/0.9542, allocations: 336.2 kB / 1.102 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/0.9543, allocations: 8.531 kB / 1.102 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.288e-05/0.9544, allocations: 5.188 kB / 1.102 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/0.9545, allocations: 167 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.609e-05/0.9546, allocations: 4 kB / 1.102 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.897e-05/0.9546, allocations: 6.188 kB / 1.102 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.139e-05/0.9547, allocations: 4 kB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.052e-05/0.9547, allocations: 53.61 kB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.9548, allocations: 0 / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.9548, allocations: 4 kB / 1.102 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.9548, allocations: 5.172 kB / 1.102 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001404/0.9549, allocations: 134.1 kB / 1.102 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.518e-05/0.955, allocations: 26.17 kB / 1.102 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.293e-05/0.955, allocations: 16.92 kB / 1.102 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.202e-06/0.9551, allocations: 0 / 1.102 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.9551, allocations: 30.56 kB / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 7.01e-07/0.9551, allocations: 4 kB / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001835/0.9553, allocations: 53.62 kB / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.747e-05/0.9554, allocations: 85.77 kB / 1.102 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.481e-05/0.9554, allocations: 96.92 kB / 1.102 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.9555, allocations: 29.7 kB / 1.102 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.386e-05/0.9555, allocations: 80.14 kB / 1.102 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.927e-05/0.9556, allocations: 7.844 kB / 1.102 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.915e-06/0.9556, allocations: 4 kB / 1.102 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001836/0.9558, allocations: 312 kB / 1.103 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.416e-05/0.9558, allocations: 8 kB / 1.103 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.084e-05/0.9558, allocations: 8 kB / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.703e-05/0.9559, allocations: 11.11 kB / 1.103 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.9559, allocations: 0 / 1.103 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001055/0.956, allocations: 59 kB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.956, allocations: 4 kB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.956, allocations: 2.625 kB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.956, allocations: 0 / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.82e-07/0.956, allocations: 0 / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.956, allocations: 4.719 kB / 1.103 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/0.9562, allocations: 12.48 kB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/0.9562, allocations: 1.312 kB / 1.103 GB, free: 13.46 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 0.0001069/0.9563, allocations: 138.6 kB / 1.103 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.174e-05/0.9563, allocations: 0 / 1.103 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.338e-05/0.9563, allocations: 7.656 kB / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.9563, allocations: 4.531 kB / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.9564, allocations: 3.984 kB / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.9564, allocations: 1.312 kB / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.902e-05/0.9565, allocations: 135.7 kB / 1.103 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.9565, allocations: 0 / 1.103 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-07/0.9565, allocations: 0.7188 kB / 1.103 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.9565, allocations: 0 / 1.103 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.9565, allocations: 8.578 kB / 1.103 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.9565, allocations: 0 / 1.103 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.9565, allocations: 0.5 kB / 1.103 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000127/0.9567, allocations: 86.39 kB / 1.103 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.814e-05/0.9568, allocations: 81.61 kB / 1.103 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.971e-05/0.9568, allocations: 0.5 kB / 1.103 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.9569, allocations: 6.75 kB / 1.103 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.527e-05/0.9569, allocations: 12.73 kB / 1.103 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.957, allocations: 11.94 kB / 1.103 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.287e-05/0.957, allocations: 79.09 kB / 1.103 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002073/0.9572, allocations: 12 kB / 1.103 GB, free: 12.81 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.0002778/0.9575, allocations: 125.2 kB / 1.103 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001206/0.9576, allocations: 53.34 kB / 1.104 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.9576, allocations: 0 / 1.104 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.476e-05/0.9577, allocations: 41.7 kB / 1.104 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001092/0.9578, allocations: 0.5312 kB / 1.104 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005399/0.9583, allocations: 161.6 kB / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002928/0.9587, allocations: 0.6802 MB / 1.104 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of SimCode: time 2.61e-07/0.9587, allocations: 0 / 1.104 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of Templates: time 0.003182/0.9618, allocations: 0.9742 MB / 1.105 GB, free: 10.79 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1)