Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) 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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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_3.0.0_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 3.0.0/package.mo): time 0.7268/0.7268, allocations: 132.4 MB / 139.7 MB, free: 15.56 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001172/0.001172, allocations: 171.7 kB / 171.6 MB, free: 2.016 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.515/1.515, allocations: 170.5 MB / 373.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001724/0.001724, allocations: 112.8 kB / 444.4 MB, free: 9.379 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.5416/0.5417, allocations: 73.38 MB / 0.666 GB, free: 62.09 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.043/1.585, allocations: 327.1 MB / 0.9854 GB, free: 109.4 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003363/1.585, allocations: 93.12 kB / 0.9855 GB, free: 109.3 MB / 0.5886 GB Notification: Performance of FrontEnd: time 0.05165/1.637, allocations: 15.3 MB / 1 GB, free: 97.43 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.065e-05/1.637, allocations: 4 kB / 1 GB, free: 97.43 MB / 0.5886 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.0004305/1.638, allocations: 383.1 kB / 1.001 GB, free: 97.01 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 6.456e-05/1.638, allocations: 12.03 kB / 1.001 GB, free: 97 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.859e-05/1.638, allocations: 6.031 kB / 1.001 GB, free: 96.99 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/1.638, allocations: 174.8 kB / 1.001 GB, free: 96.78 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/1.638, allocations: 0 / 1.001 GB, free: 96.78 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/1.638, allocations: 4 kB / 1.001 GB, free: 96.78 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.097e-05/1.638, allocations: 0 / 1.001 GB, free: 96.78 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.035e-05/1.638, allocations: 34.25 kB / 1.001 GB, free: 96.74 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/1.638, allocations: 0 / 1.001 GB, free: 96.74 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/1.638, allocations: 0 / 1.001 GB, free: 96.74 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/1.638, allocations: 0 / 1.001 GB, free: 96.74 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001472/1.638, allocations: 147.5 kB / 1.001 GB, free: 96.56 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 4.98e-05/1.638, allocations: 18.61 kB / 1.001 GB, free: 96.54 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.78e-05/1.638, allocations: 10.3 kB / 1.001 GB, free: 96.52 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.15e-05/1.638, allocations: 0 / 1.001 GB, free: 96.52 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/1.638, allocations: 37.88 kB / 1.001 GB, free: 96.48 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/1.638, allocations: 0 / 1.001 GB, free: 96.48 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0003562/1.639, allocations: 45.67 kB / 1.001 GB, free: 96.43 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/1.639, allocations: 81.14 kB / 1.001 GB, free: 96.33 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.687e-05/1.639, allocations: 96.42 kB / 1.001 GB, free: 96.23 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/1.639, allocations: 29.7 kB / 1.001 GB, free: 96.2 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.226e-05/1.639, allocations: 80.14 kB / 1.002 GB, free: 96.12 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.265e-05/1.639, allocations: 7.281 kB / 1.002 GB, free: 96.11 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-06/1.639, allocations: 0 / 1.002 GB, free: 96.11 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.179e-05/1.639, allocations: 310.8 kB / 1.002 GB, free: 95.8 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.854e-05/1.639, allocations: 4 kB / 1.002 GB, free: 95.8 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.258e-05/1.639, allocations: 4 kB / 1.002 GB, free: 95.79 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/1.639, allocations: 19.88 kB / 1.002 GB, free: 95.77 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/1.639, allocations: 3.938 kB / 1.002 GB, free: 95.77 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002104/1.64, allocations: 57.8 kB / 1.002 GB, free: 95.71 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/1.64, allocations: 4 kB / 1.002 GB, free: 95.71 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/1.64, allocations: 0 / 1.002 GB, free: 95.71 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/1.64, allocations: 0 / 1.002 GB, free: 95.71 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.253e-06/1.64, allocations: 0 / 1.002 GB, free: 95.71 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/1.64, allocations: 10.12 kB / 1.002 GB, free: 95.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.304e-05/1.64, allocations: 4.094 kB / 1.002 GB, free: 95.7 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/1.64, allocations: 0 / 1.002 GB, free: 95.7 MB / 0.5886 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 9.969e-05/1.64, allocations: 136.1 kB / 1.002 GB, free: 95.55 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.534e-05/1.64, allocations: 3.984 kB / 1.002 GB, free: 95.55 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.047e-05/1.64, allocations: 3.312 kB / 1.002 GB, free: 95.55 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/1.64, allocations: 0 / 1.002 GB, free: 95.55 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/1.64, allocations: 4 kB / 1.002 GB, free: 95.55 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/1.64, allocations: 3.906 kB / 1.002 GB, free: 95.54 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.641e-05/1.64, allocations: 135.3 kB / 1.002 GB, free: 95.38 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/1.64, allocations: 4 kB / 1.002 GB, free: 95.38 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.51e-07/1.64, allocations: 4 kB / 1.002 GB, free: 95.37 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/1.64, allocations: 0 / 1.002 GB, free: 95.37 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/1.64, allocations: 0 / 1.002 GB, free: 95.37 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/1.64, allocations: 0 / 1.002 GB, free: 95.37 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.64, allocations: 0 / 1.002 GB, free: 95.37 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002348/1.64, allocations: 84.39 kB / 1.002 GB, free: 95.27 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.824e-05/1.641, allocations: 84.47 kB / 1.002 GB, free: 95.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.743e-05/1.641, allocations: 11.94 kB / 1.002 GB, free: 95.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.038e-05/1.641, allocations: 2.188 kB / 1.002 GB, free: 95.16 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.564e-05/1.641, allocations: 0 / 1.002 GB, free: 95.16 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/1.641, allocations: 0 / 1.002 GB, free: 95.16 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.058e-05/1.641, allocations: 79.28 kB / 1.002 GB, free: 95.09 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003977/1.641, allocations: 39.36 kB / 1.003 GB, free: 95.05 MB / 0.5886 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.0003749/1.642, allocations: 157 kB / 1.003 GB, free: 94.89 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001123/1.642, allocations: 33.52 kB / 1.003 GB, free: 94.85 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/1.642, allocations: 4.062 kB / 1.003 GB, free: 94.85 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.426e-05/1.642, allocations: 37.64 kB / 1.003 GB, free: 94.8 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002177/1.642, allocations: 2.062 kB / 1.003 GB, free: 94.8 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002318/1.642, allocations: 63.36 kB / 1.003 GB, free: 94.72 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001795/1.642, allocations: 0.688 MB / 1.003 GB, free: 94.01 MB / 0.5886 GB Notification: Performance of SimCode: time 3.81e-07/1.642, allocations: 0 / 1.003 GB, free: 94.01 MB / 0.5886 GB Notification: Performance of Templates: time 0.005013/1.647, allocations: 0.9807 MB / 1.004 GB, free: 93.08 MB / 0.5886 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1)