Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance.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.Rooms.BaseClasses.Examples.AirHeatMassBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance") translateModel(Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance") [: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.4959/0.4959, allocations: 94.74 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.001282/0.001283, allocations: 176.2 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.332/1.332, allocations: 170.5 MB / 319 MB, free: 9.496 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.001695/0.001696, allocations: 104.3 kB / 381 MB, free: 18.12 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.793e-06/6.813e-06, allocations: 0 / 448.6 MB, free: 2.125 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1414, allocations: 61.51 MB / 0.4981 GB, free: 4.516 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9139/1.055, allocations: 403.3 MB / 0.8919 GB, free: 2.996 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000345/1.056, allocations: 87.12 kB / 0.892 GB, free: 2.957 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.5814/1.637, allocations: 120.9 MB / 1.01 GB, free: 94.08 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002867/1.638, allocations: 31.94 kB / 1.01 GB, free: 94.05 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.002865/1.64, allocations: 1.367 MB / 1.011 GB, free: 92.64 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/1.64, allocations: 12.72 kB / 1.011 GB, free: 92.63 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006322/1.641, allocations: 181.8 kB / 1.012 GB, free: 92.45 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003628/1.645, allocations: 1.678 MB / 1.013 GB, free: 90.77 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/1.645, allocations: 16 kB / 1.013 GB, free: 90.76 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.152e-05/1.645, allocations: 24 kB / 1.013 GB, free: 90.73 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006564/1.646, allocations: 397.8 kB / 1.014 GB, free: 90.35 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007156/1.646, allocations: 0.5269 MB / 1.014 GB, free: 89.77 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/1.646, allocations: 3.938 kB / 1.014 GB, free: 89.77 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.723e-05/1.646, allocations: 0 / 1.014 GB, free: 89.77 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.579e-05/1.646, allocations: 19.91 kB / 1.014 GB, free: 89.75 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004028/1.65, allocations: 3.264 MB / 1.017 GB, free: 86.34 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003719/1.651, allocations: 203.2 kB / 1.018 GB, free: 86.14 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001212/1.651, allocations: 100.7 kB / 1.018 GB, free: 86.04 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001704/1.651, allocations: 166.2 kB / 1.018 GB, free: 85.84 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.628e-05/1.651, allocations: 34.5 kB / 1.018 GB, free: 85.79 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=17): time 2.114e-06/1.651, allocations: 0 / 1.018 GB, free: 85.79 MB / 0.5261 GB Notification: Performance of matching and sorting (n=22): time 0.002288/1.653, allocations: 1.202 MB / 1.019 GB, free: 84.52 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.053e-05/1.653, allocations: 59.34 kB / 1.019 GB, free: 84.45 MB / 0.5261 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/Rooms/BaseClasses/AirHeatMassBalanceMixed.mo:12:3-13:54:writable] Warning: Parameter air.homotopyInitialization has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001971/1.655, allocations: 1.905 MB / 1.021 GB, free: 82.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/1.655, allocations: 25.7 kB / 1.021 GB, free: 82.47 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001953/1.656, allocations: 430.7 kB / 1.021 GB, free: 82.04 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.684e-05/1.656, allocations: 78.84 kB / 1.021 GB, free: 81.96 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.263e-05/1.656, allocations: 0 / 1.021 GB, free: 81.96 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.048e-05/1.656, allocations: 322 kB / 1.022 GB, free: 81.64 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001315/1.656, allocations: 108.8 kB / 1.022 GB, free: 81.54 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001933/1.656, allocations: 301.8 kB / 1.022 GB, free: 81.15 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002329/1.656, allocations: 173.9 kB / 1.022 GB, free: 80.98 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/1.656, allocations: 4 kB / 1.022 GB, free: 80.98 MB / 0.5261 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007719/1.657, allocations: 0.67 MB / 1.023 GB, free: 80.28 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/1.657, allocations: 14.95 kB / 1.023 GB, free: 80.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/1.657, allocations: 4 kB / 1.023 GB, free: 80.26 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002341/1.657, allocations: 81.67 kB / 1.023 GB, free: 80.18 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003814/1.658, allocations: 92.31 kB / 1.023 GB, free: 80.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001862/1.66, allocations: 2.835 MB / 1.026 GB, free: 77.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000556/1.66, allocations: 15.91 kB / 1.026 GB, free: 77 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.627e-05/1.66, allocations: 23.98 kB / 1.026 GB, free: 76.98 MB / 0.5261 GB Warning: Assuming fixed start value for the following 2 variables: air.vol.dynBal.medium.T:VARIABLE(min = max(273.15, 273.15) max = min(373.15, 373.15) start = air.vol.dynBal.T_start unit = "K" nominal = 293.15 stateSelect=StateSelect.prefer protected = true ) "Temperature of medium" type: Real air.vol.dynBal.medium.p:VARIABLE(min = max(0.0, 0.0) max = 100000000.0 start = air.vol.dynBal.p_start unit = "Pa" nominal = 101325.0 stateSelect=StateSelect.prefer protected = true ) "Absolute pressure of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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: 2 {(1,100.0%) 1,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001806/1.661, allocations: 146 kB / 1.026 GB, free: 76.83 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001587/1.661, allocations: 157.9 kB / 1.026 GB, free: 76.67 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007268/1.661, allocations: 0.5039 MB / 1.027 GB, free: 76.14 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/1.661, allocations: 11.91 kB / 1.027 GB, free: 76.13 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/1.661, allocations: 0 / 1.027 GB, free: 76.13 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/1.661, allocations: 3.984 kB / 1.027 GB, free: 76.12 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001766/1.663, allocations: 1.446 MB / 1.028 GB, free: 74.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/1.663, allocations: 4.062 kB / 1.028 GB, free: 74.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002156/1.664, allocations: 47.81 kB / 1.028 GB, free: 74.55 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001571/1.664, allocations: 73.61 kB / 1.028 GB, free: 74.47 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.915e-05/1.664, allocations: 4 kB / 1.028 GB, free: 74.47 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001491/1.665, allocations: 2.823 MB / 1.031 GB, free: 71.42 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.665, allocations: 0 / 1.031 GB, free: 71.42 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007207/1.666, allocations: 0.7425 MB / 1.032 GB, free: 70.61 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004849/1.666, allocations: 0.5901 MB / 1.032 GB, free: 69.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001659/1.667, allocations: 11.97 kB / 1.032 GB, free: 69.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003873/1.667, allocations: 7.984 kB / 1.032 GB, free: 69.93 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.685e-05/1.667, allocations: 7.984 kB / 1.032 GB, free: 69.92 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.027e-05/1.667, allocations: 12 kB / 1.032 GB, free: 69.91 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.001522/1.669, allocations: 1.452 MB / 1.034 GB, free: 68.43 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0008908/1.669, allocations: 259.9 kB / 1.034 GB, free: 68.18 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (air.vol.dynBal.medium.p,air.vol.dynBal.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 15 * 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: 2 {(1,100.0%) 1,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001076/1.671, allocations: 0.9554 MB / 1.035 GB, free: 67.27 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006002/1.671, allocations: 488.9 kB / 1.035 GB, free: 66.77 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/1.671, allocations: 4 kB / 1.035 GB, free: 66.77 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002814/1.671, allocations: 319.5 kB / 1.036 GB, free: 66.44 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002076/1.674, allocations: 0.5713 MB / 1.036 GB, free: 65.86 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003185/1.677, allocations: 2.337 MB / 1.039 GB, free: 63.48 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001036/1.678, allocations: 1.711 MB / 1.04 GB, free: 61.73 MB / 0.5261 GB Notification: Performance of SimCode: time 5.11e-07/1.678, allocations: 0 / 1.04 GB, free: 61.73 MB / 0.5261 GB Notification: Performance of Templates: time 0.0311/1.709, allocations: 19.75 MB / 1.06 GB, free: 42.25 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance.makefile (rm -f Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance.pipe ; mkfifo Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance.pipe >> ../files/Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance.sim & ./Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance.pipe 2>&1)