Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestSimpleAir.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.TestSimpleAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestSimpleAir") translateModel(Buildings.Media.GasesConstantDensity.Examples.TestSimpleAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestSimpleAir") [: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.5062/0.5062, allocations: 94.74 MB / 102 MB, free: 10.33 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.001526/0.001526, allocations: 177.2 kB / 125.3 MB, free: 11.96 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.283/1.283, allocations: 170.5 MB / 319 MB, free: 9.301 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.001745/0.001745, allocations: 118.5 kB / 381 MB, free: 18.18 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.101e-05/1.102e-05, allocations: 0 / 448.6 MB, free: 2.098 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1509, allocations: 61.52 MB / 0.4981 GB, free: 4.48 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.335/1.486, allocations: 406.2 MB / 0.8948 GB, free: 190.9 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002668/1.486, allocations: 74.14 kB / 0.8949 GB, free: 190.9 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.1693/1.655, allocations: 81.44 MB / 0.9744 GB, free: 141.3 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.786e-05/1.656, allocations: 8 kB / 0.9744 GB, free: 141.3 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009232/1.656, allocations: 0.5179 MB / 0.975 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/1.657, allocations: 17.03 kB / 0.975 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004006/1.657, allocations: 35.7 kB / 0.975 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004841/1.657, allocations: 271.5 kB / 0.9753 GB, free: 140.4 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/1.657, allocations: 11.91 kB / 0.9753 GB, free: 140.4 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.279e-05/1.658, allocations: 16 kB / 0.9753 GB, free: 140.3 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000306/1.658, allocations: 157 kB / 0.9754 GB, free: 140.2 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003607/1.658, allocations: 267.6 kB / 0.9757 GB, free: 139.9 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/1.658, allocations: 0 / 0.9757 GB, free: 139.9 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.36e-05/1.658, allocations: 0 / 0.9757 GB, free: 139.9 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/1.658, allocations: 8 kB / 0.9757 GB, free: 139.9 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001734/1.66, allocations: 1.669 MB / 0.9773 GB, free: 138.1 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001913/1.66, allocations: 73.72 kB / 0.9774 GB, free: 138 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.195e-05/1.66, allocations: 66.38 kB / 0.9775 GB, free: 137.9 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001355/1.66, allocations: 166.2 kB / 0.9776 GB, free: 137.8 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/1.661, allocations: 44.11 kB / 0.9777 GB, free: 137.7 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=16): time 1.784e-06/1.661, allocations: 0 / 0.9777 GB, free: 137.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=16): time 0.0004648/1.661, allocations: 150.2 kB / 0.9778 GB, free: 137.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.845e-05/1.661, allocations: 51.41 kB / 0.9779 GB, free: 137.5 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001995/1.661, allocations: 216 kB / 0.9781 GB, free: 137.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.336e-05/1.661, allocations: 33.7 kB / 0.9781 GB, free: 137.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.715e-05/1.661, allocations: 175.5 kB / 0.9783 GB, free: 137.1 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.011e-05/1.661, allocations: 59.14 kB / 0.9783 GB, free: 137 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.548e-06/1.661, allocations: 0 / 0.9783 GB, free: 137 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.717e-05/1.662, allocations: 334.7 kB / 0.9786 GB, free: 136.7 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.573e-05/1.662, allocations: 52 kB / 0.9787 GB, free: 136.6 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/1.662, allocations: 161.4 kB / 0.9788 GB, free: 136.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002113/1.662, allocations: 86.64 kB / 0.9789 GB, free: 136.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/1.662, allocations: 4 kB / 0.9789 GB, free: 136.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004549/1.662, allocations: 264.1 kB / 0.9792 GB, free: 136 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/1.662, allocations: 7.938 kB / 0.9792 GB, free: 136 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/1.662, allocations: 4 kB / 0.9792 GB, free: 136 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000146/1.663, allocations: 29.34 kB / 0.9792 GB, free: 136 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002225/1.663, allocations: 63.91 kB / 0.9793 GB, free: 135.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008997/1.664, allocations: 1.237 MB / 0.9805 GB, free: 134.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002345/1.664, allocations: 35.73 kB / 0.9805 GB, free: 134.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.175e-05/1.664, allocations: 16 kB / 0.9805 GB, free: 134.5 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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001724/1.664, allocations: 116.8 kB / 0.9806 GB, free: 134.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.7e-05/1.664, allocations: 15.81 kB / 0.9807 GB, free: 134.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003635/1.665, allocations: 175.4 kB / 0.9808 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/1.665, allocations: 4 kB / 0.9808 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/1.665, allocations: 0 / 0.9808 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000291/1.665, allocations: 458.8 kB / 0.9813 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008366/1.666, allocations: 0.6322 MB / 0.9819 GB, free: 133 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/1.666, allocations: 4 kB / 0.9819 GB, free: 133 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002395/1.666, allocations: 43.91 kB / 0.9819 GB, free: 132.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-06/1.666, allocations: 7.906 kB / 0.9819 GB, free: 132.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.81e-05/1.666, allocations: 4 kB / 0.9819 GB, free: 132.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/1.666, allocations: 2.719 kB / 0.9819 GB, free: 132.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/1.666, allocations: 8 kB / 0.982 GB, free: 132.9 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004059/1.667, allocations: 418.2 kB / 0.9824 GB, free: 132.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.237e-05/1.667, allocations: 108.9 kB / 0.9825 GB, free: 132.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.019e-05/1.667, allocations: 8.062 kB / 0.9825 GB, free: 132.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001957/1.667, allocations: 7.984 kB / 0.9825 GB, free: 132.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.833e-05/1.667, allocations: 15.89 kB / 0.9825 GB, free: 132.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.899e-05/1.667, allocations: 4.094 kB / 0.9825 GB, free: 132.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.000123/1.667, allocations: 168.4 kB / 0.9827 GB, free: 132.1 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004933/1.668, allocations: 95.83 kB / 0.9827 GB, free: 132 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (volume.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.0002858/1.668, allocations: 144.8 kB / 0.9829 GB, free: 131.9 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004115/1.668, allocations: 253.6 kB / 0.9831 GB, free: 131.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/1.668, allocations: 0 / 0.9831 GB, free: 131.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.969e-05/1.668, allocations: 55.86 kB / 0.9832 GB, free: 131.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006655/1.669, allocations: 107.2 kB / 0.9833 GB, free: 131.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008608/1.67, allocations: 393.7 kB / 0.9837 GB, free: 131 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003186/1.67, allocations: 0.7936 MB / 0.9844 GB, free: 130.2 MB / 0.5261 GB Notification: Performance of SimCode: time 2.51e-07/1.67, allocations: 0 / 0.9844 GB, free: 130.2 MB / 0.5261 GB Notification: Performance of Templates: time 0.00819/1.679, allocations: 4.011 MB / 0.9883 GB, free: 126.3 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestSimpleAir.makefile (rm -f Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestSimpleAir.pipe ; mkfifo Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestSimpleAir.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestSimpleAir.pipe >> ../files/Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestSimpleAir.sim & ./Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestSimpleAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestSimpleAir.pipe 2>&1)