Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.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.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances") translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances") [: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.7632/0.7632, allocations: 132.4 MB / 139.7 MB, free: 15.53 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.001273/0.001273, allocations: 174.5 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.365/1.365, allocations: 170.5 MB / 373.9 MB, free: 15.88 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.001699/0.001699, allocations: 120.5 kB / 444.5 MB, free: 9.41 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.423/0.423, allocations: 73.4 MB / 0.666 GB, free: 62.28 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.501/5.924, allocations: 2.141 GB / 2.807 GB, free: 203.7 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002543/5.924, allocations: 86.09 kB / 2.807 GB, free: 203.7 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Fluid/Sensors/PPM.mo:5:26-5:49:writable] Warning: Non-array modification '"MassFraction"' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Fluid/Sensors/PPM.mo:6:26-6:34:writable] Warning: Non-array modification '"1"' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Fluid/Sensors/PPM.mo:7:20-7:25:writable] Warning: Non-array modification '0' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Fluid/Sensors/PPM.mo:8:20-8:25:writable] Warning: Non-array modification '1' for array component, possibly due to missing 'each'. Notification: Performance of FrontEnd: time 2.163/8.088, allocations: 0.592 GB / 3.399 GB, free: 101.5 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.000276/8.088, allocations: 34.78 kB / 3.399 GB, free: 101.5 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: 270 * Number of variables: 270 Notification: Performance of Generate backend data structure: time 0.006912/8.095, allocations: 1.473 MB / 3.401 GB, free: 100.7 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.61e-05/8.095, allocations: 8.062 kB / 3.401 GB, free: 100.7 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002726/8.098, allocations: 255.2 kB / 3.401 GB, free: 100.6 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003499/8.101, allocations: 0.8671 MB / 3.402 GB, free: 100.2 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001051/8.101, allocations: 37.59 kB / 3.402 GB, free: 100.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005023/8.102, allocations: 74.83 kB / 3.402 GB, free: 100.2 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003017/8.105, allocations: 0.9487 MB / 3.403 GB, free: 99.84 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003153/8.108, allocations: 1.171 MB / 3.404 GB, free: 99.29 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.012e-05/8.108, allocations: 6.062 kB / 3.404 GB, free: 99.28 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002096/8.108, allocations: 5.312 kB / 3.404 GB, free: 99.28 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.796e-05/8.109, allocations: 38.44 kB / 3.404 GB, free: 99.28 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009586/8.118, allocations: 5.881 MB / 3.41 GB, free: 94.82 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001118/8.119, allocations: 0.5652 MB / 3.41 GB, free: 94.59 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005208/8.12, allocations: 293.1 kB / 3.41 GB, free: 94.47 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003786/8.12, allocations: 128.7 kB / 3.411 GB, free: 94.38 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.635e-05/8.12, allocations: 50.91 kB / 3.411 GB, free: 94.33 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=52): time 3.326e-06/8.12, allocations: 0 / 3.411 GB, free: 94.33 MB / 0.6198 GB Notification: Performance of matching and sorting (n=52): time 0.001791/8.122, allocations: 0.5809 MB / 3.411 GB, free: 94.11 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.322e-05/8.122, allocations: 115.1 kB / 3.411 GB, free: 93.99 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001259/8.123, allocations: 0.5887 MB / 3.412 GB, free: 93.71 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001329/8.124, allocations: 28.95 kB / 3.412 GB, free: 93.68 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004172/8.124, allocations: 497.4 kB / 3.412 GB, free: 93.31 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001932/8.124, allocations: 177 kB / 3.413 GB, free: 93.18 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.006e-05/8.124, allocations: 1 kB / 3.413 GB, free: 93.18 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000148/8.124, allocations: 391.3 kB / 3.413 GB, free: 92.83 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004336/8.125, allocations: 270.3 kB / 3.413 GB, free: 92.73 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006386/8.126, allocations: 0.5988 MB / 3.414 GB, free: 92.2 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007495/8.126, allocations: 409.8 kB / 3.414 GB, free: 92.07 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.376e-06/8.126, allocations: 3.688 kB / 3.414 GB, free: 92.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001812/8.128, allocations: 0.898 MB / 3.415 GB, free: 91.75 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/8.128, allocations: 6.375 kB / 3.415 GB, free: 91.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.976e-05/8.128, allocations: 9.344 kB / 3.415 GB, free: 91.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.89e-05/8.128, allocations: 18.38 kB / 3.415 GB, free: 91.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007595/8.129, allocations: 188 kB / 3.415 GB, free: 91.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.278e-05/8.129, allocations: 18.41 kB / 3.415 GB, free: 91.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00137/8.13, allocations: 131.3 kB / 3.415 GB, free: 91.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-05/8.13, allocations: 41.45 kB / 3.415 GB, free: 91.67 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (103): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 1 * 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.0002276/8.131, allocations: 129.7 kB / 3.416 GB, free: 91.55 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001998/8.131, allocations: 88.22 kB / 3.416 GB, free: 91.5 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001148/8.132, allocations: 0.6005 MB / 3.416 GB, free: 91.27 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-05/8.132, allocations: 5.812 kB / 3.416 GB, free: 91.27 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/8.132, allocations: 3.719 kB / 3.416 GB, free: 91.27 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007647/8.133, allocations: 0.516 MB / 3.417 GB, free: 91.06 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002694/8.136, allocations: 1.552 MB / 3.418 GB, free: 90.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/8.136, allocations: 3.906 kB / 3.418 GB, free: 90.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006224/8.136, allocations: 120.1 kB / 3.418 GB, free: 90.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.528e-06/8.136, allocations: 2.5 kB / 3.418 GB, free: 90.32 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.172e-05/8.136, allocations: 11.39 kB / 3.418 GB, free: 90.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/8.136, allocations: 1.75 kB / 3.418 GB, free: 90.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/8.136, allocations: 2.5 kB / 3.418 GB, free: 90.32 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001391/8.138, allocations: 1.142 MB / 3.42 GB, free: 89.68 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004877/8.138, allocations: 251 kB / 3.42 GB, free: 89.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001347/8.138, allocations: 5.938 kB / 3.42 GB, free: 89.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007965/8.139, allocations: 56.69 kB / 3.42 GB, free: 89.5 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.391e-05/8.139, allocations: 33.19 kB / 3.42 GB, free: 89.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.945e-05/8.139, allocations: 33.3 kB / 3.42 GB, free: 89.49 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.0005902/8.14, allocations: 443.2 kB / 3.42 GB, free: 89.29 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001795/8.142, allocations: 471.8 kB / 3.421 GB, free: 89.14 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 52 * 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.003493/8.145, allocations: 2.137 MB / 3.423 GB, free: 88.36 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001261/8.147, allocations: 0.6569 MB / 3.423 GB, free: 87.77 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/8.147, allocations: 0 / 3.423 GB, free: 87.77 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002896/8.147, allocations: 261.5 kB / 3.424 GB, free: 87.51 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002084/8.149, allocations: 373.7 kB / 3.424 GB, free: 87.17 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003784/8.153, allocations: 1.614 MB / 3.426 GB, free: 85.62 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001197/8.154, allocations: 1.271 MB / 3.427 GB, free: 84.32 MB / 0.6198 GB Notification: Performance of SimCode: time 2.395e-06/8.154, allocations: 0 / 3.427 GB, free: 84.32 MB / 0.6198 GB Notification: Performance of Templates: time 0.04199/8.196, allocations: 26.11 MB / 3.452 GB, free: 58.76 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)