Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Media.GasesPTDecoupled.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.GasesPTDecoupled.Examples.TestSimpleAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestSimpleAir") translateModel(Buildings.Media.GasesPTDecoupled.Examples.TestSimpleAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesPTDecoupled.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.5269/0.5269, 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.001337/0.001337, allocations: 181 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.574/1.574, allocations: 170.5 MB / 319 MB, free: 9.395 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.001754/0.001754, allocations: 105.5 kB / 381 MB, free: 18.16 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.762e-06/6.782e-06, allocations: 224 / 448.6 MB, free: 2.109 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.164, allocations: 61.51 MB / 0.4981 GB, free: 4.5 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.452/1.616, allocations: 405.2 MB / 0.8938 GB, free: 154.8 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003112/1.617, allocations: 74.33 kB / 0.8939 GB, free: 154.8 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.1758/1.792, allocations: 82.67 MB / 0.9746 GB, free: 127.1 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.549e-05/1.792, allocations: 8 kB / 0.9747 GB, free: 127.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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.000933/1.793, allocations: 0.522 MB / 0.9752 GB, free: 126.5 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/1.793, allocations: 8.781 kB / 0.9752 GB, free: 126.5 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003943/1.794, allocations: 43.64 kB / 0.9752 GB, free: 126.5 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000519/1.794, allocations: 281.9 kB / 0.9755 GB, free: 126.2 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/1.794, allocations: 11.91 kB / 0.9755 GB, free: 126.1 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.425e-05/1.794, allocations: 16 kB / 0.9755 GB, free: 126.1 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003242/1.795, allocations: 153 kB / 0.9757 GB, free: 126 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003616/1.795, allocations: 245.9 kB / 0.9759 GB, free: 125.7 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/1.795, allocations: 0 / 0.9759 GB, free: 125.7 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.565e-05/1.795, allocations: 4 kB / 0.9759 GB, free: 125.7 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/1.795, allocations: 8 kB / 0.9759 GB, free: 125.7 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001608/1.797, allocations: 1.433 MB / 0.9773 GB, free: 124.1 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001686/1.797, allocations: 122.3 kB / 0.9774 GB, free: 124 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/1.797, allocations: 78.62 kB / 0.9775 GB, free: 123.9 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001342/1.797, allocations: 170.4 kB / 0.9777 GB, free: 123.7 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/1.797, allocations: 34.75 kB / 0.9777 GB, free: 123.7 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=21): time 1.573e-06/1.797, allocations: 0 / 0.9777 GB, free: 123.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=21): time 0.000473/1.798, allocations: 169.2 kB / 0.9778 GB, free: 123.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.731e-05/1.798, allocations: 67.25 kB / 0.9779 GB, free: 123.4 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/1.798, allocations: 191.1 kB / 0.9781 GB, free: 123.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.587e-05/1.798, allocations: 25.7 kB / 0.9781 GB, free: 123.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.882e-05/1.798, allocations: 171.8 kB / 0.9783 GB, free: 123 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.65e-05/1.798, allocations: 74.84 kB / 0.9784 GB, free: 123 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.308e-06/1.798, allocations: 0 / 0.9784 GB, free: 123 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.665e-05/1.798, allocations: 326.8 kB / 0.9787 GB, free: 122.6 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.706e-05/1.798, allocations: 59.98 kB / 0.9787 GB, free: 122.6 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001123/1.799, allocations: 148 kB / 0.9789 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001896/1.799, allocations: 79.91 kB / 0.9789 GB, free: 122.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/1.799, allocations: 0 / 0.9789 GB, free: 122.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004383/1.799, allocations: 270.9 kB / 0.9792 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/1.799, allocations: 4 kB / 0.9792 GB, free: 122 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/1.799, allocations: 7.938 kB / 0.9792 GB, free: 122 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001322/1.799, allocations: 20.86 kB / 0.9792 GB, free: 122 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002171/1.8, allocations: 61.81 kB / 0.9793 GB, free: 122 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009044/1.8, allocations: 1.236 MB / 0.9805 GB, free: 120.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002263/1.801, allocations: 35.83 kB / 0.9805 GB, free: 120.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.142e-05/1.801, allocations: 12 kB / 0.9805 GB, free: 120.6 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: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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.0001871/1.801, allocations: 119.5 kB / 0.9807 GB, free: 120.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.698e-05/1.801, allocations: 27.7 kB / 0.9807 GB, free: 120.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003998/1.801, allocations: 190.1 kB / 0.9809 GB, free: 120.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/1.801, allocations: 0 / 0.9809 GB, free: 120.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/1.801, allocations: 0 / 0.9809 GB, free: 120.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003317/1.802, allocations: 473.2 kB / 0.9813 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005819/1.802, allocations: 0.4948 MB / 0.9818 GB, free: 119.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/1.802, allocations: 0 / 0.9818 GB, free: 119.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003072/1.803, allocations: 63.89 kB / 0.9819 GB, free: 119.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/1.803, allocations: 8.031 kB / 0.9819 GB, free: 119.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.769e-05/1.803, allocations: 0 / 0.9819 GB, free: 119.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/1.803, allocations: 0 / 0.9819 GB, free: 119.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.803, allocations: 4 kB / 0.9819 GB, free: 119.1 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003528/1.803, allocations: 341.6 kB / 0.9822 GB, free: 118.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.777e-05/1.803, allocations: 96.83 kB / 0.9823 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.927e-05/1.803, allocations: 12.67 kB / 0.9823 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001844/1.803, allocations: 11.84 kB / 0.9823 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.456e-05/1.803, allocations: 15.98 kB / 0.9823 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.989e-05/1.804, allocations: 7.984 kB / 0.9823 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.000113/1.804, allocations: 153.6 kB / 0.9825 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004487/1.804, allocations: 95.84 kB / 0.9826 GB, free: 118.3 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.U,volume.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * 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.0002449/1.804, allocations: 144.5 kB / 0.9827 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003913/1.805, allocations: 259 kB / 0.983 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/1.805, allocations: 0 / 0.983 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 8.285e-05/1.805, allocations: 67.92 kB / 0.983 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006893/1.806, allocations: 112.9 kB / 0.9831 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008843/1.806, allocations: 446 kB / 0.9836 GB, free: 117.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000305/1.807, allocations: 0.7883 MB / 0.9843 GB, free: 116.5 MB / 0.5261 GB Notification: Performance of SimCode: time 5.31e-07/1.807, allocations: 4 kB / 0.9843 GB, free: 116.5 MB / 0.5261 GB Notification: Performance of Templates: time 0.008516/1.815, allocations: 4.367 MB / 0.9886 GB, free: 112.2 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestSimpleAir.makefile (rm -f Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestSimpleAir.pipe ; mkfifo Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestSimpleAir.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestSimpleAir.pipe >> ../files/Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestSimpleAir.sim & ./Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestSimpleAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestSimpleAir.pipe 2>&1)