Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") translateModel(BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.7771/0.7771, allocations: 141.8 MB / 149.1 MB, free: 13.36 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 192.2 kB / 181.9 MB, free: 10.05 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 221.3 MB / 436 MB, free: 2.543 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 101.1 kB / 0.507 GB, free: 17.71 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001929/0.001929, allocations: 276.5 kB / 0.5884 GB, free: 4.039 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 1.03e-05/1.033e-05, allocations: 1.75 kB / 0.6759 GB, free: 136.7 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1807/0.1807, allocations: 82.77 MB / 0.7567 GB, free: 83.65 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.465/4.646, allocations: 2.145 GB / 2.902 GB, free: 69 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002108/4.646, allocations: 88.08 kB / 2.902 GB, free: 68.96 MB / 0.6982 GB Notification: Performance of FrontEnd: time 4.105/8.751, allocations: 0.955 GB / 3.857 GB, free: 99.14 MB / 0.7295 GB Notification: Performance of Transformations before backend: time 0.0003321/8.751, allocations: 48.95 kB / 3.857 GB, free: 99.14 MB / 0.7295 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.008549/8.76, allocations: 2.114 MB / 3.859 GB, free: 98.23 MB / 0.7295 GB Notification: Performance of prepare preOptimizeDAE: time 5.723e-05/8.76, allocations: 8.594 kB / 3.859 GB, free: 98.23 MB / 0.7295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003952/8.764, allocations: 0.5824 MB / 3.86 GB, free: 98.14 MB / 0.7295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005319/8.769, allocations: 1.373 MB / 3.861 GB, free: 97.82 MB / 0.7295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006927/8.77, allocations: 193 kB / 3.861 GB, free: 97.82 MB / 0.7295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005815/8.771, allocations: 72.5 kB / 3.862 GB, free: 97.82 MB / 0.7295 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002475/8.773, allocations: 0.9668 MB / 3.862 GB, free: 97.82 MB / 0.7295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002453/8.776, allocations: 1.092 MB / 3.864 GB, free: 97.68 MB / 0.7295 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.999e-05/8.776, allocations: 0 / 3.864 GB, free: 97.68 MB / 0.7295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001455/8.776, allocations: 2.219 kB / 3.864 GB, free: 97.68 MB / 0.7295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.029e-05/8.776, allocations: 49.53 kB / 3.864 GB, free: 97.67 MB / 0.7295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01119/8.787, allocations: 5.259 MB / 3.869 GB, free: 95.7 MB / 0.7295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001374/8.789, allocations: 0.7865 MB / 3.869 GB, free: 95.66 MB / 0.7295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006621/8.789, allocations: 424.4 kB / 3.87 GB, free: 95.65 MB / 0.7295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001078/8.79, allocations: 0.8416 MB / 3.871 GB, free: 94.81 MB / 0.7295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00081/8.791, allocations: 0.4935 MB / 3.871 GB, free: 94.75 MB / 0.7295 GB Notification: Performance of pre-optimization done (n=83): time 4.588e-06/8.791, allocations: 7.344 kB / 3.871 GB, free: 94.75 MB / 0.7295 GB Notification: Performance of matching and sorting (n=83): time 0.003008/8.794, allocations: 1.006 MB / 3.872 GB, free: 94.63 MB / 0.7295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.608e-05/8.794, allocations: 115.8 kB / 3.872 GB, free: 94.5 MB / 0.7295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001899/8.796, allocations: 0.9012 MB / 3.873 GB, free: 94.34 MB / 0.7295 GB Notification: Performance of collectPreVariables (initialization): time 0.0002279/8.797, allocations: 29.3 kB / 3.873 GB, free: 94.31 MB / 0.7295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005549/8.797, allocations: 447.1 kB / 3.874 GB, free: 94.06 MB / 0.7295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003129/8.797, allocations: 274.5 kB / 3.874 GB, free: 93.89 MB / 0.7295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.406e-05/8.798, allocations: 2.844 kB / 3.874 GB, free: 93.89 MB / 0.7295 GB Notification: Performance of setup shared object (initialization): time 0.0001069/8.798, allocations: 349.4 kB / 3.874 GB, free: 93.58 MB / 0.7295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007041/8.798, allocations: 388 kB / 3.875 GB, free: 93.58 MB / 0.7295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008824/8.799, allocations: 0.6938 MB / 3.875 GB, free: 93.26 MB / 0.7295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001303/8.801, allocations: 0.5148 MB / 3.876 GB, free: 93.25 MB / 0.7295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-06/8.801, allocations: 0 / 3.876 GB, free: 93.25 MB / 0.7295 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.002854/8.803, allocations: 1.23 MB / 3.877 GB, free: 93.12 MB / 0.7295 GB Notification: Performance of prepare postOptimizeDAE: time 0.000481/8.804, allocations: 2.026 MB / 3.879 GB, free: 91.03 MB / 0.7295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.015e-05/8.804, allocations: 6.188 kB / 3.879 GB, free: 91.03 MB / 0.7295 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.196e-05/8.804, allocations: 11.62 kB / 3.879 GB, free: 91.03 MB / 0.7295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001991/8.806, allocations: 370.8 kB / 3.879 GB, free: 91.03 MB / 0.7295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007275/8.807, allocations: 1.212 MB / 3.881 GB, free: 89.86 MB / 0.7295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002096/8.809, allocations: 204.2 kB / 3.881 GB, free: 89.82 MB / 0.7295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000206/8.809, allocations: 61.53 kB / 3.881 GB, free: 89.82 MB / 0.7295 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/8.809, allocations: 6.844 kB / 3.881 GB, free: 89.82 MB / 0.7295 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002232/8.811, allocations: 1.044 MB / 3.882 GB, free: 89.8 MB / 0.7295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/8.811, allocations: 6.938 kB / 3.882 GB, free: 89.8 MB / 0.7295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/8.811, allocations: 11.03 kB / 3.882 GB, free: 89.8 MB / 0.7295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001581/8.813, allocations: 346.1 kB / 3.882 GB, free: 89.8 MB / 0.7295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.168e-05/8.813, allocations: 17.12 kB / 3.882 GB, free: 89.79 MB / 0.7295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001957/8.815, allocations: 194.9 kB / 3.882 GB, free: 89.75 MB / 0.7295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001714/8.815, allocations: 58.39 kB / 3.882 GB, free: 89.75 MB / 0.7295 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.0003721/8.816, allocations: 130.5 kB / 3.883 GB, free: 89.64 MB / 0.7295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004872/8.816, allocations: 147.4 kB / 3.883 GB, free: 89.57 MB / 0.7295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002849/8.819, allocations: 1.15 MB / 3.884 GB, free: 89.5 MB / 0.7295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.801e-05/8.819, allocations: 13.97 kB / 3.884 GB, free: 89.5 MB / 0.7295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/8.819, allocations: 0 / 3.884 GB, free: 89.5 MB / 0.7295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.295e-05/8.819, allocations: 5.438 kB / 3.884 GB, free: 89.5 MB / 0.7295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005602/8.825, allocations: 2.572 MB / 3.886 GB, free: 89.05 MB / 0.7295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.356e-06/8.825, allocations: 3.938 kB / 3.886 GB, free: 89.05 MB / 0.7295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001337/8.826, allocations: 263 kB / 3.887 GB, free: 89.05 MB / 0.7295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-05/8.826, allocations: 6.875 kB / 3.887 GB, free: 89.05 MB / 0.7295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.409e-05/8.826, allocations: 22.25 kB / 3.887 GB, free: 89.05 MB / 0.7295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004928/8.827, allocations: 1.208 MB / 3.888 GB, free: 87.88 MB / 0.7295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/8.827, allocations: 6.844 kB / 3.888 GB, free: 87.88 MB / 0.7295 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003437/8.83, allocations: 1.99 MB / 3.89 GB, free: 87.21 MB / 0.7295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001041/8.831, allocations: 358.4 kB / 3.89 GB, free: 87.03 MB / 0.7295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004897/8.832, allocations: 6.5 kB / 3.89 GB, free: 87.03 MB / 0.7295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001784/8.833, allocations: 139.4 kB / 3.89 GB, free: 87.03 MB / 0.7295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001765/8.834, allocations: 73.59 kB / 3.89 GB, free: 87.02 MB / 0.7295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000124/8.834, allocations: 39.02 kB / 3.89 GB, free: 87.02 MB / 0.7295 GB Notification: Performance of sort global known variables: time 0.001348/8.835, allocations: 0.6718 MB / 3.891 GB, free: 86.91 MB / 0.7295 GB Notification: Performance of remove unused functions: time 0.00429/8.839, allocations: 0.9406 MB / 3.892 GB, free: 86.77 MB / 0.7295 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.004614/8.844, allocations: 2.301 MB / 3.894 GB, free: 86.18 MB / 0.7295 GB Notification: Performance of simCode: created initialization part: time 0.004136/8.848, allocations: 1.68 MB / 3.896 GB, free: 86.09 MB / 0.7295 GB Notification: Performance of simCode: created event and clocks part: time 1.105e-05/8.848, allocations: 3.469 kB / 3.896 GB, free: 86.09 MB / 0.7295 GB Notification: Performance of simCode: created simulation system equations: time 0.001182/8.849, allocations: 0.5275 MB / 3.896 GB, free: 86.09 MB / 0.7295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003325/8.853, allocations: 0.4898 MB / 3.897 GB, free: 86.07 MB / 0.7295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006471/8.859, allocations: 2.091 MB / 3.899 GB, free: 85.45 MB / 0.7295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001692/8.861, allocations: 1.407 MB / 3.9 GB, free: 84.73 MB / 0.7295 GB Notification: Performance of SimCode: time 1.283e-06/8.861, allocations: 0 / 3.9 GB, free: 84.73 MB / 0.7295 GB Notification: Performance of Templates: time 0.07968/8.941, allocations: 42.38 MB / 3.942 GB, free: 82.82 MB / 0.7295 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1)