Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.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.MassExchangers.Validation.ConstantEffectivenessZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow") translateModel(BuildSysPro.IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow") [: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.7182/0.7182, allocations: 127.4 MB / 134.6 MB, free: 4.121 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.001435/0.001435, allocations: 181.3 kB / 164.4 MB, free: 6.887 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.976/1.976, allocations: 205.1 MB / 399.1 MB, free: 6.062 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.001363/0.001363, allocations: 93.27 kB / 476.3 MB, free: 8.828 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 9.337e-06/9.368e-06, allocations: 0 / 0.546 GB, free: 42.74 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2232, allocations: 76.75 MB / 0.6209 GB, free: 13.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.607/6.831, allocations: 2.167 GB / 2.788 GB, free: 178 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002943/6.831, allocations: 92.67 kB / 2.788 GB, free: 178 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.57/10.4, allocations: 0.9911 GB / 3.779 GB, free: 6.055 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002279/10.4, allocations: 31.98 kB / 3.779 GB, free: 6.023 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.008797/10.41, allocations: 1.743 MB / 3.781 GB, free: 4.227 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 7.767e-05/10.41, allocations: 12.03 kB / 3.781 GB, free: 4.215 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004321/10.41, allocations: 0.5877 MB / 3.782 GB, free: 3.625 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004217/10.42, allocations: 1.07 MB / 3.783 GB, free: 2.512 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007224/10.42, allocations: 185.8 kB / 3.783 GB, free: 2.328 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004285/10.42, allocations: 52 kB / 3.783 GB, free: 2.277 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002754/10.42, allocations: 1.066 MB / 3.784 GB, free: 1.211 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002584/10.43, allocations: 1.029 MB / 3.785 GB, free: 168 kB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/10.43, allocations: 3.938 kB / 3.785 GB, free: 164 kB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000129/10.43, allocations: 0 / 3.785 GB, free: 164 kB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.57e-05/10.43, allocations: 45.89 kB / 3.785 GB, free: 120 kB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.443/10.87, allocations: 4.059 MB / 3.789 GB, free: 144.1 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001233/10.87, allocations: 0.753 MB / 3.79 GB, free: 144.1 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006854/10.87, allocations: 0.5057 MB / 3.79 GB, free: 144.1 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001129/10.87, allocations: 0.6167 MB / 3.791 GB, free: 143.5 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.764e-05/10.87, allocations: 41.62 kB / 3.791 GB, free: 143.4 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=75): time 4.528e-06/10.87, allocations: 0 / 3.791 GB, free: 143.4 MB / 0.6667 GB Notification: Performance of matching and sorting (n=75): time 0.00316/10.87, allocations: 1.248 MB / 3.792 GB, free: 143.4 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/10.87, allocations: 61.41 kB / 3.792 GB, free: 143.3 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008141/10.88, allocations: 0.5412 MB / 3.793 GB, free: 143.2 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 9.602e-05/10.88, allocations: 29.27 kB / 3.793 GB, free: 143.2 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000199/10.88, allocations: 334.8 kB / 3.793 GB, free: 143 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002171/10.88, allocations: 247.9 kB / 3.793 GB, free: 142.9 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.194e-05/10.88, allocations: 3.812 kB / 3.793 GB, free: 142.9 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.296e-05/10.88, allocations: 337.6 kB / 3.794 GB, free: 142.6 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005787/10.88, allocations: 416 kB / 3.794 GB, free: 142.6 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006461/10.88, allocations: 0.5425 MB / 3.795 GB, free: 142.4 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001155/10.88, allocations: 0.6217 MB / 3.795 GB, free: 142.4 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/10.88, allocations: 0 / 3.795 GB, free: 142.4 MB / 0.6667 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002071/10.88, allocations: 1.24 MB / 3.796 GB, free: 142.3 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 8.778e-05/10.88, allocations: 359.9 kB / 3.797 GB, free: 142 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/10.88, allocations: 0 / 3.797 GB, free: 142 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.327e-05/10.88, allocations: 7.594 kB / 3.797 GB, free: 142 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002992/10.88, allocations: 462.3 kB / 3.797 GB, free: 142 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001563/10.89, allocations: 1.359 MB / 3.799 GB, free: 140.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001717/10.89, allocations: 185 kB / 3.799 GB, free: 140.8 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001325/10.89, allocations: 46.25 kB / 3.799 GB, free: 140.8 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/10.89, allocations: 3.625 kB / 3.799 GB, free: 140.8 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002204/10.89, allocations: 1.085 MB / 3.8 GB, free: 140.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/10.89, allocations: 3.75 kB / 3.8 GB, free: 140.8 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/10.89, allocations: 10.97 kB / 3.8 GB, free: 140.8 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001417/10.89, allocations: 273.2 kB / 3.8 GB, free: 140.8 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/10.89, allocations: 2.688 kB / 3.8 GB, free: 140.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001646/10.89, allocations: 178.5 kB / 3.8 GB, free: 140.8 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/10.89, allocations: 37.03 kB / 3.8 GB, free: 140.8 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 (hex.i1_w,hex.i2_w) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003859/10.89, allocations: 124.9 kB / 3.8 GB, free: 140.7 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002455/10.89, allocations: 89.19 kB / 3.8 GB, free: 140.6 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003035/10.9, allocations: 1.288 MB / 3.802 GB, free: 140.6 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-05/10.9, allocations: 6.312 kB / 3.802 GB, free: 140.6 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/10.9, allocations: 0 / 3.802 GB, free: 140.6 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/10.9, allocations: 2.812 kB / 3.802 GB, free: 140.6 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005209/10.9, allocations: 2.66 MB / 3.804 GB, free: 140.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/10.9, allocations: 7.688 kB / 3.804 GB, free: 140.1 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002978/10.9, allocations: 465.9 kB / 3.805 GB, free: 140.1 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.678e-05/10.9, allocations: 7.469 kB / 3.805 GB, free: 140.1 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.433e-05/10.91, allocations: 28.88 kB / 3.805 GB, free: 140.1 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004264/10.91, allocations: 2.911 MB / 3.808 GB, free: 137.6 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/10.91, allocations: 5.812 kB / 3.808 GB, free: 137.6 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002676/10.91, allocations: 1.532 MB / 3.809 GB, free: 137.1 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008076/10.91, allocations: 298.1 kB / 3.809 GB, free: 136.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003042/10.91, allocations: 7.812 kB / 3.809 GB, free: 136.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001681/10.91, allocations: 171.4 kB / 3.81 GB, free: 136.9 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001524/10.91, allocations: 51.72 kB / 3.81 GB, free: 136.9 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001128/10.92, allocations: 34.45 kB / 3.81 GB, free: 136.9 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0007882/10.92, allocations: 439.5 kB / 3.81 GB, free: 136.8 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003005/10.92, allocations: 0.684 MB / 3.811 GB, free: 136.8 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00473/10.92, allocations: 2.664 MB / 3.813 GB, free: 136 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.005411/10.93, allocations: 1.855 MB / 3.815 GB, free: 135.9 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.028e-05/10.93, allocations: 5.656 kB / 3.815 GB, free: 135.9 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.003158/10.93, allocations: 0.8127 MB / 3.816 GB, free: 135.9 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002784/10.94, allocations: 413.8 kB / 3.816 GB, free: 135.9 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01646/10.95, allocations: 2.401 MB / 3.819 GB, free: 135.5 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001544/10.95, allocations: 1.226 MB / 3.82 GB, free: 134.8 MB / 0.6667 GB Notification: Performance of SimCode: time 1.723e-06/10.95, allocations: 0 / 3.82 GB, free: 134.8 MB / 0.6667 GB Notification: Performance of Templates: time 0.06924/11.02, allocations: 38.7 MB / 3.858 GB, free: 134.1 MB / 0.6667 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe 2>&1)