Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.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.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.MassFraction") translateModel(Buildings.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.MassFraction") [: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.7609/0.7609, allocations: 132.4 MB / 139.7 MB, free: 15.54 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.001334/0.001335, allocations: 165.4 kB / 171.6 MB, free: 1.98 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.76/1.76, allocations: 170.5 MB / 373.9 MB, free: 15.95 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.001765/0.001766, allocations: 107 kB / 444.4 MB, free: 9.461 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.5959/0.5959, allocations: 73.4 MB / 0.666 GB, free: 62.55 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.765/5.361, allocations: 2.142 GB / 2.808 GB, free: 45.47 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003025/5.362, allocations: 83.95 kB / 2.808 GB, free: 45.39 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.754/7.116, allocations: 419.1 MB / 3.217 GB, free: 114.4 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001462/7.116, allocations: 22.72 kB / 3.217 GB, free: 114.4 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.004357/7.121, allocations: 1.109 MB / 3.218 GB, free: 113.6 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.488e-05/7.121, allocations: 11.55 kB / 3.218 GB, free: 113.6 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002282/7.123, allocations: 204.2 kB / 3.219 GB, free: 113.5 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002785/7.126, allocations: 0.6663 MB / 3.219 GB, free: 113 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001059/7.126, allocations: 20.62 kB / 3.219 GB, free: 113 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004325/7.126, allocations: 50.28 kB / 3.219 GB, free: 113 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002181/7.129, allocations: 0.5551 MB / 3.22 GB, free: 112.7 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002289/7.131, allocations: 0.6491 MB / 3.22 GB, free: 112.4 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.178e-05/7.131, allocations: 0 / 3.22 GB, free: 112.4 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.511e-05/7.131, allocations: 9.031 kB / 3.22 GB, free: 112.4 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-05/7.131, allocations: 23 kB / 3.22 GB, free: 112.4 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005653/7.137, allocations: 2.523 MB / 3.223 GB, free: 110.3 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007266/7.137, allocations: 400.3 kB / 3.223 GB, free: 110.1 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003539/7.138, allocations: 210.2 kB / 3.223 GB, free: 110 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004592/7.138, allocations: 210.7 kB / 3.224 GB, free: 109.8 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.513e-05/7.138, allocations: 44.06 kB / 3.224 GB, free: 109.8 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=40): time 3.186e-06/7.138, allocations: 0 / 3.224 GB, free: 109.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40): time 0.001495/7.14, allocations: 493.8 kB / 3.224 GB, free: 109.5 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/7.14, allocations: 55.12 kB / 3.224 GB, free: 109.5 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005299/7.14, allocations: 393.4 kB / 3.225 GB, free: 109.2 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.511e-05/7.14, allocations: 32.23 kB / 3.225 GB, free: 109.2 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001601/7.141, allocations: 303.8 kB / 3.225 GB, free: 108.9 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/7.141, allocations: 136.2 kB / 3.225 GB, free: 108.8 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.833e-05/7.141, allocations: 1.688 kB / 3.225 GB, free: 108.8 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001093/7.141, allocations: 366.2 kB / 3.225 GB, free: 108.5 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002746/7.141, allocations: 182.9 kB / 3.226 GB, free: 108.4 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003394/7.142, allocations: 307.4 kB / 3.226 GB, free: 108.2 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005166/7.142, allocations: 272.6 kB / 3.226 GB, free: 108 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/7.142, allocations: 3.375 kB / 3.226 GB, free: 108 MB / 0.6198 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0009657/7.143, allocations: 0.5918 MB / 3.227 GB, free: 107.7 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002921/7.143, allocations: 1.043 MB / 3.228 GB, free: 106.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/7.143, allocations: 2.625 kB / 3.228 GB, free: 106.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.701e-05/7.143, allocations: 14.47 kB / 3.228 GB, free: 106.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002017/7.145, allocations: 364 kB / 3.228 GB, free: 106.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008672/7.146, allocations: 0.7046 MB / 3.229 GB, free: 105.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008848/7.147, allocations: 86.08 kB / 3.229 GB, free: 105.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.746e-05/7.147, allocations: 24.77 kB / 3.229 GB, free: 105.8 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/7.147, allocations: 4.281 kB / 3.229 GB, free: 105.8 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009761/7.148, allocations: 0.5001 MB / 3.229 GB, free: 105.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/7.148, allocations: 4.094 kB / 3.229 GB, free: 105.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/7.148, allocations: 5.344 kB / 3.229 GB, free: 105.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005185/7.149, allocations: 125.6 kB / 3.23 GB, free: 105.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/7.149, allocations: 4.719 kB / 3.23 GB, free: 105.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006777/7.15, allocations: 65.67 kB / 3.23 GB, free: 105.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-05/7.15, allocations: 20.5 kB / 3.23 GB, free: 105.5 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 2 (senMasFra2.i_x,senMasFra1.i_x) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002292/7.15, allocations: 122.2 kB / 3.23 GB, free: 105.4 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001648/7.15, allocations: 56.19 kB / 3.23 GB, free: 105.4 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001075/7.151, allocations: 489.2 kB / 3.23 GB, free: 105.1 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/7.151, allocations: 4.312 kB / 3.23 GB, free: 105.1 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/7.151, allocations: 4.672 kB / 3.23 GB, free: 105.1 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007328/7.152, allocations: 0.6912 MB / 3.231 GB, free: 104.4 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002067/7.154, allocations: 1.25 MB / 3.232 GB, free: 103.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.135e-06/7.154, allocations: 0 / 3.232 GB, free: 103.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001826/7.156, allocations: 339.8 kB / 3.232 GB, free: 102.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.646e-06/7.156, allocations: 4 kB / 3.232 GB, free: 102.8 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.544e-05/7.156, allocations: 7.984 kB / 3.233 GB, free: 102.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001803/7.158, allocations: 1.446 MB / 3.234 GB, free: 101.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/7.158, allocations: 0 / 3.234 GB, free: 101.2 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001052/7.159, allocations: 0.8674 MB / 3.235 GB, free: 100.3 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003766/7.159, allocations: 200.2 kB / 3.235 GB, free: 100.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001213/7.159, allocations: 4 kB / 3.235 GB, free: 100.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007694/7.16, allocations: 63.84 kB / 3.235 GB, free: 100 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.086e-05/7.16, allocations: 19.97 kB / 3.235 GB, free: 100 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.357e-05/7.16, allocations: 23.98 kB / 3.235 GB, free: 99.97 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.0003684/7.161, allocations: 310.9 kB / 3.235 GB, free: 99.67 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001919/7.163, allocations: 0.4987 MB / 3.236 GB, free: 99.17 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],senMasFra1.X) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002919/7.165, allocations: 1.579 MB / 3.237 GB, free: 97.78 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.003981/7.169, allocations: 1.2 MB / 3.239 GB, free: 96.55 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/7.169, allocations: 4.188 kB / 3.239 GB, free: 96.55 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.003772/7.173, allocations: 0.7213 MB / 3.239 GB, free: 95.83 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002003/7.175, allocations: 321.2 kB / 3.24 GB, free: 95.52 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003177/7.178, allocations: 1.179 MB / 3.241 GB, free: 94.31 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008181/7.179, allocations: 1.051 MB / 3.242 GB, free: 93.24 MB / 0.6198 GB Notification: Performance of SimCode: time 1.673e-06/7.179, allocations: 3.938 kB / 3.242 GB, free: 93.23 MB / 0.6198 GB Notification: Performance of Templates: time 0.0379/7.217, allocations: 22.7 MB / 3.264 GB, free: 70.79 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.sim & ./Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)