Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.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.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") translateModel(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") [: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.002022/0.002022, allocations: 174.9 kB / 7.459 MB, free: 2.324 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5996/0.5996, allocations: 133.5 MB / 141.4 MB, free: 15.73 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.117/1.117, allocations: 221.3 MB / 395 MB, free: 10.19 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.0008465/0.0008465, allocations: 91.53 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.211e-06/6.231e-06, allocations: 0 / 0.5528 GB, free: 89.13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1023, allocations: 82.31 MB / 0.6332 GB, free: 14.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.877/2.98, allocations: 2.148 GB / 2.781 GB, free: 76.87 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002191/2.98, allocations: 95.81 kB / 2.781 GB, free: 76.78 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.742/5.722, allocations: 0.9548 GB / 3.736 GB, free: 85.79 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001942/5.722, allocations: 44.62 kB / 3.736 GB, free: 85.78 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.005619/5.728, allocations: 2.119 MB / 3.738 GB, free: 84.85 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/5.728, allocations: 10.5 kB / 3.738 GB, free: 84.84 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003124/5.731, allocations: 0.5766 MB / 3.739 GB, free: 84.75 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003494/5.734, allocations: 1.383 MB / 3.74 GB, free: 84.37 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006086/5.735, allocations: 189.8 kB / 3.74 GB, free: 84.36 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003535/5.735, allocations: 66.31 kB / 3.741 GB, free: 84.36 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001828/5.737, allocations: 0.9725 MB / 3.741 GB, free: 84.36 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001734/5.739, allocations: 1.08 MB / 3.743 GB, free: 84.21 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.517e-05/5.739, allocations: 5.719 kB / 3.743 GB, free: 84.21 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001131/5.739, allocations: 3.594 kB / 3.743 GB, free: 84.21 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-05/5.739, allocations: 50.09 kB / 3.743 GB, free: 84.21 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007582/5.747, allocations: 5.264 MB / 3.748 GB, free: 82.21 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001057/5.748, allocations: 0.7858 MB / 3.748 GB, free: 82.17 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004828/5.748, allocations: 425.2 kB / 3.749 GB, free: 82.16 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000831/5.749, allocations: 0.8359 MB / 3.75 GB, free: 81.32 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006062/5.75, allocations: 0.4978 MB / 3.75 GB, free: 81.26 MB / 0.698 GB Notification: Performance of pre-optimization done (n=83): time 2.866e-06/5.75, allocations: 0 / 3.75 GB, free: 81.26 MB / 0.698 GB Notification: Performance of matching and sorting (n=83): time 0.002091/5.752, allocations: 1.015 MB / 3.751 GB, free: 81.14 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/5.752, allocations: 117.3 kB / 3.751 GB, free: 81.01 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008801/5.753, allocations: 0.9043 MB / 3.752 GB, free: 80.85 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.822e-05/5.753, allocations: 29.3 kB / 3.752 GB, free: 80.82 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002188/5.753, allocations: 445.9 kB / 3.753 GB, free: 80.57 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001688/5.753, allocations: 272.2 kB / 3.753 GB, free: 80.39 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.985e-05/5.753, allocations: 3.125 kB / 3.753 GB, free: 80.39 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.523e-05/5.753, allocations: 351.1 kB / 3.753 GB, free: 80.09 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005116/5.754, allocations: 390.9 kB / 3.754 GB, free: 80.08 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006477/5.755, allocations: 0.6839 MB / 3.754 GB, free: 79.77 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009407/5.756, allocations: 0.5219 MB / 3.755 GB, free: 79.75 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.788e-06/5.756, allocations: 3.938 kB / 3.755 GB, free: 79.75 MB / 0.698 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.001946/5.757, allocations: 1.22 MB / 3.756 GB, free: 79.63 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003204/5.758, allocations: 2.031 MB / 3.758 GB, free: 77.54 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/5.758, allocations: 9.594 kB / 3.758 GB, free: 77.54 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/5.758, allocations: 10.69 kB / 3.758 GB, free: 77.54 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001738/5.76, allocations: 361.7 kB / 3.758 GB, free: 77.54 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005018/5.76, allocations: 1.215 MB / 3.76 GB, free: 76.37 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/5.762, allocations: 204.6 kB / 3.76 GB, free: 76.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001164/5.762, allocations: 62.05 kB / 3.76 GB, free: 76.32 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.799e-06/5.762, allocations: 2.062 kB / 3.76 GB, free: 76.32 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001748/5.764, allocations: 1.046 MB / 3.761 GB, free: 76.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/5.764, allocations: 9.5 kB / 3.761 GB, free: 76.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/5.764, allocations: 11.53 kB / 3.761 GB, free: 76.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00148/5.765, allocations: 349.4 kB / 3.761 GB, free: 76.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/5.765, allocations: 15.58 kB / 3.761 GB, free: 76.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001367/5.766, allocations: 196.2 kB / 3.761 GB, free: 76.25 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/5.767, allocations: 61.67 kB / 3.761 GB, free: 76.25 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,hex.flowRegime,hex.flowRegime_nominal,P.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 130 * 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.0002121/5.767, allocations: 136.6 kB / 3.762 GB, free: 76.14 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001842/5.767, allocations: 141.1 kB / 3.762 GB, free: 76.07 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002084/5.769, allocations: 1.151 MB / 3.763 GB, free: 76 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.318e-06/5.769, allocations: 7.75 kB / 3.763 GB, free: 76 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.575e-06/5.769, allocations: 3.188 kB / 3.763 GB, free: 76 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.154e-05/5.769, allocations: 9.672 kB / 3.763 GB, free: 75.99 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003544/5.773, allocations: 2.579 MB / 3.765 GB, free: 75.54 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/5.773, allocations: 1.188 kB / 3.765 GB, free: 75.54 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001182/5.774, allocations: 254.5 kB / 3.766 GB, free: 75.54 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.926e-06/5.774, allocations: 11.53 kB / 3.766 GB, free: 75.54 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.159e-05/5.774, allocations: 23.77 kB / 3.766 GB, free: 75.54 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000325/5.774, allocations: 1.195 MB / 3.767 GB, free: 74.38 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/5.774, allocations: 6.094 kB / 3.767 GB, free: 74.38 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002246/5.777, allocations: 1.992 MB / 3.769 GB, free: 73.71 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004338/5.777, allocations: 357.3 kB / 3.769 GB, free: 73.54 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002034/5.777, allocations: 7.625 kB / 3.769 GB, free: 73.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00122/5.778, allocations: 150.7 kB / 3.769 GB, free: 73.52 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/5.779, allocations: 69.25 kB / 3.769 GB, free: 73.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-05/5.779, allocations: 36.89 kB / 3.769 GB, free: 73.52 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.0006543/5.779, allocations: 0.6705 MB / 3.77 GB, free: 73.41 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002322/5.782, allocations: 0.9398 MB / 3.771 GB, free: 73.27 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (temSen.T,val.filter.s[1],val.filter.s[2],P.I.y) * Number of discrete variables: 4 ($whenCondition1,TSet.T_start,TSet.count,hex.flowRegime) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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.002434/5.784, allocations: 2.297 MB / 3.773 GB, free: 72.66 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002507/5.787, allocations: 1.687 MB / 3.775 GB, free: 72.57 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/5.787, allocations: 3.938 kB / 3.775 GB, free: 72.57 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007683/5.787, allocations: 0.5272 MB / 3.775 GB, free: 72.57 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002173/5.79, allocations: 496.2 kB / 3.776 GB, free: 72.56 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003855/5.793, allocations: 2.087 MB / 3.778 GB, free: 71.94 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009651/5.794, allocations: 1.397 MB / 3.779 GB, free: 71.22 MB / 0.698 GB Notification: Performance of SimCode: time 6.51e-07/5.794, allocations: 2.656 kB / 3.779 GB, free: 71.22 MB / 0.698 GB Notification: Performance of Templates: time 0.05618/5.851, allocations: 42.32 MB / 3.82 GB, free: 68.88 MB / 0.698 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1)