Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.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-master/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-master/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.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") translateModel(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") [: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.001837/0.001837, allocations: 182.6 kB / 7.459 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6001/0.6001, allocations: 133.5 MB / 141.4 MB, free: 15.72 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.118/1.118, allocations: 221.3 MB / 395 MB, free: 10.17 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.0008431/0.0008432, allocations: 95.03 kB / 477.8 MB, free: 10.83 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.362e-06/6.382e-06, allocations: 2.5 kB / 0.5528 GB, free: 89.15 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1108, allocations: 82.29 MB / 0.6332 GB, free: 14.14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.138/3.249, allocations: 2.157 GB / 2.79 GB, free: 33.34 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002322/3.249, allocations: 89.39 kB / 2.79 GB, free: 33.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.513/5.762, allocations: 0.9257 GB / 3.716 GB, free: 90.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001394/5.762, allocations: 35.62 kB / 3.716 GB, free: 90.5 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.005085/5.767, allocations: 1.959 MB / 3.718 GB, free: 89.56 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/5.767, allocations: 11.81 kB / 3.718 GB, free: 89.56 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003104/5.77, allocations: 0.5682 MB / 3.719 GB, free: 89.48 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00301/5.773, allocations: 1.243 MB / 3.72 GB, free: 89.12 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005979/5.774, allocations: 180.6 kB / 3.72 GB, free: 89.12 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002518/5.774, allocations: 59.06 kB / 3.72 GB, free: 89.12 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001572/5.776, allocations: 0.9495 MB / 3.721 GB, free: 89.11 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001535/5.777, allocations: 1.036 MB / 3.722 GB, free: 89.01 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/5.778, allocations: 3.656 kB / 3.722 GB, free: 89.01 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.069e-05/5.778, allocations: 3.938 kB / 3.722 GB, free: 89.01 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.582e-05/5.778, allocations: 37.47 kB / 3.722 GB, free: 89.01 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007084/5.785, allocations: 4.925 MB / 3.727 GB, free: 87.06 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009521/5.786, allocations: 0.8192 MB / 3.728 GB, free: 86.94 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000498/5.786, allocations: 461 kB / 3.728 GB, free: 86.93 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008829/5.787, allocations: 0.8511 MB / 3.729 GB, free: 86.09 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006447/5.788, allocations: 0.6155 MB / 3.73 GB, free: 85.95 MB / 0.698 GB Notification: Performance of pre-optimization done (n=85): time 2.445e-06/5.788, allocations: 3.438 kB / 3.73 GB, free: 85.95 MB / 0.698 GB Notification: Performance of matching and sorting (n=85): time 0.002336/5.79, allocations: 1.095 MB / 3.731 GB, free: 85.84 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/5.79, allocations: 139.5 kB / 3.731 GB, free: 85.68 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007395/5.791, allocations: 0.7446 MB / 3.731 GB, free: 85.54 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.975e-05/5.791, allocations: 29.11 kB / 3.731 GB, free: 85.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001843/5.791, allocations: 385.9 kB / 3.732 GB, free: 85.29 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001571/5.791, allocations: 266.6 kB / 3.732 GB, free: 85.11 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.863e-05/5.791, allocations: 0 / 3.732 GB, free: 85.11 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.437e-05/5.791, allocations: 340.8 kB / 3.732 GB, free: 84.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004904/5.792, allocations: 398.3 kB / 3.733 GB, free: 84.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006061/5.793, allocations: 0.5976 MB / 3.733 GB, free: 84.59 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001284/5.794, allocations: 0.5696 MB / 3.734 GB, free: 84.58 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/5.794, allocations: 3.594 kB / 3.734 GB, free: 84.58 MB / 0.698 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002197/5.796, allocations: 1.246 MB / 3.735 GB, free: 84.46 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001575/5.796, allocations: 1.143 MB / 3.736 GB, free: 83.29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/5.796, allocations: 3.906 kB / 3.736 GB, free: 83.29 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/5.796, allocations: 7.281 kB / 3.736 GB, free: 83.29 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001303/5.798, allocations: 276.9 kB / 3.737 GB, free: 83.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/5.798, allocations: 12.91 kB / 3.737 GB, free: 83.29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001402/5.799, allocations: 196.2 kB / 3.737 GB, free: 83.24 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/5.799, allocations: 52.28 kB / 3.737 GB, free: 83.24 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.563e-06/5.799, allocations: 3.969 kB / 3.737 GB, free: 83.24 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002056/5.801, allocations: 1.092 MB / 3.738 GB, free: 83.21 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/5.801, allocations: 3.938 kB / 3.738 GB, free: 83.21 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.265e-06/5.801, allocations: 11.5 kB / 3.738 GB, free: 83.21 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001223/5.803, allocations: 277 kB / 3.738 GB, free: 83.21 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/5.803, allocations: 7.5 kB / 3.738 GB, free: 83.21 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001276/5.804, allocations: 176.7 kB / 3.738 GB, free: 83.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/5.804, allocations: 51.67 kB / 3.738 GB, free: 83.18 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,$PRE.mWatGai.nextEvent,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,$PRE.mAirGai.nextEvent,mAirGai.nextEvent,mAirGai.nextEventScaled,hex.flowRegime,hex.flowRegime_nominal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 2 * 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.000251/5.804, allocations: 198.8 kB / 3.739 GB, free: 83 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001886/5.804, allocations: 124.9 kB / 3.739 GB, free: 82.94 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002478/5.807, allocations: 1.255 MB / 3.74 GB, free: 82.88 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/5.807, allocations: 6.938 kB / 3.74 GB, free: 82.88 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/5.807, allocations: 3.812 kB / 3.74 GB, free: 82.88 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/5.807, allocations: 6.984 kB / 3.74 GB, free: 82.88 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003991/5.811, allocations: 2.679 MB / 3.743 GB, free: 82.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/5.811, allocations: 7.125 kB / 3.743 GB, free: 82.37 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009842/5.812, allocations: 217.8 kB / 3.743 GB, free: 82.37 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.085e-05/5.812, allocations: 6.875 kB / 3.743 GB, free: 82.37 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.548e-05/5.812, allocations: 23.88 kB / 3.743 GB, free: 82.37 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.803e-06/5.812, allocations: 10.17 kB / 3.743 GB, free: 82.37 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/5.812, allocations: 2.969 kB / 3.743 GB, free: 82.37 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002821/5.815, allocations: 2.099 MB / 3.745 GB, free: 81.83 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005278/5.815, allocations: 352.2 kB / 3.745 GB, free: 81.67 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001988/5.816, allocations: 14.3 kB / 3.745 GB, free: 81.67 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001187/5.817, allocations: 133.6 kB / 3.745 GB, free: 81.66 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/5.817, allocations: 67.72 kB / 3.745 GB, free: 81.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.734e-05/5.817, allocations: 47.06 kB / 3.745 GB, free: 81.66 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.0005999/5.818, allocations: 0.5618 MB / 3.746 GB, free: 81.55 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002311/5.82, allocations: 0.937 MB / 3.747 GB, free: 81.4 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 1 (senRelHum.phi) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,mAirGai.nextEvent,mAirGai.nextEventScaled,hex.flowRegime) * Number of discrete states: 12 (mAirGai.nextEvent,mAirGai.last,mAirGai.nextEventScaled,mAirGai.b,mAirGai.a,$whenCondition2,mWatGai.nextEvent,mWatGai.last,mWatGai.nextEventScaled,mWatGai.b,mWatGai.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 2 * 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.002661/5.823, allocations: 2.44 MB / 3.749 GB, free: 80.75 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002074/5.825, allocations: 1.679 MB / 3.751 GB, free: 80.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/5.825, allocations: 3.875 kB / 3.751 GB, free: 80.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006192/5.825, allocations: 0.6057 MB / 3.752 GB, free: 80.54 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001818/5.827, allocations: 407.5 kB / 3.752 GB, free: 80.53 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003391/5.831, allocations: 1.824 MB / 3.754 GB, free: 80.01 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008731/5.831, allocations: 1.313 MB / 3.755 GB, free: 79.3 MB / 0.698 GB Notification: Performance of SimCode: time 4.51e-07/5.831, allocations: 0 / 3.755 GB, free: 79.3 MB / 0.698 GB Notification: Performance of Templates: time 0.05865/5.89, allocations: 40.18 MB / 3.794 GB, free: 74.04 MB / 0.698 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1)