Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.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.BaseClasses.Examples.HexElementSensible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible") [: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.8274/0.8274, allocations: 132.4 MB / 139.7 MB, free: 15.54 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.001386/0.001386, allocations: 169.4 kB / 171.6 MB, free: 1.977 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.547/1.547, allocations: 170.5 MB / 373.9 MB, free: 15.91 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.001792/0.001792, allocations: 113.5 kB / 444.4 MB, free: 9.453 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.5117/0.5117, allocations: 73.39 MB / 0.666 GB, free: 62.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.223/5.735, allocations: 2.386 GB / 3.052 GB, free: 47.79 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002554/5.736, allocations: 87.94 kB / 3.052 GB, free: 47.7 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.83/9.565, allocations: 1.012 GB / 4.064 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0003433/9.566, allocations: 59.91 kB / 4.064 GB, free: 12.4 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 322 * Number of variables: 322 Notification: Performance of Generate backend data structure: time 0.008033/9.574, allocations: 1.995 MB / 4.066 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.477e-05/9.574, allocations: 8.031 kB / 4.066 GB, free: 10.35 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003195/9.577, allocations: 369.2 kB / 4.066 GB, free: 9.984 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02254/9.6, allocations: 7.966 MB / 4.074 GB, free: 1.887 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001243/9.6, allocations: 43.94 kB / 4.074 GB, free: 1.844 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006832/9.601, allocations: 87.94 kB / 4.074 GB, free: 1.758 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003111/9.604, allocations: 0.9148 MB / 4.075 GB, free: 0.8398 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.429/10.03, allocations: 1.191 MB / 4.076 GB, free: 126.9 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.646e-05/10.03, allocations: 6.25 kB / 4.076 GB, free: 126.9 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002105/10.03, allocations: 0.625 kB / 4.076 GB, free: 126.9 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.355e-05/10.03, allocations: 59.41 kB / 4.076 GB, free: 126.9 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009112/10.04, allocations: 6.279 MB / 4.082 GB, free: 123.5 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001376/10.04, allocations: 0.6982 MB / 4.083 GB, free: 123.4 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005777/10.04, allocations: 370 kB / 4.083 GB, free: 123.4 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001844/10.04, allocations: 98.84 kB / 4.083 GB, free: 123.3 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.905e-05/10.04, allocations: 53.19 kB / 4.083 GB, free: 123.3 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=72): time 3.646e-06/10.04, allocations: 0 / 4.083 GB, free: 123.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=73): time 0.007706/10.05, allocations: 2.298 MB / 4.086 GB, free: 122.7 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.52e-05/10.05, allocations: 113.2 kB / 4.086 GB, free: 122.6 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001403/10.05, allocations: 0.8979 MB / 4.087 GB, free: 122.5 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001488/10.05, allocations: 29.64 kB / 4.087 GB, free: 122.4 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003372/10.05, allocations: 0.5507 MB / 4.087 GB, free: 122.2 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002414/10.05, allocations: 252.4 kB / 4.088 GB, free: 122.1 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.152e-05/10.05, allocations: 0 / 4.088 GB, free: 122.1 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.463e-05/10.05, allocations: 340 kB / 4.088 GB, free: 121.8 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004303/10.06, allocations: 277 kB / 4.088 GB, free: 121.8 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006465/10.06, allocations: 0.5926 MB / 4.089 GB, free: 121.4 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006362/10.06, allocations: 372.8 kB / 4.089 GB, free: 121.4 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/10.06, allocations: 3.375 kB / 4.089 GB, free: 121.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.003851/10.06, allocations: 1.289 MB / 4.09 GB, free: 121.2 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006207/10.06, allocations: 2.043 MB / 4.092 GB, free: 119.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/10.06, allocations: 7.75 kB / 4.092 GB, free: 119.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004326/10.06, allocations: 158.5 kB / 4.092 GB, free: 119.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002246/10.06, allocations: 438.2 kB / 4.093 GB, free: 119.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001684/10.07, allocations: 1.933 MB / 4.095 GB, free: 117.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002276/10.07, allocations: 178.4 kB / 4.095 GB, free: 117.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.591e-05/10.07, allocations: 34.94 kB / 4.095 GB, free: 117.5 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/10.07, allocations: 10.66 kB / 4.095 GB, free: 117.5 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001412/10.07, allocations: 0.7448 MB / 4.096 GB, free: 117.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/10.07, allocations: 13.53 kB / 4.096 GB, free: 117.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002566/10.07, allocations: 88.61 kB / 4.096 GB, free: 117.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007321/10.07, allocations: 188.8 kB / 4.096 GB, free: 117.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002367/10.07, allocations: 2.945 MB / 4.099 GB, free: 114.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001934/10.07, allocations: 130.5 kB / 4.099 GB, free: 114.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.617e-05/10.07, allocations: 32.5 kB / 4.099 GB, free: 114.9 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0004055/10.08, allocations: 134.8 kB / 4.099 GB, free: 114.8 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002636/10.08, allocations: 136.2 kB / 4.099 GB, free: 114.7 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003642/10.08, allocations: 1.139 MB / 4.1 GB, free: 114.6 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/10.08, allocations: 6.812 kB / 4.1 GB, free: 114.6 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/10.08, allocations: 2.5 kB / 4.1 GB, free: 114.6 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003046/10.08, allocations: 1.281 MB / 4.102 GB, free: 114.1 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006954/10.09, allocations: 2.773 MB / 4.104 GB, free: 113.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/10.09, allocations: 0 / 4.104 GB, free: 113.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002022/10.09, allocations: 393.5 kB / 4.105 GB, free: 113.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003765/10.09, allocations: 177.3 kB / 4.105 GB, free: 113.5 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.311e-05/10.09, allocations: 13.89 kB / 4.105 GB, free: 113.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006739/10.1, allocations: 5.301 MB / 4.11 GB, free: 109.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.513e-06/10.1, allocations: 1.969 kB / 4.11 GB, free: 109.2 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0045/10.1, allocations: 1.832 MB / 4.112 GB, free: 108.6 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001397/10.1, allocations: 317 kB / 4.112 GB, free: 108.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002194/10.1, allocations: 12.73 kB / 4.112 GB, free: 108.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001461/10.11, allocations: 148.5 kB / 4.112 GB, free: 108.5 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/10.11, allocations: 49.92 kB / 4.112 GB, free: 108.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001094/10.11, allocations: 39.34 kB / 4.112 GB, free: 108.5 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.001164/10.11, allocations: 0.6867 MB / 4.113 GB, free: 108.3 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.003762/10.11, allocations: 0.8467 MB / 4.114 GB, free: 108.3 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 5 (hex.vol1.dynBal.U,hex.vol2.dynBal.U,hex.vol2.dynBal.m,hex.vol2.dynBal.mXi[1],hex.mas.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.003553/10.11, allocations: 2.21 MB / 4.116 GB, free: 107.8 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.005103/10.12, allocations: 1.778 MB / 4.118 GB, free: 107.6 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.036e-05/10.12, allocations: 448 / 4.118 GB, free: 107.6 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.004005/10.12, allocations: 1.107 MB / 4.119 GB, free: 107.4 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00448/10.13, allocations: 0.765 MB / 4.12 GB, free: 107.4 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005195/10.13, allocations: 2.279 MB / 4.122 GB, free: 106.7 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001205/10.13, allocations: 1.478 MB / 4.123 GB, free: 106 MB / 0.6511 GB Notification: Performance of SimCode: time 1.553e-06/10.13, allocations: 3.031 kB / 4.123 GB, free: 106 MB / 0.6511 GB Notification: Performance of Templates: time 0.08313/10.22, allocations: 45.05 MB / 4.167 GB, free: 104.3 MB / 0.6511 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe 2>&1)