Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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) 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 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Media.GasesConstantDensity.Examples.TestMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAir") translateModel(Buildings.Media.GasesConstantDensity.Examples.TestMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAir") [: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 1.6.0+build.1/package.mo): time 0.5105/0.5105, allocations: 94.73 MB / 102 MB, free: 10.38 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001095/0.001095, allocations: 185.8 kB / 125.3 MB, free: 12.01 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.453/1.453, allocations: 170.5 MB / 319 MB, free: 9.355 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001726/0.001726, allocations: 113.8 kB / 381 MB, free: 18.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.955e-06/7.995e-06, allocations: 0 / 448.6 MB, free: 2.129 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1662, allocations: 61.52 MB / 0.4981 GB, free: 4.508 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.13/12.3, allocations: 5.123 GB / 5.621 GB, free: 158 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003243/12.3, allocations: 78.58 kB / 5.621 GB, free: 157.9 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.8212/13.12, allocations: 278.3 MB / 5.893 GB, free: 89.66 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.11e-05/13.12, allocations: 12 kB / 5.893 GB, free: 89.65 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002427/13.12, allocations: 1.016 MB / 5.894 GB, free: 88.6 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/13.12, allocations: 13.03 kB / 5.894 GB, free: 88.59 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000366/13.12, allocations: 59.42 kB / 5.894 GB, free: 88.53 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004823/13.12, allocations: 354.9 kB / 5.894 GB, free: 88.14 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/13.12, allocations: 16 kB / 5.894 GB, free: 88.13 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.502e-05/13.12, allocations: 27.91 kB / 5.894 GB, free: 88.1 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008204/13.12, allocations: 0.5407 MB / 5.895 GB, free: 87.56 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006947/13.12, allocations: 493 kB / 5.895 GB, free: 87.06 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.978e-05/13.12, allocations: 0 / 5.895 GB, free: 87.06 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.365e-05/13.12, allocations: 4 kB / 5.895 GB, free: 87.05 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/13.12, allocations: 8 kB / 5.895 GB, free: 87.05 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002793/13.13, allocations: 1.98 MB / 5.897 GB, free: 84.97 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004788/13.13, allocations: 255.5 kB / 5.897 GB, free: 84.71 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002708/13.13, allocations: 212.9 kB / 5.898 GB, free: 84.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001684/13.13, allocations: 185.3 kB / 5.898 GB, free: 84.29 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/13.13, allocations: 42.56 kB / 5.898 GB, free: 84.24 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=42): time 2.104e-06/13.13, allocations: 0 / 5.898 GB, free: 84.24 MB / 0.5261 GB Notification: Performance of matching and sorting (n=49): time 0.008101/13.14, allocations: 2.294 MB / 5.9 GB, free: 81.86 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.661e-05/13.14, allocations: 59.78 kB / 5.9 GB, free: 81.79 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002824/13.14, allocations: 273 kB / 5.9 GB, free: 81.52 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.365e-05/13.14, allocations: 25.7 kB / 5.9 GB, free: 81.49 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.491e-05/13.14, allocations: 216.4 kB / 5.901 GB, free: 81.27 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/13.14, allocations: 173.5 kB / 5.901 GB, free: 81.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.868e-05/13.14, allocations: 0 / 5.901 GB, free: 81.1 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.487e-05/13.14, allocations: 342.8 kB / 5.901 GB, free: 80.76 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003537/13.14, allocations: 249.2 kB / 5.901 GB, free: 80.52 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004128/13.14, allocations: 355 kB / 5.902 GB, free: 80.14 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007774/13.14, allocations: 368.5 kB / 5.902 GB, free: 79.78 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/13.14, allocations: 3.906 kB / 5.902 GB, free: 79.77 MB / 0.5261 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00149/13.14, allocations: 0.7985 MB / 5.903 GB, free: 78.96 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/13.14, allocations: 8 kB / 5.903 GB, free: 78.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/13.14, allocations: 3.984 kB / 5.903 GB, free: 78.95 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002024/13.14, allocations: 45.7 kB / 5.903 GB, free: 78.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04378/13.18, allocations: 5.585 MB / 5.908 GB, free: 73.31 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007092/13.19, allocations: 3.96 MB / 5.912 GB, free: 69.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/13.19, allocations: 71.94 kB / 5.912 GB, free: 69.02 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.172e-05/13.19, allocations: 35.95 kB / 5.912 GB, free: 68.99 MB / 0.5261 GB 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] 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 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 (69): * Single equations (assignments): 66 * 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: 2 * 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: 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.0003025/13.19, allocations: 116.9 kB / 5.912 GB, free: 68.87 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/13.19, allocations: 43.47 kB / 5.912 GB, free: 68.82 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0016/13.19, allocations: 0.7723 MB / 5.913 GB, free: 68.04 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/13.19, allocations: 4 kB / 5.913 GB, free: 68.04 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/13.19, allocations: 0 / 5.913 GB, free: 68.04 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008989/13.19, allocations: 0.7735 MB / 5.914 GB, free: 67.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004047/13.2, allocations: 1.87 MB / 5.916 GB, free: 65.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.956e-06/13.2, allocations: 8 kB / 5.916 GB, free: 65.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0367/13.24, allocations: 5.358 MB / 5.921 GB, free: 59.84 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.056e-05/13.24, allocations: 11.91 kB / 5.921 GB, free: 59.83 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001522/13.24, allocations: 15.98 kB / 5.921 GB, free: 59.81 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004273/13.24, allocations: 1.331 MB / 5.922 GB, free: 58.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.546e-06/13.24, allocations: 11.91 kB / 5.922 GB, free: 58.45 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001653/13.24, allocations: 1.259 MB / 5.924 GB, free: 56.99 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003336/13.24, allocations: 200.5 kB / 5.924 GB, free: 56.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/13.24, allocations: 15.98 kB / 5.924 GB, free: 56.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008691/13.24, allocations: 79.83 kB / 5.924 GB, free: 56.68 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.857e-05/13.24, allocations: 39.94 kB / 5.924 GB, free: 56.64 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-05/13.24, allocations: 31.97 kB / 5.924 GB, free: 56.61 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0002065/13.24, allocations: 227 kB / 5.924 GB, free: 56.39 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001542/13.24, allocations: 427.6 kB / 5.924 GB, free: 55.97 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 2 (volume.medium.Xi[1],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 53 * 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.001755/13.25, allocations: 1.295 MB / 5.926 GB, free: 54.81 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.04705/13.29, allocations: 6.657 MB / 5.932 GB, free: 48.13 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.959e-05/13.29, allocations: 4 kB / 5.932 GB, free: 48.12 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.04017/13.33, allocations: 5.913 MB / 5.938 GB, free: 42.21 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001483/13.34, allocations: 197.4 kB / 5.938 GB, free: 42.02 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002066/13.34, allocations: 0.9412 MB / 5.939 GB, free: 40.98 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004781/13.34, allocations: 0.9201 MB / 5.94 GB, free: 40.04 MB / 0.5261 GB Notification: Performance of SimCode: time 8.71e-07/13.34, allocations: 0 / 5.94 GB, free: 40.04 MB / 0.5261 GB Notification: Performance of Templates: time 0.02801/13.37, allocations: 19.7 MB / 5.959 GB, free: 20.4 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAir.makefile (rm -f Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAir.pipe ; mkfifo Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAir.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAir.pipe >> ../files/Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAir.sim & ./Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAir.pipe 2>&1)