Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAirUnsaturated.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.TestMoistAirUnsaturated,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAirUnsaturated") translateModel(Buildings.Media.GasesPTDecoupled.Examples.TestMoistAirUnsaturated,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAirUnsaturated") [: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.5314/0.5314, 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.001197/0.001197, allocations: 170.5 kB / 125.3 MB, free: 12.02 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.603/1.603, allocations: 170.5 MB / 319 MB, free: 9.41 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.001671/0.001671, allocations: 113.6 kB / 381 MB, free: 18.2 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.245e-06/8.285e-06, allocations: 224 / 448.6 MB, free: 2.145 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1912/0.1912, allocations: 61.51 MB / 0.4981 GB, free: 4.539 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.2/12.39, allocations: 5.281 GB / 5.78 GB, free: 178.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003997/12.39, allocations: 78.7 kB / 5.78 GB, free: 178.1 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.9511/13.34, allocations: 274.1 MB / 6.047 GB, free: 116.1 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.756e-05/13.34, allocations: 9.594 kB / 6.047 GB, free: 116.1 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.004175/13.35, allocations: 0.9303 MB / 6.048 GB, free: 115.6 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.706e-05/13.35, allocations: 9.125 kB / 6.048 GB, free: 115.6 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007992/13.35, allocations: 60.67 kB / 6.048 GB, free: 115.6 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001115/13.35, allocations: 353.1 kB / 6.049 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.662e-05/13.35, allocations: 19.84 kB / 6.049 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001646/13.35, allocations: 24.81 kB / 6.049 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00152/13.35, allocations: 0.5179 MB / 6.049 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001149/13.35, allocations: 405.5 kB / 6.05 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.151e-05/13.35, allocations: 8.906 kB / 6.05 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.029e-05/13.35, allocations: 0.9688 kB / 6.05 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.636e-05/13.35, allocations: 13.78 kB / 6.05 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00439/13.36, allocations: 1.556 MB / 6.051 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006407/13.36, allocations: 271.7 kB / 6.051 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004301/13.36, allocations: 202.9 kB / 6.052 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002548/13.36, allocations: 190.7 kB / 6.052 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.933e-05/13.36, allocations: 38.45 kB / 6.052 GB, free: 114.4 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=46): time 4.829e-06/13.36, allocations: 1.156 kB / 6.052 GB, free: 114.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=52): time 0.005498/13.36, allocations: 1.414 MB / 6.053 GB, free: 114.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/13.36, allocations: 61.05 kB / 6.053 GB, free: 114 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004394/13.36, allocations: 232.1 kB / 6.054 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001031/13.36, allocations: 26.83 kB / 6.054 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001926/13.36, allocations: 180.8 kB / 6.054 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002618/13.36, allocations: 179.2 kB / 6.054 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.108e-05/13.36, allocations: 0 / 6.054 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001624/13.36, allocations: 341.3 kB / 6.054 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004383/13.37, allocations: 178.3 kB / 6.054 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005233/13.37, allocations: 261.5 kB / 6.055 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009562/13.37, allocations: 286.8 kB / 6.055 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/13.37, allocations: 0 / 6.055 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001772/13.37, allocations: 0.6322 MB / 6.056 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.264e-05/13.37, allocations: 5.375 kB / 6.056 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/13.37, allocations: 1.312 kB / 6.056 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002679/13.37, allocations: 44.36 kB / 6.056 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008041/13.37, allocations: 132 kB / 6.056 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002348/13.37, allocations: 2.507 MB / 6.058 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006835/13.37, allocations: 34.05 kB / 6.058 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.02e-05/13.37, allocations: 18.19 kB / 6.058 GB, free: 110.8 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 (63): * Single equations (assignments): 61 * 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.0003625/13.37, allocations: 125.8 kB / 6.058 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/13.37, allocations: 40.16 kB / 6.058 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001543/13.37, allocations: 0.6196 MB / 6.059 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/13.37, allocations: 5.531 kB / 6.059 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/13.37, allocations: 1.156 kB / 6.059 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001092/13.38, allocations: 0.7049 MB / 6.06 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002604/13.38, allocations: 1.247 MB / 6.061 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/13.38, allocations: 1.875 kB / 6.061 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007568/13.38, allocations: 126.2 kB / 6.061 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.4e-05/13.38, allocations: 8.375 kB / 6.061 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.483e-05/13.38, allocations: 10.52 kB / 6.061 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.867e-06/13.38, allocations: 5.312 kB / 6.061 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.806e-06/13.38, allocations: 3.203 kB / 6.061 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001754/13.38, allocations: 0.9724 MB / 6.062 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003549/13.38, allocations: 181.5 kB / 6.062 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.995e-05/13.38, allocations: 5.703 kB / 6.062 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005065/13.38, allocations: 22.62 kB / 6.062 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.705e-05/13.38, allocations: 38.59 kB / 6.062 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.231e-05/13.38, allocations: 26.52 kB / 6.062 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0002869/13.38, allocations: 188.3 kB / 6.062 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00213/13.38, allocations: 333.5 kB / 6.063 GB, free: 109.3 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (56): * Single equations (assignments): 56 * 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.002766/13.39, allocations: 1.23 MB / 6.064 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001525/13.39, allocations: 0.6532 MB / 6.065 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/13.39, allocations: 5.156 kB / 6.065 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004289/13.39, allocations: 238 kB / 6.065 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001328/13.39, allocations: 198.3 kB / 6.065 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003083/13.39, allocations: 0.9028 MB / 6.066 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008993/13.4, allocations: 0.9152 MB / 6.067 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of SimCode: time 3.326e-06/13.4, allocations: 0 / 6.067 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of Templates: time 0.03298/13.43, allocations: 17.17 MB / 6.084 GB, free: 106.8 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAirUnsaturated.makefile (rm -f Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAirUnsaturated.pipe ; mkfifo Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAirUnsaturated.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAirUnsaturated.pipe >> ../files/Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAirUnsaturated.sim & ./Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAirUnsaturated -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAirUnsaturated.pipe 2>&1)