Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") [: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/BuildSysPro 3.5.0/package.mo): time 0.7888/0.7888, allocations: 127.4 MB / 134.6 MB, free: 4.062 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001263/0.001262, allocations: 181.3 kB / 164.4 MB, free: 6.855 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.038/2.038, allocations: 205.1 MB / 399.1 MB, free: 6.059 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001011/0.001011, allocations: 90.52 kB / 476.3 MB, free: 8.812 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.08e-05/1.083e-05, allocations: 0 / 0.546 GB, free: 42.71 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.2516, allocations: 76.75 MB / 0.6209 GB, free: 13.89 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.512/6.763, allocations: 2.171 GB / 2.792 GB, free: 179.7 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002629/6.764, allocations: 94.98 kB / 2.792 GB, free: 179.7 MB / 0.6355 GB Notification: Performance of FrontEnd: time 12.11/18.87, allocations: 2.79 GB / 5.582 GB, free: 62.58 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0006731/18.88, allocations: 75.52 kB / 5.582 GB, free: 62.57 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 570 * Number of variables: 570 Notification: Performance of Generate backend data structure: time 0.01814/18.89, allocations: 3.732 MB / 5.586 GB, free: 61.05 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 6.275e-05/18.89, allocations: 10.19 kB / 5.586 GB, free: 61.05 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01282/18.91, allocations: 1.532 MB / 5.588 GB, free: 60.88 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01025/18.92, allocations: 2.328 MB / 5.59 GB, free: 60.41 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001426/18.92, allocations: 388.3 kB / 5.59 GB, free: 60.4 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001305/18.92, allocations: 140.4 kB / 5.59 GB, free: 60.4 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006114/18.93, allocations: 2.689 MB / 5.593 GB, free: 60.39 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004652/18.93, allocations: 2.552 MB / 5.596 GB, free: 59.98 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.943e-05/18.93, allocations: 2.719 kB / 5.596 GB, free: 59.98 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002769/18.93, allocations: 7.062 kB / 5.596 GB, free: 59.98 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001017/18.93, allocations: 96.45 kB / 5.596 GB, free: 59.98 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02674/18.96, allocations: 14.29 MB / 5.61 GB, free: 52.43 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002018/18.96, allocations: 1.274 MB / 5.611 GB, free: 52.4 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000941/18.96, allocations: 0.6445 MB / 5.611 GB, free: 52.39 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006293/18.96, allocations: 473.1 kB / 5.612 GB, free: 51.92 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.888e-05/18.96, allocations: 61.25 kB / 5.612 GB, free: 51.88 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=108): time 4.288e-06/18.96, allocations: 0 / 5.612 GB, free: 51.88 MB / 0.7917 GB Notification: Performance of matching and sorting (n=108): time 0.005638/18.97, allocations: 1.828 MB / 5.614 GB, free: 51.71 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/18.97, allocations: 63.25 kB / 5.614 GB, free: 51.65 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003356/18.97, allocations: 1.613 MB / 5.615 GB, free: 51.42 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0004239/18.97, allocations: 32.61 kB / 5.615 GB, free: 51.39 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007314/18.97, allocations: 1.015 MB / 5.616 GB, free: 50.79 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004253/18.97, allocations: 370.1 kB / 5.617 GB, free: 50.55 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001352/18.97, allocations: 5.75 kB / 5.617 GB, free: 50.55 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001697/18.97, allocations: 378.5 kB / 5.617 GB, free: 50.24 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001413/18.97, allocations: 0.7846 MB / 5.618 GB, free: 50.24 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001929/18.98, allocations: 1.371 MB / 5.619 GB, free: 49.54 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002916/18.98, allocations: 1.316 MB / 5.621 GB, free: 49.52 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.18e-05/18.98, allocations: 2.875 kB / 5.621 GB, free: 49.52 MB / 0.7917 GB Notification: Performance of matching and sorting (n=232) (initialization): time 0.005949/18.98, allocations: 2.675 MB / 5.623 GB, free: 49.36 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.001712/18.99, allocations: 6.262 MB / 5.629 GB, free: 42.81 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.614e-05/18.99, allocations: 16.16 kB / 5.629 GB, free: 42.81 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.945e-05/18.99, allocations: 24.88 kB / 5.629 GB, free: 42.81 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007778/18.99, allocations: 1.232 MB / 5.63 GB, free: 42.81 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004402/19, allocations: 2.856 MB / 5.633 GB, free: 40.47 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006067/19, allocations: 0.5559 MB / 5.634 GB, free: 40.37 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006353/19.01, allocations: 102.8 kB / 5.634 GB, free: 40.37 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/19.01, allocations: 6.375 kB / 5.634 GB, free: 40.37 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006243/19.01, allocations: 2.384 MB / 5.636 GB, free: 40.34 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.347e-05/19.01, allocations: 13.94 kB / 5.636 GB, free: 40.34 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.221e-05/19.01, allocations: 31.31 kB / 5.636 GB, free: 40.34 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003114/19.01, allocations: 0.5756 MB / 5.637 GB, free: 40.34 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.475e-05/19.01, allocations: 39.11 kB / 5.637 GB, free: 40.34 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004346/19.02, allocations: 410.9 kB / 5.637 GB, free: 40.28 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004787/19.02, allocations: 98.58 kB / 5.637 GB, free: 40.28 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 8 (masExcFor.i1_w,masExcFor.i2_w,masExcRev.i1_w,masExcRev.i2_w,senMas3.i_x,senMas4.i_x,senMas1.i_x,senMas2.i_x) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (230): * Single equations (assignments): 220 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001084/19.02, allocations: 161.9 kB / 5.638 GB, free: 40.16 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001182/19.02, allocations: 226 kB / 5.638 GB, free: 40.05 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004686/19.03, allocations: 1.775 MB / 5.639 GB, free: 39.96 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.927e-05/19.03, allocations: 13.31 kB / 5.64 GB, free: 39.96 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/19.03, allocations: 0 / 5.64 GB, free: 39.96 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.758e-05/19.03, allocations: 10.98 kB / 5.64 GB, free: 39.95 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01299/19.04, allocations: 4.19 MB / 5.644 GB, free: 39.46 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-05/19.04, allocations: 5.172 kB / 5.644 GB, free: 39.46 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006705/19.05, allocations: 1.004 MB / 5.645 GB, free: 39.46 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.712e-05/19.05, allocations: 9.625 kB / 5.645 GB, free: 39.46 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002684/19.05, allocations: 21.86 kB / 5.645 GB, free: 39.46 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01239/19.06, allocations: 6.219 MB / 5.651 GB, free: 34.45 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.812e-05/19.06, allocations: 8.75 kB / 5.651 GB, free: 34.45 MB / 0.7917 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005777/19.07, allocations: 2.179 MB / 5.653 GB, free: 33.58 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002819/19.07, allocations: 0.536 MB / 5.653 GB, free: 33.36 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00136/19.07, allocations: 9.062 kB / 5.653 GB, free: 33.36 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004767/19.07, allocations: 303.7 kB / 5.654 GB, free: 33.34 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002826/19.07, allocations: 69.11 kB / 5.654 GB, free: 33.34 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004454/19.08, allocations: 69.53 kB / 5.654 GB, free: 33.34 MB / 0.7917 GB Notification: Performance of sort global known variables: time 0.004041/19.08, allocations: 1.184 MB / 5.655 GB, free: 33.2 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.01144/19.09, allocations: 1.86 MB / 5.657 GB, free: 33.01 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01629/19.11, allocations: 8.388 MB / 5.665 GB, free: 28.79 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.01642/19.12, allocations: 4.13 MB / 5.669 GB, free: 28.38 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.165e-05/19.12, allocations: 2.969 kB / 5.669 GB, free: 28.38 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.008345/19.13, allocations: 1.624 MB / 5.671 GB, free: 28.38 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006772/19.14, allocations: 0.7302 MB / 5.671 GB, free: 28.34 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.016/19.15, allocations: 3.296 MB / 5.675 GB, free: 27.39 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002817/19.16, allocations: 1.993 MB / 5.676 GB, free: 26.62 MB / 0.7917 GB Notification: Performance of SimCode: time 2.695e-06/19.16, allocations: 0 / 5.676 GB, free: 26.62 MB / 0.7917 GB Notification: Performance of Templates: time 0.172/19.33, allocations: 86.25 MB / 5.761 GB, free: 12.51 MB / 0.7917 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)