Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly") translateModel(IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly") [: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/Complex 4.0.0+maint.om/package.mo): time 0.003761/0.003761, allocations: 184.9 kB / 7.456 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7103/0.7103, allocations: 130.6 MB / 138.5 MB, free: 2.219 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.709/1.709, allocations: 221.3 MB / 391.4 MB, free: 13.14 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009847/0.0009846, allocations: 101.3 kB / 473.4 MB, free: 14.42 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 8.916e-06/8.957e-06, allocations: 2.156 kB / 0.5479 GB, free: 89.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.1762, allocations: 81.58 MB / 0.6276 GB, free: 18.2 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.347/5.524, allocations: 2.144 GB / 2.772 GB, free: 243.2 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002829/5.524, allocations: 97.03 kB / 2.772 GB, free: 243.2 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.104/8.628, allocations: 0.882 GB / 3.654 GB, free: 87.35 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003735/8.629, allocations: 55.33 kB / 3.654 GB, free: 87.34 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.007441/8.636, allocations: 2.365 MB / 3.656 GB, free: 86.07 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/8.636, allocations: 8.344 kB / 3.656 GB, free: 86.07 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00288/8.639, allocations: 391.7 kB / 3.657 GB, free: 85.95 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006704/8.646, allocations: 2.078 MB / 3.659 GB, free: 85.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001113/8.646, allocations: 44.25 kB / 3.659 GB, free: 85.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006283/8.647, allocations: 86.56 kB / 3.659 GB, free: 85.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003294/8.65, allocations: 1.13 MB / 3.66 GB, free: 85.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003856/8.654, allocations: 1.389 MB / 3.661 GB, free: 85.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.139e-05/8.654, allocations: 3.625 kB / 3.661 GB, free: 85.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002204/8.654, allocations: 0 / 3.661 GB, free: 85.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.367e-05/8.654, allocations: 47.34 kB / 3.661 GB, free: 85.09 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01244/8.667, allocations: 6.708 MB / 3.668 GB, free: 80.95 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001607/8.668, allocations: 0.9032 MB / 3.669 GB, free: 80.61 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008138/8.669, allocations: 0.5902 MB / 3.669 GB, free: 80.38 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006345/8.67, allocations: 0.6844 MB / 3.67 GB, free: 79.62 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.927e-05/8.67, allocations: 41.06 kB / 3.67 GB, free: 79.58 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=83): time 3.446e-06/8.67, allocations: 0 / 3.67 GB, free: 79.58 MB / 0.6823 GB Notification: Performance of matching and sorting (n=85): time 0.008294/8.678, allocations: 2.755 MB / 3.673 GB, free: 78.23 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.53e-05/8.678, allocations: 200.4 kB / 3.673 GB, free: 78 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004729/8.683, allocations: 1.508 MB / 3.674 GB, free: 77.37 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000292/8.684, allocations: 30.86 kB / 3.675 GB, free: 77.34 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008569/8.684, allocations: 0.5749 MB / 3.675 GB, free: 76.94 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005382/8.685, allocations: 281 kB / 3.675 GB, free: 76.72 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.476e-05/8.685, allocations: 4.875 kB / 3.675 GB, free: 76.72 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001467/8.685, allocations: 343.5 kB / 3.676 GB, free: 76.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001093/8.686, allocations: 0.5728 MB / 3.676 GB, free: 76.17 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001326/8.688, allocations: 0.8382 MB / 3.677 GB, free: 75.66 MB / 0.6823 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.005139/8.693, allocations: 2.177 MB / 3.679 GB, free: 74.72 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/8.693, allocations: 0 / 3.679 GB, free: 74.72 MB / 0.6823 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.00323/8.696, allocations: 1.553 MB / 3.681 GB, free: 74.11 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003963/8.697, allocations: 1.452 MB / 3.682 GB, free: 72.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.792e-05/8.697, allocations: 4.578 kB / 3.682 GB, free: 72.57 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.682e-05/8.697, allocations: 15.06 kB / 3.682 GB, free: 72.57 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000864/8.697, allocations: 188.7 kB / 3.682 GB, free: 72.56 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.002e-05/8.698, allocations: 9.047 kB / 3.682 GB, free: 72.56 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002/8.7, allocations: 93.52 kB / 3.682 GB, free: 72.55 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001694/8.7, allocations: 46.59 kB / 3.682 GB, free: 72.55 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.308e-06/8.7, allocations: 4.531 kB / 3.682 GB, free: 72.55 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002436/8.702, allocations: 1.342 MB / 3.684 GB, free: 72.06 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/8.702, allocations: 3.969 kB / 3.684 GB, free: 72.06 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/8.702, allocations: 11 kB / 3.684 GB, free: 72.06 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007881/8.703, allocations: 187.5 kB / 3.684 GB, free: 72.06 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.854e-05/8.703, allocations: 7.312 kB / 3.684 GB, free: 72.06 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001962/8.705, allocations: 92.67 kB / 3.684 GB, free: 72.05 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001485/8.705, allocations: 52.56 kB / 3.684 GB, free: 72.04 MB / 0.6823 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: vol.dynBal.medium.p = vol.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 4 (beaCoo.conCoo.mod.temDif_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.airFlo_mod.i,conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 6 * 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 prepare postOptimizeDAE: time 0.0004565/8.706, allocations: 220.7 kB / 3.684 GB, free: 71.83 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007604/8.706, allocations: 178.8 kB / 3.685 GB, free: 71.74 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003206/8.71, allocations: 1.286 MB / 3.686 GB, free: 71.24 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.592e-05/8.71, allocations: 15.59 kB / 3.686 GB, free: 71.24 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/8.71, allocations: 0 / 3.686 GB, free: 71.24 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001939/8.712, allocations: 1.375 MB / 3.687 GB, free: 70.43 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008537/8.72, allocations: 3.287 MB / 3.69 GB, free: 68.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.459e-05/8.72, allocations: 4.344 kB / 3.69 GB, free: 68.88 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009333/8.721, allocations: 169.6 kB / 3.69 GB, free: 68.87 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.319e-05/8.721, allocations: 8.344 kB / 3.69 GB, free: 68.87 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001022/8.721, allocations: 23.16 kB / 3.691 GB, free: 68.86 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.712e-05/8.721, allocations: 6.594 kB / 3.691 GB, free: 68.86 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.156e-05/8.721, allocations: 13.59 kB / 3.691 GB, free: 68.86 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004637/8.726, allocations: 2.532 MB / 3.693 GB, free: 67.35 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001929/8.728, allocations: 435.2 kB / 3.693 GB, free: 67.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009875/8.729, allocations: 16.16 kB / 3.693 GB, free: 67.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002045/8.731, allocations: 88.44 kB / 3.694 GB, free: 67.04 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003232/8.731, allocations: 91.86 kB / 3.694 GB, free: 67.01 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001545/8.731, allocations: 34.89 kB / 3.694 GB, free: 67.01 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.003956/8.735, allocations: 1.152 MB / 3.695 GB, free: 66.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.005772/8.741, allocations: 0.9004 MB / 3.696 GB, free: 66.34 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 4 (conPID.I.y,vol.dynBal.U,vol.dynBal.mXi[1],beaCoo.conCoo.hex.vol.dynBal.U) * Number of discrete variables: 3 (beaCoo.conCoo.mod.temDif_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.airFlo_mod.i) * Number of discrete states: 3 (beaCoo.conCoo.mod.airFlo_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.temDif_mod.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 2 * 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.005555/8.747, allocations: 2.386 MB / 3.698 GB, free: 65.64 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004682/8.752, allocations: 2.371 MB / 3.7 GB, free: 64.47 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.137e-05/8.752, allocations: 1.531 kB / 3.7 GB, free: 64.47 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001693/8.753, allocations: 0.9184 MB / 3.701 GB, free: 64.02 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00508/8.758, allocations: 0.804 MB / 3.702 GB, free: 63.43 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008726/8.767, allocations: 3.113 MB / 3.705 GB, free: 60.36 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002469/8.77, allocations: 1.698 MB / 3.707 GB, free: 58.66 MB / 0.6823 GB Notification: Performance of SimCode: time 1.323e-06/8.77, allocations: 0 / 3.707 GB, free: 58.66 MB / 0.6823 GB Notification: Performance of Templates: time 0.08237/8.852, allocations: 48.68 MB / 3.754 GB, free: 11.81 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe 2>&1)