Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.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.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") translateModel(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") [: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.7209/0.7209, allocations: 132.4 MB / 139.7 MB, free: 5.051 MB / 115 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001143/0.001143, allocations: 168.1 kB / 171.6 MB, free: 15.47 MB / 147 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.407/1.407, allocations: 170.5 MB / 373.9 MB, free: 15.59 MB / 291 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00172/0.001719, allocations: 113.5 kB / 444.4 MB, free: 26.27 MB / 339 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.4095/0.4095, allocations: 73.39 MB / 0.666 GB, free: 89.03 MB / 467 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6427/1.052, allocations: 363.9 MB / 1.021 GB, free: 8.211 MB / 0.6123 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003178/1.053, allocations: 98.94 kB / 1.021 GB, free: 8.16 MB / 0.6123 GB Notification: Performance of FrontEnd: time 1.353/2.406, allocations: 273.4 MB / 1.288 GB, free: 90.59 MB / 0.6123 GB Notification: Performance of Transformations before backend: time 0.0002595/2.406, allocations: 41.03 kB / 1.288 GB, free: 90.59 MB / 0.6123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 357 * Number of variables: 357 Notification: Performance of Generate backend data structure: time 0.006637/2.412, allocations: 1.846 MB / 1.29 GB, free: 89.91 MB / 0.6123 GB Notification: Performance of prepare preOptimizeDAE: time 6.156e-05/2.413, allocations: 14.62 kB / 1.29 GB, free: 89.91 MB / 0.6123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001988/2.415, allocations: 227.5 kB / 1.29 GB, free: 89.8 MB / 0.6123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005801/2.42, allocations: 2.202 MB / 1.293 GB, free: 89.5 MB / 0.6123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.729e-05/2.42, allocations: 44.25 kB / 1.293 GB, free: 89.5 MB / 0.6123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004925/2.421, allocations: 102.3 kB / 1.293 GB, free: 89.5 MB / 0.6123 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003123/2.424, allocations: 1.626 MB / 1.294 GB, free: 89.49 MB / 0.6123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003223/2.427, allocations: 1.749 MB / 1.296 GB, free: 89.21 MB / 0.6123 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.834e-05/2.427, allocations: 7.562 kB / 1.296 GB, free: 89.21 MB / 0.6123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001753/2.428, allocations: 0 / 1.296 GB, free: 89.21 MB / 0.6123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.568e-05/2.428, allocations: 47.06 kB / 1.296 GB, free: 89.21 MB / 0.6123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0113/2.439, allocations: 8.14 MB / 1.304 GB, free: 85.65 MB / 0.6123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00111/2.44, allocations: 0.9335 MB / 1.305 GB, free: 85.63 MB / 0.6123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007128/2.441, allocations: 0.6321 MB / 1.306 GB, free: 85.61 MB / 0.6123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00438/2.445, allocations: 3.045 MB / 1.309 GB, free: 84.24 MB / 0.6123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.987e-05/2.445, allocations: 48.47 kB / 1.309 GB, free: 84.2 MB / 0.6123 GB Notification: Performance of pre-optimization done (n=93): time 3.166e-06/2.445, allocations: 0 / 1.309 GB, free: 84.2 MB / 0.6123 GB Notification: Performance of matching and sorting (n=96): time 0.007638/2.453, allocations: 3.131 MB / 1.312 GB, free: 83.57 MB / 0.6123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/2.453, allocations: 113.7 kB / 1.312 GB, free: 83.45 MB / 0.6123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002338/2.455, allocations: 1.235 MB / 1.313 GB, free: 83.29 MB / 0.6123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001401/2.456, allocations: 25.7 kB / 1.313 GB, free: 83.25 MB / 0.6123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004977/2.456, allocations: 0.6032 MB / 1.314 GB, free: 82.89 MB / 0.6123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003253/2.456, allocations: 332 kB / 1.314 GB, free: 82.67 MB / 0.6123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.543e-05/2.456, allocations: 0 / 1.314 GB, free: 82.67 MB / 0.6123 GB Notification: Performance of setup shared object (initialization): time 0.0001334/2.457, allocations: 369.8 kB / 1.314 GB, free: 82.37 MB / 0.6123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000995/2.458, allocations: 0.7088 MB / 1.315 GB, free: 82.36 MB / 0.6123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001287/2.459, allocations: 1.092 MB / 1.316 GB, free: 81.94 MB / 0.6123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003126/2.462, allocations: 1.312 MB / 1.317 GB, free: 81.92 MB / 0.6123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.886e-05/2.462, allocations: 0 / 1.317 GB, free: 81.92 MB / 0.6123 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.004875/2.467, allocations: 2.335 MB / 1.32 GB, free: 81.79 MB / 0.6123 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009766/2.468, allocations: 4.089 MB / 1.324 GB, free: 77.54 MB / 0.6123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.68e-05/2.468, allocations: 11.84 kB / 1.324 GB, free: 77.54 MB / 0.6123 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.171e-05/2.468, allocations: 21.47 kB / 1.324 GB, free: 77.54 MB / 0.6123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001479/2.47, allocations: 367.8 kB / 1.324 GB, free: 77.54 MB / 0.6123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.046e-05/2.47, allocations: 25.14 kB / 1.324 GB, free: 77.54 MB / 0.6123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00174/2.471, allocations: 99.59 kB / 1.324 GB, free: 77.52 MB / 0.6123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001731/2.472, allocations: 66.66 kB / 1.324 GB, free: 77.52 MB / 0.6123 GB Notification: Performance of prepare postOptimizeDAE: time 9.899e-06/2.472, allocations: 3.625 kB / 1.324 GB, free: 77.52 MB / 0.6123 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004143/2.476, allocations: 2.164 MB / 1.326 GB, free: 77.5 MB / 0.6123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.93e-05/2.476, allocations: 10.22 kB / 1.326 GB, free: 77.5 MB / 0.6123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.733e-05/2.476, allocations: 21.59 kB / 1.326 GB, free: 77.5 MB / 0.6123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001303/2.477, allocations: 356.4 kB / 1.327 GB, free: 77.5 MB / 0.6123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.93e-05/2.477, allocations: 23.06 kB / 1.327 GB, free: 77.5 MB / 0.6123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001597/2.479, allocations: 81.53 kB / 1.327 GB, free: 77.48 MB / 0.6123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001793/2.479, allocations: 62.34 kB / 1.327 GB, free: 77.48 MB / 0.6123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (191): * Single equations (assignments): 191 * 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 0.0003848/2.479, allocations: 147 kB / 1.327 GB, free: 77.37 MB / 0.6123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004827/2.48, allocations: 130.3 kB / 1.327 GB, free: 77.3 MB / 0.6123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0033/2.483, allocations: 1.581 MB / 1.329 GB, free: 77.19 MB / 0.6123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-05/2.483, allocations: 10.59 kB / 1.329 GB, free: 77.19 MB / 0.6123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/2.483, allocations: 0 / 1.329 GB, free: 77.19 MB / 0.6123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002347/2.486, allocations: 1.624 MB / 1.33 GB, free: 76.7 MB / 0.6123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008995/2.495, allocations: 4.545 MB / 1.335 GB, free: 74.86 MB / 0.6123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.217e-05/2.495, allocations: 6.125 kB / 1.335 GB, free: 74.86 MB / 0.6123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008584/2.496, allocations: 190.8 kB / 1.335 GB, free: 74.85 MB / 0.6123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003726/2.496, allocations: 131.8 kB / 1.335 GB, free: 74.83 MB / 0.6123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.589e-05/2.496, allocations: 18.45 kB / 1.335 GB, free: 74.83 MB / 0.6123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001121/2.497, allocations: 1.788 MB / 1.337 GB, free: 73.27 MB / 0.6123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.574e-06/2.497, allocations: 5.531 kB / 1.337 GB, free: 73.27 MB / 0.6123 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003626/2.501, allocations: 2.532 MB / 1.339 GB, free: 72.64 MB / 0.6123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001153/2.502, allocations: 384.2 kB / 1.34 GB, free: 72.48 MB / 0.6123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005151/2.503, allocations: 11.34 kB / 1.34 GB, free: 72.48 MB / 0.6123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001242/2.504, allocations: 57.25 kB / 1.34 GB, free: 72.47 MB / 0.6123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/2.504, allocations: 64.3 kB / 1.34 GB, free: 72.46 MB / 0.6123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001062/2.504, allocations: 38.55 kB / 1.34 GB, free: 72.46 MB / 0.6123 GB Notification: Performance of sort global known variables: time 0.001675/2.506, allocations: 0.9364 MB / 1.341 GB, free: 72.36 MB / 0.6123 GB Notification: Performance of remove unused functions: time 0.00393/2.51, allocations: 0.7696 MB / 1.341 GB, free: 72.32 MB / 0.6123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 6 (indTanHex.vol[1].dynBal.U,indTanHex.vol[2].dynBal.U,indTanHex.vol[3].dynBal.U,indTanHex.cap[1].T,indTanHex.cap[2].T,indTanHex.cap[3].T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 93 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001285/2.511, allocations: 473.7 kB / 1.342 GB, free: 72.19 MB / 0.6123 GB Notification: Performance of simCode: created initialization part: time 0.004698/2.516, allocations: 2.482 MB / 1.344 GB, free: 72.17 MB / 0.6123 GB Notification: Performance of simCode: created event and clocks part: time 1.18e-05/2.516, allocations: 1.688 kB / 1.344 GB, free: 72.17 MB / 0.6123 GB Notification: Performance of simCode: created simulation system equations: time 0.001066/2.517, allocations: 0.5977 MB / 1.345 GB, free: 72.16 MB / 0.6123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003864/2.521, allocations: 0.6201 MB / 1.345 GB, free: 72.16 MB / 0.6123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008093/2.529, allocations: 3.235 MB / 1.349 GB, free: 71.49 MB / 0.6123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003185/2.532, allocations: 1.851 MB / 1.35 GB, free: 70.76 MB / 0.6123 GB Notification: Performance of SimCode: time 1.352e-06/2.532, allocations: 0.5 kB / 1.35 GB, free: 70.76 MB / 0.6123 GB Notification: Performance of Templates: time 0.06745/2.599, allocations: 36.31 MB / 1.386 GB, free: 69.26 MB / 0.6123 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & ./Buildings_3.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)