Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.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_u,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u") [: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.7419/0.7419, allocations: 132.4 MB / 139.7 MB, free: 15.51 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.001142/0.001143, allocations: 171.2 kB / 171.6 MB, free: 1.949 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.504/1.504, allocations: 170.5 MB / 373.9 MB, free: 15.83 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.001746/0.001746, allocations: 114.8 kB / 444.4 MB, free: 9.371 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.5788/0.5788, allocations: 73.39 MB / 0.666 GB, free: 62.32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8097/1.389, allocations: 402.1 MB / 1.059 GB, free: 37.78 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/1.389, allocations: 89.3 kB / 1.059 GB, free: 37.73 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.827/5.215, allocations: 0.8891 GB / 1.948 GB, free: 77.2 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.000505/5.216, allocations: 53.67 kB / 1.948 GB, free: 77.19 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: 304 * Number of variables: 304 Notification: Performance of Generate backend data structure: time 0.008419/5.224, allocations: 2.241 MB / 1.95 GB, free: 76.1 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.833e-05/5.225, allocations: 13 kB / 1.95 GB, free: 76.1 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002842/5.227, allocations: 395.7 kB / 1.95 GB, free: 75.98 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01545/5.243, allocations: 4.582 MB / 1.955 GB, free: 75.49 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001279/5.243, allocations: 39.25 kB / 1.955 GB, free: 75.49 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006897/5.244, allocations: 74.5 kB / 1.955 GB, free: 75.49 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002848/5.247, allocations: 0.8689 MB / 1.956 GB, free: 75.48 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003458/5.25, allocations: 1.194 MB / 1.957 GB, free: 75.16 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.572e-05/5.25, allocations: 3.875 kB / 1.957 GB, free: 75.16 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002186/5.25, allocations: 0 / 1.957 GB, free: 75.16 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.14e-05/5.25, allocations: 38.78 kB / 1.957 GB, free: 75.16 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01327/5.264, allocations: 7.63 MB / 1.965 GB, free: 70.66 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001239/5.265, allocations: 0.6639 MB / 1.965 GB, free: 70.63 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006859/5.266, allocations: 372.3 kB / 1.966 GB, free: 70.62 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004278/5.27, allocations: 2.044 MB / 1.968 GB, free: 69.54 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006351/5.271, allocations: 406.6 kB / 1.968 GB, free: 69.47 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=72): time 2.825e-06/5.271, allocations: 0 / 1.968 GB, free: 69.47 MB / 0.6355 GB Notification: Performance of matching and sorting (n=74): time 0.00683/5.278, allocations: 2.139 MB / 1.97 GB, free: 68.82 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/5.278, allocations: 220.2 kB / 1.97 GB, free: 68.57 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002499/5.28, allocations: 1.233 MB / 1.971 GB, free: 68.41 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.782e-05/5.28, allocations: 29.39 kB / 1.971 GB, free: 68.38 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000617/5.281, allocations: 0.5761 MB / 1.972 GB, free: 68.06 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002758/5.281, allocations: 250.5 kB / 1.972 GB, free: 67.9 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.913e-05/5.281, allocations: 3.938 kB / 1.972 GB, free: 67.9 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001088/5.281, allocations: 339.4 kB / 1.973 GB, free: 67.59 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006082/5.282, allocations: 398.8 kB / 1.973 GB, free: 67.59 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007623/5.283, allocations: 0.7075 MB / 1.974 GB, free: 67.22 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001569/5.284, allocations: 0.5537 MB / 1.974 GB, free: 67.21 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.421e-06/5.284, allocations: 5.969 kB / 1.974 GB, free: 67.21 MB / 0.6355 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.003011/5.287, allocations: 1.327 MB / 1.976 GB, free: 67.07 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.001018/5.288, allocations: 2.794 MB / 1.978 GB, free: 64.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-05/5.289, allocations: 7.875 kB / 1.978 GB, free: 64.13 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.091e-05/5.289, allocations: 11.66 kB / 1.978 GB, free: 64.13 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001156/5.29, allocations: 250.9 kB / 1.979 GB, free: 64.13 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.119e-05/5.29, allocations: 18.45 kB / 1.979 GB, free: 64.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002048/5.292, allocations: 138.5 kB / 1.979 GB, free: 64.12 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001958/5.292, allocations: 66.45 kB / 1.979 GB, free: 64.12 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/5.292, allocations: 3.406 kB / 1.979 GB, free: 64.12 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002696/5.295, allocations: 1.097 MB / 1.98 GB, free: 64.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.222e-05/5.295, allocations: 9.812 kB / 1.98 GB, free: 64.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.649e-05/5.295, allocations: 14.66 kB / 1.98 GB, free: 64.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001118/5.296, allocations: 245.1 kB / 1.98 GB, free: 64.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.43e-05/5.296, allocations: 18.16 kB / 1.98 GB, free: 64.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002094/5.298, allocations: 141.1 kB / 1.98 GB, free: 64.09 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002211/5.298, allocations: 64.53 kB / 1.98 GB, free: 64.09 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (117): * Single equations (assignments): 113 * Array equations: 1 * Algorithm blocks: 2 * 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.000394/5.299, allocations: 133.5 kB / 1.98 GB, free: 63.98 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005522/5.299, allocations: 163.1 kB / 1.981 GB, free: 63.89 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003881/5.303, allocations: 1.167 MB / 1.982 GB, free: 63.79 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.781e-05/5.303, allocations: 10.88 kB / 1.982 GB, free: 63.79 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.869e-06/5.303, allocations: 0 / 1.982 GB, free: 63.79 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002102/5.305, allocations: 0.8176 MB / 1.983 GB, free: 63.69 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008969/5.314, allocations: 2.462 MB / 1.985 GB, free: 63.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.297e-05/5.314, allocations: 5.25 kB / 1.985 GB, free: 63.27 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001075/5.316, allocations: 175.6 kB / 1.985 GB, free: 63.27 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004751/5.316, allocations: 93.16 kB / 1.985 GB, free: 63.26 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001166/5.316, allocations: 18.23 kB / 1.985 GB, free: 63.26 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001276/5.317, allocations: 1.178 MB / 1.986 GB, free: 62.22 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.235e-05/5.318, allocations: 5.531 kB / 1.986 GB, free: 62.22 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004765/5.322, allocations: 1.817 MB / 1.988 GB, free: 61.61 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001671/5.324, allocations: 353.8 kB / 1.988 GB, free: 61.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008388/5.325, allocations: 12.52 kB / 1.988 GB, free: 61.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002186/5.327, allocations: 142.2 kB / 1.989 GB, free: 61.41 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002287/5.327, allocations: 66.19 kB / 1.989 GB, free: 61.41 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001504/5.327, allocations: 34.09 kB / 1.989 GB, free: 61.41 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.003319/5.331, allocations: 0.9236 MB / 1.99 GB, free: 61.3 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.007141/5.338, allocations: 0.9585 MB / 1.991 GB, free: 61.2 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 6 (vol.dynBal.U,mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.vol.dynBal.U) * 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 (83): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004017/5.342, allocations: 1.164 MB / 1.992 GB, free: 60.91 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.004038/5.346, allocations: 1.793 MB / 1.993 GB, free: 60.7 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.11e-05/5.346, allocations: 0 / 1.993 GB, free: 60.7 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001094/5.347, allocations: 459.5 kB / 1.994 GB, free: 60.7 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005355/5.353, allocations: 0.7247 MB / 1.995 GB, free: 60.67 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009214/5.362, allocations: 2.487 MB / 1.997 GB, free: 59.95 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002769/5.365, allocations: 1.586 MB / 1.999 GB, free: 59.22 MB / 0.6355 GB Notification: Performance of SimCode: time 1.693e-06/5.365, allocations: 0 / 1.999 GB, free: 59.22 MB / 0.6355 GB Notification: Performance of Templates: time 0.111/5.476, allocations: 42.45 MB / 2.04 GB, free: 52.69 MB / 0.6355 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe 2>&1)