Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.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.Examples.WaterHeater_T,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T") [: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.7302/0.7302, allocations: 132.4 MB / 139.7 MB, free: 15.57 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.001163/0.001163, allocations: 174.3 kB / 171.6 MB, free: 2.008 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.521/1.521, allocations: 170.5 MB / 373.9 MB, free: 15.86 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.001854/0.001854, allocations: 112 kB / 444.4 MB, free: 9.383 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.5255/0.5255, allocations: 73.39 MB / 0.666 GB, free: 62.28 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8029/1.328, allocations: 405.1 MB / 1.062 GB, free: 34.77 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00029/1.329, allocations: 89.61 kB / 1.062 GB, free: 34.72 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.793/5.122, allocations: 0.8732 GB / 1.935 GB, free: 79.32 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0004256/5.123, allocations: 44.75 kB / 1.935 GB, free: 79.31 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 273 * Number of variables: 273 Notification: Performance of Generate backend data structure: time 0.007842/5.13, allocations: 2.162 MB / 1.937 GB, free: 78.34 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/5.131, allocations: 7.719 kB / 1.937 GB, free: 78.34 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003504/5.134, allocations: 486.3 kB / 1.937 GB, free: 78.23 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01043/5.145, allocations: 2.167 MB / 1.94 GB, free: 77.79 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001584/5.145, allocations: 39.94 kB / 1.94 GB, free: 77.79 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007559/5.146, allocations: 70.53 kB / 1.94 GB, free: 77.79 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00305/5.149, allocations: 0.7979 MB / 1.94 GB, free: 77.78 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003225/5.152, allocations: 1.067 MB / 1.942 GB, free: 77.5 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.569e-05/5.152, allocations: 5.906 kB / 1.942 GB, free: 77.5 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001445/5.152, allocations: 0 / 1.942 GB, free: 77.5 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-05/5.152, allocations: 35.22 kB / 1.942 GB, free: 77.5 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009536/5.162, allocations: 6.475 MB / 1.948 GB, free: 73.78 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/5.163, allocations: 0.6441 MB / 1.949 GB, free: 73.75 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004273/5.163, allocations: 328.5 kB / 1.949 GB, free: 73.75 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004038/5.167, allocations: 2.499 MB / 1.951 GB, free: 72.11 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005533/5.168, allocations: 386.3 kB / 1.952 GB, free: 72.04 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=68): time 3.106e-06/5.168, allocations: 0 / 1.952 GB, free: 72.04 MB / 0.6355 GB Notification: Performance of matching and sorting (n=69): time 0.006713/5.175, allocations: 2.187 MB / 1.954 GB, free: 71.42 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.435e-05/5.175, allocations: 212.6 kB / 1.954 GB, free: 71.17 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002107/5.177, allocations: 1.241 MB / 1.955 GB, free: 71 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.487e-05/5.177, allocations: 29.61 kB / 1.955 GB, free: 70.96 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005105/5.177, allocations: 0.5371 MB / 1.956 GB, free: 70.68 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002155/5.178, allocations: 229.6 kB / 1.956 GB, free: 70.52 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.477e-05/5.178, allocations: 3.844 kB / 1.956 GB, free: 70.52 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001091/5.178, allocations: 350.2 kB / 1.956 GB, free: 70.22 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005428/5.178, allocations: 371 kB / 1.957 GB, free: 70.21 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006971/5.179, allocations: 0.6584 MB / 1.957 GB, free: 69.88 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00172/5.181, allocations: 0.599 MB / 1.958 GB, free: 69.87 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/5.181, allocations: 1.594 kB / 1.958 GB, free: 69.87 MB / 0.6355 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002991/5.184, allocations: 1.326 MB / 1.959 GB, free: 69.74 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007094/5.185, allocations: 2.431 MB / 1.962 GB, free: 67.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.7e-05/5.185, allocations: 7.938 kB / 1.962 GB, free: 67.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.716e-05/5.185, allocations: 10.94 kB / 1.962 GB, free: 67.18 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00105/5.186, allocations: 234.7 kB / 1.962 GB, free: 67.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.645e-05/5.186, allocations: 11.47 kB / 1.962 GB, free: 67.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001935/5.188, allocations: 140 kB / 1.962 GB, free: 67.17 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001519/5.188, allocations: 65.61 kB / 1.962 GB, free: 67.17 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/5.188, allocations: 4.688 kB / 1.962 GB, free: 67.17 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002569/5.19, allocations: 1.104 MB / 1.963 GB, free: 67.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.812e-05/5.19, allocations: 11.39 kB / 1.963 GB, free: 67.14 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/5.19, allocations: 10.75 kB / 1.963 GB, free: 67.14 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009479/5.191, allocations: 226.3 kB / 1.963 GB, free: 67.14 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/5.191, allocations: 15.31 kB / 1.963 GB, free: 67.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001763/5.193, allocations: 140.6 kB / 1.963 GB, free: 67.14 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001288/5.193, allocations: 57.23 kB / 1.964 GB, free: 67.14 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 104 * Array equations: 1 * Algorithm blocks: 3 * Record equations: 1 * 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.0003202/5.194, allocations: 139.1 kB / 1.964 GB, free: 67.03 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002494/5.194, allocations: 158 kB / 1.964 GB, free: 66.94 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003056/5.197, allocations: 1.163 MB / 1.965 GB, free: 66.86 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.821e-05/5.197, allocations: 14.55 kB / 1.965 GB, free: 66.86 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/5.197, allocations: 0.9375 kB / 1.965 GB, free: 66.86 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0017/5.199, allocations: 0.9578 MB / 1.966 GB, free: 66.58 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005099/5.204, allocations: 2.275 MB / 1.968 GB, free: 66.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.617e-06/5.204, allocations: 3.781 kB / 1.968 GB, free: 66.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008595/5.205, allocations: 169.1 kB / 1.968 GB, free: 66.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000234/5.205, allocations: 54.89 kB / 1.968 GB, free: 66.19 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-05/5.205, allocations: 20.88 kB / 1.968 GB, free: 66.19 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004648/5.206, allocations: 0.5999 MB / 1.969 GB, free: 65.67 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/5.206, allocations: 3.688 kB / 1.969 GB, free: 65.67 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00302/5.209, allocations: 1.659 MB / 1.971 GB, free: 65.16 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000986/5.21, allocations: 347.1 kB / 1.971 GB, free: 64.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002407/5.21, allocations: 6.875 kB / 1.971 GB, free: 64.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001247/5.211, allocations: 126.9 kB / 1.971 GB, free: 64.97 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001504/5.211, allocations: 59.39 kB / 1.971 GB, free: 64.97 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.63e-05/5.211, allocations: 41.16 kB / 1.971 GB, free: 64.96 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.001666/5.213, allocations: 0.917 MB / 1.972 GB, free: 64.86 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.004067/5.217, allocations: 0.8942 MB / 1.973 GB, free: 64.77 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (vol.dynBal.U,mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.heaCoo.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.002919/5.22, allocations: 1.155 MB / 1.974 GB, free: 64.48 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003065/5.223, allocations: 1.742 MB / 1.976 GB, free: 64.21 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/5.223, allocations: 3.75 kB / 1.976 GB, free: 64.21 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007693/5.224, allocations: 400.5 kB / 1.976 GB, free: 64.2 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003552/5.227, allocations: 0.5989 MB / 1.977 GB, free: 64.19 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00604/5.234, allocations: 2.38 MB / 1.979 GB, free: 63.53 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001434/5.235, allocations: 1.53 MB / 1.981 GB, free: 62.81 MB / 0.6355 GB Notification: Performance of SimCode: time 1.964e-06/5.235, allocations: 0.75 kB / 1.981 GB, free: 62.81 MB / 0.6355 GB Notification: Performance of Templates: time 0.09232/5.327, allocations: 39.19 MB / 2.019 GB, free: 60.5 MB / 0.6355 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe 2>&1)