Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.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.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation") [: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.7833/0.7833, allocations: 132.4 MB / 139.7 MB, free: 15.52 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.00116/0.001161, allocations: 167.9 kB / 171.6 MB, free: 2.004 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.584/1.584, 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.001792/0.001792, allocations: 118.4 kB / 444.5 MB, free: 9.363 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.5335/0.5335, allocations: 73.39 MB / 0.666 GB, free: 62.28 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7525/1.286, allocations: 308.8 MB / 0.9676 GB, free: 128.3 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002495/1.286, allocations: 74.41 kB / 0.9677 GB, free: 128.2 MB / 0.5886 GB Notification: Performance of FrontEnd: time 0.139/1.425, allocations: 65.26 MB / 1.031 GB, free: 72.8 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.337e-05/1.426, allocations: 8 kB / 1.031 GB, free: 72.79 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.00106/1.427, allocations: 0.5842 MB / 1.032 GB, free: 72.16 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/1.427, allocations: 11.97 kB / 1.032 GB, free: 72.15 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000805/1.427, allocations: 79.53 kB / 1.032 GB, free: 72.07 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004706/1.428, allocations: 278.5 kB / 1.032 GB, free: 71.76 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/1.428, allocations: 8 kB / 1.032 GB, free: 71.75 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.582e-05/1.428, allocations: 16 kB / 1.032 GB, free: 71.73 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003544/1.428, allocations: 169 kB / 1.032 GB, free: 71.57 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004059/1.429, allocations: 292.5 kB / 1.033 GB, free: 71.25 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/1.429, allocations: 11.84 kB / 1.033 GB, free: 71.24 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.672e-05/1.429, allocations: 0 / 1.033 GB, free: 71.24 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/1.429, allocations: 8 kB / 1.033 GB, free: 71.23 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001734/1.431, allocations: 1.631 MB / 1.034 GB, free: 69.48 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002054/1.431, allocations: 130.1 kB / 1.035 GB, free: 69.35 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/1.431, allocations: 77.16 kB / 1.035 GB, free: 69.27 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.413e-05/1.431, allocations: 192 / 1.035 GB, free: 69.27 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/1.431, allocations: 38.75 kB / 1.035 GB, free: 69.23 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=21): time 1.482e-06/1.431, allocations: 4 kB / 1.035 GB, free: 69.22 MB / 0.5886 GB Notification: Performance of matching and sorting (n=27): time 0.002482/1.434, allocations: 0.8374 MB / 1.035 GB, free: 68.33 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.462e-05/1.434, allocations: 59.39 kB / 1.036 GB, free: 68.26 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002115/1.434, allocations: 203 kB / 1.036 GB, free: 68.05 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/1.434, allocations: 25.7 kB / 1.036 GB, free: 68.02 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.12e-05/1.434, allocations: 171.8 kB / 1.036 GB, free: 67.85 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.604e-05/1.434, allocations: 90.66 kB / 1.036 GB, free: 67.76 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.61e-05/1.434, allocations: 4 kB / 1.036 GB, free: 67.76 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.98e-05/1.434, allocations: 330.8 kB / 1.036 GB, free: 67.43 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/1.434, allocations: 76 kB / 1.036 GB, free: 67.35 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001598/1.434, allocations: 162.7 kB / 1.037 GB, free: 67.16 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001651/1.435, allocations: 101 kB / 1.037 GB, free: 67.06 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/1.435, allocations: 0 / 1.037 GB, free: 67.06 MB / 0.5886 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000847/1.435, allocations: 387.3 kB / 1.037 GB, free: 66.68 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/1.435, allocations: 8 kB / 1.037 GB, free: 66.67 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/1.435, allocations: 0 / 1.037 GB, free: 66.67 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005201/1.436, allocations: 133 kB / 1.037 GB, free: 66.54 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003299/1.436, allocations: 67.89 kB / 1.037 GB, free: 66.47 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00261/1.439, allocations: 1.873 MB / 1.039 GB, free: 64.48 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004375/1.439, allocations: 24.16 kB / 1.039 GB, free: 64.45 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.529e-05/1.439, allocations: 15.91 kB / 1.039 GB, free: 64.44 MB / 0.5886 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: shortPipe.m_flow:VARIABLE(min = -100000.0 max = 100000.0 unit = "kg/s" ) "Mass flow rate from port_a to port_b (m_flow > 0 is design flow direction)" type: Real 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: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 32 * 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 {3 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002125/1.44, allocations: 121.3 kB / 1.039 GB, free: 64.32 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.006e-05/1.44, allocations: 35.78 kB / 1.039 GB, free: 64.28 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.047e-05/1.44, allocations: 22.66 kB / 1.039 GB, free: 64.25 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/1.44, allocations: 4 kB / 1.039 GB, free: 64.25 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/1.44, allocations: 4 kB / 1.039 GB, free: 64.25 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007737/1.441, allocations: 0.5902 MB / 1.04 GB, free: 63.57 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00137/1.442, allocations: 0.7268 MB / 1.041 GB, free: 62.78 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/1.442, allocations: 0 / 1.041 GB, free: 62.78 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000192/1.442, allocations: 39.91 kB / 1.041 GB, free: 62.74 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006152/1.443, allocations: 128.9 kB / 1.041 GB, free: 62.61 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.62e-05/1.443, allocations: 4 kB / 1.041 GB, free: 62.61 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002235/1.445, allocations: 1.783 MB / 1.042 GB, free: 60.71 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/1.445, allocations: 4.25 kB / 1.042 GB, free: 60.71 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009349/1.446, allocations: 0.5417 MB / 1.043 GB, free: 60.11 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/1.446, allocations: 104.8 kB / 1.043 GB, free: 59.99 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.641e-05/1.446, allocations: 7.984 kB / 1.043 GB, free: 59.98 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003241/1.447, allocations: 20.02 kB / 1.043 GB, free: 59.96 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.901e-05/1.447, allocations: 19.97 kB / 1.043 GB, free: 59.94 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.616e-05/1.447, allocations: 12.19 kB / 1.043 GB, free: 59.93 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.0001515/1.447, allocations: 157.6 kB / 1.043 GB, free: 59.78 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000702/1.448, allocations: 107.9 kB / 1.043 GB, free: 59.67 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (19): * Single equations (assignments): 18 * 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 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003033/1.448, allocations: 169 kB / 1.044 GB, free: 59.5 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0009365/1.449, allocations: 361.9 kB / 1.044 GB, free: 59.14 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/1.449, allocations: 8 kB / 1.044 GB, free: 59.13 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0005344/1.449, allocations: 241.7 kB / 1.044 GB, free: 58.88 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007547/1.45, allocations: 119.8 kB / 1.044 GB, free: 58.77 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/1.451, allocations: 449 kB / 1.045 GB, free: 58.3 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00035/1.452, allocations: 0.7961 MB / 1.045 GB, free: 57.48 MB / 0.5886 GB Notification: Performance of SimCode: time 6.21e-07/1.452, allocations: 0 / 1.045 GB, free: 57.48 MB / 0.5886 GB Notification: Performance of Templates: time 0.01155/1.463, allocations: 6.371 MB / 1.052 GB, free: 51.14 MB / 0.5886 GB make -j1 -f Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.makefile (rm -f Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.pipe ; mkfifo Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.pipe >> ../files/Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.sim & ./Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.pipe 2>&1)