Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Media.GasesConstantDensity.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.GasesConstantDensity.Examples.TestMoistAirUnsaturated,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAirUnsaturated") translateModel(Buildings.Media.GasesConstantDensity.Examples.TestMoistAirUnsaturated,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesConstantDensity.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.5284/0.5284, allocations: 94.74 MB / 102 MB, free: 10.35 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.001491/0.001491, allocations: 181.6 kB / 125.3 MB, free: 11.97 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.313/1.313, allocations: 170.5 MB / 319 MB, free: 9.582 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.001863/0.001863, allocations: 107.2 kB / 381 MB, free: 18.07 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.579e-05/1.583e-05, allocations: 0 / 448.6 MB, free: 2.156 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.173, allocations: 61.52 MB / 0.4981 GB, free: 4.535 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.01/12.19, allocations: 5.196 GB / 5.694 GB, free: 76.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003302/12.19, allocations: 72.77 kB / 5.694 GB, free: 76.23 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.9227/13.11, allocations: 274.1 MB / 5.961 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.629e-05/13.11, allocations: 12 kB / 5.961 GB, free: 15.15 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.00254/13.11, allocations: 0.94 MB / 5.962 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/13.11, allocations: 12.03 kB / 5.962 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003588/13.11, allocations: 59.42 kB / 5.962 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004847/13.11, allocations: 341.2 kB / 5.963 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/13.11, allocations: 12 kB / 5.963 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.717e-05/13.11, allocations: 28 kB / 5.963 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007892/13.11, allocations: 0.5173 MB / 5.963 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006835/13.11, allocations: 484.8 kB / 5.964 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.029e-05/13.11, allocations: 0 / 5.964 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.877e-05/13.11, allocations: 0 / 5.964 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/13.11, allocations: 12 kB / 5.964 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002846/13.12, allocations: 1.918 MB / 5.966 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002984/13.12, allocations: 187 kB / 5.966 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002157/13.12, allocations: 161.4 kB / 5.966 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001704/13.12, allocations: 182.5 kB / 5.966 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/13.12, allocations: 38.84 kB / 5.966 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=34): time 1.583e-06/13.12, allocations: 0 / 5.966 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of matching and sorting (n=41): time 0.003306/13.12, allocations: 1.26 MB / 5.967 GB, free: 8.738 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.023e-05/13.12, allocations: 63.33 kB / 5.968 GB, free: 8.664 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003029/13.12, allocations: 299.2 kB / 5.968 GB, free: 8.363 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.084e-05/13.12, allocations: 25.7 kB / 5.968 GB, free: 8.332 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/13.12, allocations: 223.6 kB / 5.968 GB, free: 8.109 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.325e-05/13.12, allocations: 141.9 kB / 5.968 GB, free: 7.969 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.435e-05/13.12, allocations: 0 / 5.968 GB, free: 7.969 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001037/13.12, allocations: 346.7 kB / 5.969 GB, free: 7.621 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002512/13.12, allocations: 177.3 kB / 5.969 GB, free: 7.449 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002892/13.12, allocations: 263.1 kB / 5.969 GB, free: 7.16 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006436/13.12, allocations: 296.5 kB / 5.969 GB, free: 6.871 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/13.12, allocations: 0 / 5.969 GB, free: 6.871 MB / 0.5261 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001114/13.12, allocations: 0.6245 MB / 5.97 GB, free: 6.234 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/13.12, allocations: 4.281 kB / 5.97 GB, free: 6.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/13.12, allocations: 8 kB / 5.97 GB, free: 6.223 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001713/13.12, allocations: 45.69 kB / 5.97 GB, free: 6.172 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006385/13.13, allocations: 131.8 kB / 5.97 GB, free: 6.043 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001648/13.13, allocations: 2.497 MB / 5.972 GB, free: 3.316 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004671/13.13, allocations: 31.81 kB / 5.972 GB, free: 3.285 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-05/13.13, allocations: 20 kB / 5.973 GB, free: 3.266 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 (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.0002254/13.13, allocations: 124.9 kB / 5.973 GB, free: 3.137 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.373e-05/13.13, allocations: 35.62 kB / 5.973 GB, free: 3.102 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00103/13.13, allocations: 0.5212 MB / 5.973 GB, free: 2.57 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/13.13, allocations: 12 kB / 5.973 GB, free: 2.559 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/13.13, allocations: 0 / 5.973 GB, free: 2.559 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007008/13.13, allocations: 0.6269 MB / 5.974 GB, free: 1.863 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00206/13.13, allocations: 1.323 MB / 5.975 GB, free: 452 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.271e-06/13.13, allocations: 4 kB / 5.975 GB, free: 448 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004865/13.13, allocations: 103.8 kB / 5.975 GB, free: 344 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/13.13, allocations: 4 kB / 5.975 GB, free: 340 kB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.255e-05/13.13, allocations: 15.97 kB / 5.975 GB, free: 324 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/13.13, allocations: 4 kB / 5.975 GB, free: 320 kB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/13.13, allocations: 11.94 kB / 5.975 GB, free: 308 kB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.3076/13.44, allocations: 0.956 MB / 5.976 GB, free: 154.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003677/13.44, allocations: 184.9 kB / 5.976 GB, free: 154 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.942e-05/13.44, allocations: 7.875 kB / 5.976 GB, free: 154 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005626/13.44, allocations: 31.08 kB / 5.976 GB, free: 154 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.612e-05/13.44, allocations: 32.52 kB / 5.976 GB, free: 154 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.422e-05/13.44, allocations: 25.89 kB / 5.976 GB, free: 154 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0002505/13.44, allocations: 225.1 kB / 5.977 GB, free: 153.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001428/13.44, allocations: 334.6 kB / 5.977 GB, free: 153.9 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (45): * Single equations (assignments): 45 * 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.001789/13.44, allocations: 1.226 MB / 5.978 GB, free: 153.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009338/13.45, allocations: 0.6034 MB / 5.979 GB, free: 153.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/13.45, allocations: 0 / 5.979 GB, free: 153.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002204/13.45, allocations: 186.9 kB / 5.979 GB, free: 153.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009529/13.45, allocations: 164.2 kB / 5.979 GB, free: 153.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001833/13.45, allocations: 0.8142 MB / 5.98 GB, free: 153.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004991/13.45, allocations: 0.9049 MB / 5.981 GB, free: 152.6 MB / 0.5261 GB Notification: Performance of SimCode: time 5.81e-07/13.45, allocations: 2.969 kB / 5.981 GB, free: 152.6 MB / 0.5261 GB Notification: Performance of Templates: time 0.02588/13.47, allocations: 16.36 MB / 5.997 GB, free: 152.3 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAirUnsaturated.makefile (rm -f Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAirUnsaturated.pipe ; mkfifo Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAirUnsaturated.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAirUnsaturated.pipe >> ../files/Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAirUnsaturated.sim & ./Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAirUnsaturated -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAirUnsaturated.pipe 2>&1)