Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Media.GasesPTDecoupled.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.GasesPTDecoupled.Examples.TestMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAir") translateModel(Buildings.Media.GasesPTDecoupled.Examples.TestMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesPTDecoupled.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.5313/0.5313, allocations: 94.73 MB / 102 MB, free: 10.37 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.001192/0.001192, allocations: 182 kB / 125.3 MB, free: 11.99 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.54/1.54, allocations: 170.5 MB / 319 MB, free: 9.523 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.001621/0.001621, allocations: 105.7 kB / 381 MB, free: 18.13 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.835e-06/7.875e-06, allocations: 4 kB / 448.6 MB, free: 2.145 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.172, allocations: 61.52 MB / 0.4981 GB, free: 4.527 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.64/11.82, allocations: 5.172 GB / 5.671 GB, free: 95.02 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002987/11.82, allocations: 75.95 kB / 5.671 GB, free: 94.95 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.9257/12.74, allocations: 277.2 MB / 5.941 GB, free: 29.56 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.312e-05/12.74, allocations: 12 kB / 5.941 GB, free: 29.55 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.00328/12.75, allocations: 1.01 MB / 5.942 GB, free: 28.5 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/12.75, allocations: 8.781 kB / 5.942 GB, free: 28.49 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005875/12.75, allocations: 67.42 kB / 5.942 GB, free: 28.43 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007165/12.75, allocations: 353.5 kB / 5.943 GB, free: 28.04 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/12.75, allocations: 16 kB / 5.943 GB, free: 28.03 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.943e-05/12.75, allocations: 31.91 kB / 5.943 GB, free: 28 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009621/12.75, allocations: 0.5368 MB / 5.943 GB, free: 27.46 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008173/12.75, allocations: 424.4 kB / 5.944 GB, free: 27.04 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.587e-05/12.75, allocations: 0 / 5.944 GB, free: 27.04 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.922e-05/12.75, allocations: 4 kB / 5.944 GB, free: 27.04 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/12.75, allocations: 8 kB / 5.944 GB, free: 27.03 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002912/12.75, allocations: 1.604 MB / 5.945 GB, free: 25.33 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006982/12.75, allocations: 369 kB / 5.946 GB, free: 24.96 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003281/12.75, allocations: 238.5 kB / 5.946 GB, free: 24.73 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000178/12.75, allocations: 186.8 kB / 5.946 GB, free: 24.51 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/12.75, allocations: 46.98 kB / 5.946 GB, free: 24.45 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=52): time 2.505e-06/12.75, allocations: 0 / 5.946 GB, free: 24.45 MB / 0.5261 GB Notification: Performance of matching and sorting (n=58): time 0.008821/12.76, allocations: 2.396 MB / 5.948 GB, free: 21.97 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/12.76, allocations: 63.84 kB / 5.949 GB, free: 21.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002697/12.76, allocations: 220.3 kB / 5.949 GB, free: 21.68 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.926e-05/12.76, allocations: 29.7 kB / 5.949 GB, free: 21.64 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.787e-05/12.76, allocations: 184.8 kB / 5.949 GB, free: 21.46 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001423/12.76, allocations: 193.1 kB / 5.949 GB, free: 21.27 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.045e-05/12.76, allocations: 4 kB / 5.949 GB, free: 21.27 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.64e-05/12.76, allocations: 346.8 kB / 5.949 GB, free: 20.92 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003995/12.76, allocations: 257.2 kB / 5.95 GB, free: 20.67 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004417/12.76, allocations: 336.5 kB / 5.95 GB, free: 20.31 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008488/12.77, allocations: 365.2 kB / 5.95 GB, free: 19.96 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/12.77, allocations: 4 kB / 5.95 GB, free: 19.95 MB / 0.5261 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001624/12.77, allocations: 0.8033 MB / 5.951 GB, free: 19.14 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/12.77, allocations: 8.969 kB / 5.951 GB, free: 19.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/12.77, allocations: 3.984 kB / 5.951 GB, free: 19.12 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001976/12.77, allocations: 45.7 kB / 5.951 GB, free: 19.07 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04266/12.81, allocations: 5.58 MB / 5.957 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007572/12.82, allocations: 3.957 MB / 5.961 GB, free: 9.281 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001297/12.82, allocations: 79.86 kB / 5.961 GB, free: 9.203 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002143/12.82, allocations: 31.95 kB / 5.961 GB, free: 9.172 MB / 0.5261 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: 8 * 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.0005445/12.82, allocations: 123.8 kB / 5.961 GB, free: 9.047 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002058/12.82, allocations: 43.53 kB / 5.961 GB, free: 9.004 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0024/12.82, allocations: 0.8338 MB / 5.962 GB, free: 8.156 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-05/12.82, allocations: 4 kB / 5.962 GB, free: 8.152 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/12.82, allocations: 7.906 kB / 5.962 GB, free: 8.145 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00142/12.82, allocations: 0.8368 MB / 5.962 GB, free: 7.238 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004141/12.83, allocations: 1.713 MB / 5.964 GB, free: 5.469 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.896e-06/12.83, allocations: 12.03 kB / 5.964 GB, free: 5.457 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03834/12.87, allocations: 5.357 MB / 5.969 GB, free: 96 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.444e-05/12.87, allocations: 4 kB / 5.969 GB, free: 92 kB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002526/12.87, allocations: 15.98 kB / 5.969 GB, free: 76 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3181/13.19, allocations: 1.341 MB / 5.971 GB, free: 154.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.386e-05/13.19, allocations: 3.844 kB / 5.971 GB, free: 154.1 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002359/13.19, allocations: 1.191 MB / 5.972 GB, free: 153.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005386/13.19, allocations: 201.6 kB / 5.972 GB, free: 153.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001063/13.19, allocations: 16.52 kB / 5.972 GB, free: 153.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009109/13.19, allocations: 69.77 kB / 5.972 GB, free: 153.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.967e-05/13.19, allocations: 41.77 kB / 5.972 GB, free: 153.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-05/13.19, allocations: 35.67 kB / 5.972 GB, free: 153.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0002237/13.19, allocations: 185.8 kB / 5.972 GB, free: 153.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002061/13.19, allocations: 421.7 kB / 5.973 GB, free: 153.6 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 3 (volume.medium.p,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 (64): * Single equations (assignments): 63 * 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.002402/13.19, allocations: 1.296 MB / 5.974 GB, free: 153.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.04844/13.24, allocations: 6.716 MB / 5.981 GB, free: 153.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.371e-05/13.24, allocations: 3.156 kB / 5.981 GB, free: 153.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.04012/13.28, allocations: 5.944 MB / 5.986 GB, free: 153.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001773/13.28, allocations: 225.6 kB / 5.987 GB, free: 153.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003355/13.29, allocations: 1.011 MB / 5.988 GB, free: 153 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000805/13.29, allocations: 0.9297 MB / 5.989 GB, free: 152.3 MB / 0.5261 GB Notification: Performance of SimCode: time 1.743e-06/13.29, allocations: 0 / 5.989 GB, free: 152.3 MB / 0.5261 GB Notification: Performance of Templates: time 0.03375/13.32, allocations: 20.5 MB / 6.009 GB, free: 151.5 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAir.makefile (rm -f Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAir.pipe ; mkfifo Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAir.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAir.pipe >> ../files/Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAir.sim & ./Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAir.pipe 2>&1)