Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Media.Examples.WaterTestImplementation.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.Media.Examples.WaterTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Examples.WaterTestImplementation") translateModel(Buildings.Media.Examples.WaterTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Examples.WaterTestImplementation") [: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.7701/0.7701, allocations: 132.4 MB / 139.7 MB, free: 15.55 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.001173, allocations: 166.2 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.658/1.658, allocations: 170.5 MB / 373.9 MB, free: 15.84 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.0017/0.0017, allocations: 115.9 kB / 444.4 MB, free: 9.391 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.4812/0.4812, allocations: 73.4 MB / 0.666 GB, free: 62.22 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7771/1.258, allocations: 320.6 MB / 0.979 GB, free: 115.7 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002525/1.259, allocations: 63.28 kB / 0.9791 GB, free: 115.7 MB / 0.5886 GB Notification: Performance of FrontEnd: time 0.1802/1.439, allocations: 98.85 MB / 1.076 GB, free: 25.45 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.153e-05/1.439, allocations: 4 kB / 1.076 GB, free: 25.45 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.000828/1.44, allocations: 0.5181 MB / 1.076 GB, free: 24.89 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/1.44, allocations: 8.031 kB / 1.076 GB, free: 24.88 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003774/1.44, allocations: 43.61 kB / 1.076 GB, free: 24.84 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004243/1.441, allocations: 262.5 kB / 1.076 GB, free: 24.54 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/1.441, allocations: 8 kB / 1.076 GB, free: 24.53 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.689e-05/1.441, allocations: 16 kB / 1.076 GB, free: 24.52 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003004/1.441, allocations: 133 kB / 1.077 GB, free: 24.39 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003419/1.441, allocations: 270 kB / 1.077 GB, free: 24.08 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/1.441, allocations: 8 kB / 1.077 GB, free: 24.07 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.034e-05/1.441, allocations: 0 / 1.077 GB, free: 24.07 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.691e-05/1.442, allocations: 12 kB / 1.077 GB, free: 24.06 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00162/1.443, allocations: 1.786 MB / 1.079 GB, free: 22.14 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001382/1.443, allocations: 85.59 kB / 1.079 GB, free: 22.05 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.218e-05/1.443, allocations: 50.91 kB / 1.079 GB, free: 22 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.818e-05/1.443, allocations: 8 kB / 1.079 GB, free: 22 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/1.443, allocations: 34.56 kB / 1.079 GB, free: 21.95 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/1.443, allocations: 0 / 1.079 GB, free: 21.95 MB / 0.5886 GB Notification: Performance of matching and sorting (n=16): time 0.0009923/1.444, allocations: 489.7 kB / 1.079 GB, free: 21.42 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.225e-05/1.445, allocations: 55.41 kB / 1.079 GB, free: 21.36 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002015/1.445, allocations: 212 kB / 1.079 GB, free: 21.14 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/1.445, allocations: 25.7 kB / 1.08 GB, free: 21.11 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.879e-05/1.445, allocations: 183.4 kB / 1.08 GB, free: 20.93 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.058e-05/1.445, allocations: 55.25 kB / 1.08 GB, free: 20.88 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.596e-06/1.445, allocations: 0 / 1.08 GB, free: 20.88 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.698e-05/1.445, allocations: 336.2 kB / 1.08 GB, free: 20.54 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.101e-05/1.445, allocations: 44 kB / 1.08 GB, free: 20.5 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001254/1.445, allocations: 152.9 kB / 1.08 GB, free: 20.3 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001297/1.445, allocations: 72.91 kB / 1.08 GB, free: 20.23 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/1.445, allocations: 0 / 1.08 GB, free: 20.23 MB / 0.5886 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003726/1.446, allocations: 248.7 kB / 1.081 GB, free: 19.98 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/1.446, allocations: 8 kB / 1.081 GB, free: 19.97 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/1.446, allocations: 4 kB / 1.081 GB, free: 19.96 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001165/1.446, allocations: 25.28 kB / 1.081 GB, free: 19.94 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002564/1.446, allocations: 71.84 kB / 1.081 GB, free: 19.87 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008271/1.447, allocations: 1.232 MB / 1.082 GB, free: 18.52 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001928/1.447, allocations: 15.95 kB / 1.082 GB, free: 18.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.318e-05/1.447, allocations: 12 kB / 1.082 GB, free: 18.49 MB / 0.5886 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * 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: 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 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001577/1.447, allocations: 120.8 kB / 1.082 GB, free: 18.36 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.709e-05/1.447, allocations: 23.72 kB / 1.082 GB, free: 18.34 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.915e-05/1.448, allocations: 25.95 kB / 1.082 GB, free: 18.32 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/1.448, allocations: 7.938 kB / 1.082 GB, free: 18.31 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/1.448, allocations: 0 / 1.082 GB, free: 18.31 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000244/1.448, allocations: 443.8 kB / 1.082 GB, free: 17.79 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000643/1.448, allocations: 0.5147 MB / 1.083 GB, free: 17.21 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/1.448, allocations: 0 / 1.083 GB, free: 17.21 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000157/1.449, allocations: 43.91 kB / 1.083 GB, free: 17.17 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/1.449, allocations: 4 kB / 1.083 GB, free: 17.17 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/1.449, allocations: 8 kB / 1.083 GB, free: 17.16 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/1.449, allocations: 0 / 1.083 GB, free: 17.16 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/1.449, allocations: 4 kB / 1.083 GB, free: 17.16 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002988/1.449, allocations: 367.2 kB / 1.083 GB, free: 16.74 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.399e-05/1.449, allocations: 104.9 kB / 1.084 GB, free: 16.62 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.33e-05/1.449, allocations: 3.938 kB / 1.084 GB, free: 16.61 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002055/1.449, allocations: 11.98 kB / 1.084 GB, free: 16.6 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.547e-05/1.449, allocations: 15.83 kB / 1.084 GB, free: 16.59 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/1.449, allocations: 12 kB / 1.084 GB, free: 16.57 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.000111/1.449, allocations: 156.5 kB / 1.084 GB, free: 16.43 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004264/1.45, allocations: 83.98 kB / 1.084 GB, free: 16.34 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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 Backend phase and start with SimCode phase: time 0.0003197/1.45, allocations: 200.4 kB / 1.084 GB, free: 16.14 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003347/1.451, allocations: 235.6 kB / 1.084 GB, free: 15.91 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/1.451, allocations: 0 / 1.084 GB, free: 15.91 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.145e-05/1.451, allocations: 55.86 kB / 1.084 GB, free: 15.85 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006043/1.451, allocations: 95.41 kB / 1.084 GB, free: 15.76 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007406/1.452, allocations: 381.7 kB / 1.085 GB, free: 15.35 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002708/1.452, allocations: 0.7875 MB / 1.085 GB, free: 14.53 MB / 0.5886 GB Notification: Performance of SimCode: time 3.41e-07/1.452, allocations: 0 / 1.085 GB, free: 14.53 MB / 0.5886 GB Notification: Performance of Templates: time 0.008409/1.461, allocations: 4.379 MB / 1.09 GB, free: 10.19 MB / 0.5886 GB make -j1 -f Buildings_3.0.0_Buildings.Media.Examples.WaterTestImplementation.makefile (rm -f Buildings_3.0.0_Buildings.Media.Examples.WaterTestImplementation.pipe ; mkfifo Buildings_3.0.0_Buildings.Media.Examples.WaterTestImplementation.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Media.Examples.WaterTestImplementation.pipe >> ../files/Buildings_3.0.0_Buildings.Media.Examples.WaterTestImplementation.sim & ./Buildings_3.0.0_Buildings.Media.Examples.WaterTestImplementation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Media.Examples.WaterTestImplementation.pipe 2>&1)