Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Media.Examples.AirTestImplementation.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.AirTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Examples.AirTestImplementation") translateModel(Buildings.Media.Examples.AirTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Examples.AirTestImplementation") [: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.7545/0.7545, allocations: 132.4 MB / 139.7 MB, free: 15.49 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.001268/0.001268, allocations: 166.7 kB / 171.6 MB, free: 1.973 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.496/1.496, 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.001897/0.001898, allocations: 116 kB / 444.4 MB, free: 9.359 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.5672/0.5672, allocations: 73.39 MB / 0.666 GB, free: 62.57 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.815/6.383, allocations: 2.117 GB / 2.783 GB, free: 64.56 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003917/6.383, allocations: 71.97 kB / 2.783 GB, free: 64.49 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.055/7.439, allocations: 236.2 MB / 3.014 GB, free: 81.38 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.005e-05/7.439, allocations: 12 kB / 3.014 GB, free: 81.36 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001983/7.441, allocations: 0.6838 MB / 3.015 GB, free: 80.64 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/7.441, allocations: 12.03 kB / 3.015 GB, free: 80.62 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005836/7.441, allocations: 55.42 kB / 3.015 GB, free: 80.57 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006969/7.442, allocations: 330.3 kB / 3.015 GB, free: 80.21 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.418e-05/7.442, allocations: 12 kB / 3.015 GB, free: 80.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.787e-05/7.442, allocations: 20 kB / 3.015 GB, free: 80.18 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000671/7.443, allocations: 317.4 kB / 3.015 GB, free: 79.87 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006634/7.444, allocations: 334.1 kB / 3.016 GB, free: 79.54 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/7.444, allocations: 3.906 kB / 3.016 GB, free: 79.53 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.253e-05/7.444, allocations: 8 kB / 3.016 GB, free: 79.52 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/7.444, allocations: 8 kB / 3.016 GB, free: 79.52 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002436/7.446, allocations: 1.29 MB / 3.017 GB, free: 78.13 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002964/7.446, allocations: 202.8 kB / 3.017 GB, free: 77.93 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001961/7.447, allocations: 157.4 kB / 3.017 GB, free: 77.77 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.823e-05/7.447, allocations: 8.219 kB / 3.017 GB, free: 77.76 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/7.447, allocations: 34.84 kB / 3.017 GB, free: 77.72 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=33): time 2.114e-06/7.447, allocations: 4 kB / 3.017 GB, free: 77.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39): time 0.002387/7.449, allocations: 1.028 MB / 3.018 GB, free: 76.63 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.667e-05/7.449, allocations: 55.41 kB / 3.018 GB, free: 76.56 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002435/7.449, allocations: 224 kB / 3.019 GB, free: 76.34 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.778e-05/7.449, allocations: 25.7 kB / 3.019 GB, free: 76.3 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.952e-05/7.45, allocations: 176.3 kB / 3.019 GB, free: 76.13 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.133e-05/7.45, allocations: 134 kB / 3.019 GB, free: 76 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.791e-05/7.45, allocations: 3.938 kB / 3.019 GB, free: 75.99 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.679e-05/7.45, allocations: 338.8 kB / 3.019 GB, free: 75.65 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001857/7.45, allocations: 132.8 kB / 3.019 GB, free: 75.52 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002031/7.45, allocations: 184.1 kB / 3.02 GB, free: 75.33 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002363/7.45, allocations: 169.5 kB / 3.02 GB, free: 75.16 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/7.45, allocations: 0 / 3.02 GB, free: 75.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006472/7.451, allocations: 431.8 kB / 3.02 GB, free: 74.73 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/7.451, allocations: 8.125 kB / 3.02 GB, free: 74.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/7.451, allocations: 4 kB / 3.02 GB, free: 74.72 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001795/7.451, allocations: 41.7 kB / 3.02 GB, free: 74.67 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004473/7.452, allocations: 95.83 kB / 3.02 GB, free: 74.58 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001723/7.454, allocations: 2.496 MB / 3.023 GB, free: 71.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003501/7.454, allocations: 23.95 kB / 3.023 GB, free: 71.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.451e-05/7.454, allocations: 12.09 kB / 3.023 GB, free: 71.81 MB / 0.6198 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 Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.Xi[1]:VARIABLE(flow=false min = 0.0 max = 1.0 unit = "kg/kg" nominal = 0.1 ) "Independent mixture mass fractions m_i/m in the connection point" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 46 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002225/7.454, allocations: 132.5 kB / 3.023 GB, free: 71.68 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.455e-05/7.454, allocations: 27.72 kB / 3.023 GB, free: 71.65 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.26e-05/7.454, allocations: 42.95 kB / 3.023 GB, free: 71.61 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/7.454, allocations: 7.906 kB / 3.023 GB, free: 71.6 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/7.454, allocations: 4 kB / 3.023 GB, free: 71.6 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005234/7.455, allocations: 0.562 MB / 3.024 GB, free: 70.97 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00143/7.456, allocations: 0.9544 MB / 3.025 GB, free: 69.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/7.456, allocations: 0 / 3.025 GB, free: 69.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004869/7.457, allocations: 91.89 kB / 3.025 GB, free: 69.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/7.457, allocations: 4 kB / 3.025 GB, free: 69.86 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.352e-05/7.457, allocations: 7.984 kB / 3.025 GB, free: 69.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/7.457, allocations: 4 kB / 3.025 GB, free: 69.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/7.457, allocations: 0 / 3.025 GB, free: 69.85 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008365/7.458, allocations: 0.7194 MB / 3.025 GB, free: 69.06 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002338/7.458, allocations: 156.8 kB / 3.025 GB, free: 68.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.969e-05/7.458, allocations: 7.984 kB / 3.025 GB, free: 68.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004495/7.459, allocations: 27.88 kB / 3.026 GB, free: 68.85 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.911e-05/7.459, allocations: 27.97 kB / 3.026 GB, free: 68.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.55e-05/7.459, allocations: 19.98 kB / 3.026 GB, free: 68.8 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.0001509/7.459, allocations: 172.5 kB / 3.026 GB, free: 68.63 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0008567/7.46, allocations: 172 kB / 3.026 GB, free: 68.46 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (volume.medium.Xi[1],volume.medium.T,volume.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 39 * 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.001824/7.462, allocations: 1.173 MB / 3.027 GB, free: 67.28 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007988/7.462, allocations: 0.5306 MB / 3.028 GB, free: 66.73 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/7.462, allocations: 0 / 3.028 GB, free: 66.73 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002196/7.463, allocations: 171.8 kB / 3.028 GB, free: 66.56 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/7.464, allocations: 163.7 kB / 3.028 GB, free: 66.4 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001843/7.465, allocations: 0.762 MB / 3.029 GB, free: 65.59 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000536/7.466, allocations: 0.8738 MB / 3.029 GB, free: 64.7 MB / 0.6198 GB Notification: Performance of SimCode: time 2.214e-06/7.466, allocations: 0 / 3.029 GB, free: 64.7 MB / 0.6198 GB Notification: Performance of Templates: time 0.02388/7.49, allocations: 13.96 MB / 3.043 GB, free: 50.75 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.Media.Examples.AirTestImplementation.makefile (rm -f Buildings_3.0.0_Buildings.Media.Examples.AirTestImplementation.pipe ; mkfifo Buildings_3.0.0_Buildings.Media.Examples.AirTestImplementation.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Media.Examples.AirTestImplementation.pipe >> ../files/Buildings_3.0.0_Buildings.Media.Examples.AirTestImplementation.sim & ./Buildings_3.0.0_Buildings.Media.Examples.AirTestImplementation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Media.Examples.AirTestImplementation.pipe 2>&1)