Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") translateModel(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.002987/0.002987, allocations: 183.6 kB / 7.457 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6708/0.6708, allocations: 130.6 MB / 138.5 MB, free: 2.176 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.573/1.573, allocations: 221.3 MB / 391.4 MB, free: 13.03 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.0009267/0.0009267, allocations: 94.69 kB / 473.4 MB, free: 14.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 8.927e-06/8.967e-06, allocations: 5.125 kB / 0.5479 GB, free: 89.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.1726, allocations: 81.57 MB / 0.6276 GB, free: 18.2 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.053/5.226, allocations: 2.157 GB / 2.784 GB, free: 237.6 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002291/5.226, allocations: 88.34 kB / 2.785 GB, free: 237.5 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.324/8.55, allocations: 0.9257 GB / 3.71 GB, free: 58.59 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000232/8.55, allocations: 39.69 kB / 3.71 GB, free: 58.55 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.007802/8.558, allocations: 1.963 MB / 3.712 GB, free: 56.54 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.867e-05/8.558, allocations: 12.03 kB / 3.712 GB, free: 56.53 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004094/8.562, allocations: 0.564 MB / 3.713 GB, free: 55.96 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004826/8.567, allocations: 1.237 MB / 3.714 GB, free: 54.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006987/8.568, allocations: 185.8 kB / 3.714 GB, free: 54.52 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005304/8.569, allocations: 60 kB / 3.714 GB, free: 54.46 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002364/8.571, allocations: 0.9411 MB / 3.715 GB, free: 53.52 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002363/8.573, allocations: 1.041 MB / 3.716 GB, free: 52.45 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.613e-05/8.573, allocations: 0 / 3.716 GB, free: 52.45 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001482/8.574, allocations: 4 kB / 3.716 GB, free: 52.45 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.024e-05/8.574, allocations: 41.98 kB / 3.716 GB, free: 52.41 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01083/8.585, allocations: 4.927 MB / 3.721 GB, free: 47.25 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001287/8.586, allocations: 0.8166 MB / 3.722 GB, free: 46.41 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000658/8.587, allocations: 458.3 kB / 3.722 GB, free: 45.96 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001195/8.588, allocations: 0.8459 MB / 3.723 GB, free: 44.96 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008791/8.589, allocations: 0.6302 MB / 3.724 GB, free: 44.29 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=85): time 4.809e-06/8.589, allocations: 0 / 3.724 GB, free: 44.29 MB / 0.6823 GB Notification: Performance of matching and sorting (n=85): time 0.003343/8.592, allocations: 1.094 MB / 3.725 GB, free: 43.19 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.387e-05/8.592, allocations: 149.1 kB / 3.725 GB, free: 43.01 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001465/8.594, allocations: 0.7382 MB / 3.726 GB, free: 42.26 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002028/8.594, allocations: 29.7 kB / 3.726 GB, free: 42.22 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004357/8.594, allocations: 380.3 kB / 3.726 GB, free: 41.84 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002904/8.595, allocations: 269.2 kB / 3.726 GB, free: 41.58 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.863e-05/8.595, allocations: 0 / 3.726 GB, free: 41.58 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000132/8.595, allocations: 341.9 kB / 3.727 GB, free: 41.24 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006266/8.595, allocations: 389.9 kB / 3.727 GB, free: 40.86 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007876/8.596, allocations: 0.6052 MB / 3.728 GB, free: 40.18 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00172/8.598, allocations: 0.5708 MB / 3.728 GB, free: 39.61 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.597e-06/8.598, allocations: 0 / 3.728 GB, free: 39.61 MB / 0.6823 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002974/8.601, allocations: 1.243 MB / 3.729 GB, free: 38.36 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000401/8.601, allocations: 1.137 MB / 3.73 GB, free: 37.13 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.888e-05/8.601, allocations: 4 kB / 3.73 GB, free: 37.12 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.528e-05/8.602, allocations: 8 kB / 3.73 GB, free: 37.12 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001499/8.603, allocations: 279.6 kB / 3.731 GB, free: 36.84 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.589e-05/8.603, allocations: 11.98 kB / 3.731 GB, free: 36.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002014/8.605, allocations: 195 kB / 3.731 GB, free: 36.64 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001905/8.605, allocations: 55.95 kB / 3.731 GB, free: 36.59 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/8.605, allocations: 4 kB / 3.731 GB, free: 36.58 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002472/8.608, allocations: 1.086 MB / 3.732 GB, free: 35.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/8.608, allocations: 4 kB / 3.732 GB, free: 35.49 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/8.608, allocations: 4 kB / 3.732 GB, free: 35.49 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001339/8.609, allocations: 284 kB / 3.732 GB, free: 35.21 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.958e-05/8.609, allocations: 11.98 kB / 3.732 GB, free: 35.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001841/8.611, allocations: 175.1 kB / 3.732 GB, free: 35.03 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001562/8.611, allocations: 47.97 kB / 3.732 GB, free: 34.98 MB / 0.6823 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.000392/8.612, allocations: 201.5 kB / 3.733 GB, free: 34.77 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000435/8.612, allocations: 122.5 kB / 3.733 GB, free: 34.64 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003219/8.615, allocations: 1.255 MB / 3.734 GB, free: 33.38 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.019e-05/8.615, allocations: 8.094 kB / 3.734 GB, free: 33.38 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/8.615, allocations: 3.984 kB / 3.734 GB, free: 33.37 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.247e-05/8.615, allocations: 11.98 kB / 3.734 GB, free: 33.36 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005862/8.621, allocations: 2.68 MB / 3.737 GB, free: 30.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.148e-05/8.621, allocations: 4 kB / 3.737 GB, free: 30.61 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001101/8.622, allocations: 212.1 kB / 3.737 GB, free: 30.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-05/8.622, allocations: 8 kB / 3.737 GB, free: 30.39 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.853e-05/8.623, allocations: 23.97 kB / 3.737 GB, free: 30.37 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.167e-05/8.623, allocations: 15.94 kB / 3.737 GB, free: 30.36 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/8.623, allocations: 4 kB / 3.737 GB, free: 30.35 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00358/8.626, allocations: 2.097 MB / 3.739 GB, free: 28.12 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009181/8.627, allocations: 357 kB / 3.739 GB, free: 27.76 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003916/8.627, allocations: 8 kB / 3.739 GB, free: 27.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00161/8.629, allocations: 131.9 kB / 3.739 GB, free: 27.62 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/8.629, allocations: 64.42 kB / 3.739 GB, free: 27.56 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001392/8.629, allocations: 48.75 kB / 3.74 GB, free: 27.51 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.001177/8.631, allocations: 0.5576 MB / 3.74 GB, free: 26.95 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004557/8.635, allocations: 0.9396 MB / 3.741 GB, free: 26 MB / 0.6823 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.005829/8.641, allocations: 2.447 MB / 3.743 GB, free: 23.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003351/8.644, allocations: 1.673 MB / 3.745 GB, free: 21.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/8.644, allocations: 0 / 3.745 GB, free: 21.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009316/8.645, allocations: 0.6074 MB / 3.746 GB, free: 21.18 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002973/8.648, allocations: 415.6 kB / 3.746 GB, free: 20.78 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005923/8.654, allocations: 1.818 MB / 3.748 GB, free: 18.89 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00159/8.656, allocations: 1.317 MB / 3.749 GB, free: 17.54 MB / 0.6823 GB Notification: Performance of SimCode: time 1.302e-06/8.656, allocations: 0 / 3.749 GB, free: 17.54 MB / 0.6823 GB Notification: Performance of Templates: time 0.5633/9.219, allocations: 40.18 MB / 3.788 GB, free: 146.8 MB / 0.698 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1)