Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.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.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") [: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.7157/0.7157, allocations: 132.4 MB / 139.7 MB, free: 15.5 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.001218/0.001218, allocations: 169.9 kB / 171.6 MB, free: 1.992 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.351/1.351, allocations: 170.5 MB / 373.9 MB, free: 15.85 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.001628/0.001628, allocations: 121 kB / 444.4 MB, free: 9.387 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.4275/0.4275, allocations: 73.4 MB / 0.666 GB, free: 62.38 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.748/5.176, allocations: 2.123 GB / 2.789 GB, free: 73.82 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004188/5.176, allocations: 80.61 kB / 2.789 GB, free: 73.75 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.818/6.994, allocations: 413.4 MB / 3.193 GB, free: 124 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.537e-05/6.994, allocations: 26.16 kB / 3.193 GB, free: 124 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.002742/6.997, allocations: 1.118 MB / 3.194 GB, free: 123.4 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/6.997, allocations: 6.625 kB / 3.194 GB, free: 123.4 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002099/6.999, allocations: 268.3 kB / 3.194 GB, free: 123.4 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/7, allocations: 0.5145 MB / 3.195 GB, free: 123.2 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.749e-05/7.001, allocations: 23.5 kB / 3.195 GB, free: 123.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.833e-05/7.001, allocations: 43.88 kB / 3.195 GB, free: 123.2 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001017/7.002, allocations: 0.544 MB / 3.195 GB, free: 123.2 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001142/7.003, allocations: 0.669 MB / 3.196 GB, free: 123 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/7.003, allocations: 0 / 3.196 GB, free: 123 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.471e-05/7.003, allocations: 2.438 kB / 3.196 GB, free: 123 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.794e-05/7.003, allocations: 15.41 kB / 3.196 GB, free: 123 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004075/7.007, allocations: 2.579 MB / 3.198 GB, free: 121.7 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008243/7.008, allocations: 420.7 kB / 3.199 GB, free: 121.7 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003019/7.008, allocations: 187.3 kB / 3.199 GB, free: 121.7 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005359/7.009, allocations: 365 kB / 3.199 GB, free: 121.3 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006032/7.009, allocations: 416 kB / 3.2 GB, free: 121.1 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=36): time 3.156e-06/7.009, allocations: 3.906 kB / 3.2 GB, free: 121.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36): time 0.002152/7.012, allocations: 0.5932 MB / 3.2 GB, free: 121.1 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001863/7.012, allocations: 474.4 kB / 3.201 GB, free: 120.5 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005421/7.012, allocations: 362.3 kB / 3.201 GB, free: 120.4 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.231e-05/7.012, allocations: 32.45 kB / 3.201 GB, free: 120.3 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002915/7.013, allocations: 315.3 kB / 3.201 GB, free: 120.2 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001316/7.013, allocations: 116.8 kB / 3.202 GB, free: 120.1 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-05/7.013, allocations: 0 / 3.202 GB, free: 120.1 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001741/7.013, allocations: 356.6 kB / 3.202 GB, free: 119.8 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002916/7.013, allocations: 174.4 kB / 3.202 GB, free: 119.8 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004787/7.014, allocations: 410 kB / 3.203 GB, free: 119.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006019/7.014, allocations: 278 kB / 3.203 GB, free: 119.5 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/7.014, allocations: 2.719 kB / 3.203 GB, free: 119.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001135/7.016, allocations: 0.5934 MB / 3.203 GB, free: 119.4 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.872e-05/7.016, allocations: 11.03 kB / 3.203 GB, free: 119.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/7.016, allocations: 3.969 kB / 3.203 GB, free: 119.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.722e-05/7.016, allocations: 14.86 kB / 3.203 GB, free: 119.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006338/7.016, allocations: 128.2 kB / 3.204 GB, free: 119.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.517e-05/7.016, allocations: 11.62 kB / 3.204 GB, free: 119.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008617/7.017, allocations: 104.2 kB / 3.204 GB, free: 119.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.868e-05/7.017, allocations: 29.16 kB / 3.204 GB, free: 119.4 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$PRE.m_flow1.T_start,m_flow1.T_start,$PRE.m_flow1.count,m_flow1.count,$PRE.m_flow2.T_start,m_flow2.T_start,$PRE.m_flow2.count,m_flow2.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 2 * 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 prepare postOptimizeDAE: time 0.0001583/7.017, allocations: 122.6 kB / 3.204 GB, free: 119.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.826e-05/7.018, allocations: 56.41 kB / 3.204 GB, free: 119.3 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009231/7.018, allocations: 470.5 kB / 3.204 GB, free: 119.2 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.216e-06/7.018, allocations: 3.969 kB / 3.204 GB, free: 119.2 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/7.019, allocations: 0 / 3.204 GB, free: 119.2 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.707e-06/7.019, allocations: 7.469 kB / 3.204 GB, free: 119.2 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001873/7.02, allocations: 1.41 MB / 3.206 GB, free: 118.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.237e-06/7.02, allocations: 3.906 kB / 3.206 GB, free: 118.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004513/7.021, allocations: 90.42 kB / 3.206 GB, free: 118.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/7.021, allocations: 13.12 kB / 3.206 GB, free: 118.6 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.757e-05/7.021, allocations: 8.016 kB / 3.206 GB, free: 118.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.813e-06/7.021, allocations: 7.906 kB / 3.206 GB, free: 118.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/7.021, allocations: 3.844 kB / 3.206 GB, free: 118.6 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001347/7.022, allocations: 0.9646 MB / 3.207 GB, free: 118.1 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002848/7.023, allocations: 187.7 kB / 3.207 GB, free: 118 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001212/7.023, allocations: 5.547 kB / 3.207 GB, free: 118 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006769/7.023, allocations: 58.42 kB / 3.207 GB, free: 118 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001646/7.024, allocations: 47.22 kB / 3.207 GB, free: 118 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.437e-05/7.024, allocations: 19.94 kB / 3.207 GB, free: 118 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.0003315/7.024, allocations: 264.8 kB / 3.207 GB, free: 117.9 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001235/7.025, allocations: 312.5 kB / 3.208 GB, free: 117.9 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 2 (temDyn.T,temDynLoss.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,m_flow1.T_start,m_flow1.count,m_flow2.T_start,m_flow2.count) * Number of discrete states: 2 (m_flow2.count,m_flow1.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.003038/7.028, allocations: 1.666 MB / 3.209 GB, free: 117.5 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000934/7.029, allocations: 477.4 kB / 3.21 GB, free: 117.4 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/7.029, allocations: 0 / 3.21 GB, free: 117.4 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004651/7.03, allocations: 230.5 kB / 3.21 GB, free: 117.4 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001243/7.031, allocations: 214.8 kB / 3.21 GB, free: 117.4 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002389/7.033, allocations: 0.8835 MB / 3.211 GB, free: 117 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008218/7.034, allocations: 0.9817 MB / 3.212 GB, free: 116.3 MB / 0.6198 GB Notification: Performance of SimCode: time 4.4e-07/7.034, allocations: 0 / 3.212 GB, free: 116.3 MB / 0.6198 GB Notification: Performance of Templates: time 0.03965/7.074, allocations: 19.78 MB / 3.231 GB, free: 110.9 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)