Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTUMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTUMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTUMassFlow") [: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/Buildings 3.0.0/package.mo): time 0.7416/0.7416, allocations: 132.4 MB / 139.7 MB, free: 15.55 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001114/0.001114, allocations: 171.2 kB / 171.6 MB, free: 2.031 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.485/1.485, allocations: 170.5 MB / 373.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001548/0.001549, allocations: 111.9 kB / 444.4 MB, free: 9.359 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.5609/0.561, allocations: 73.4 MB / 0.666 GB, free: 62.38 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.791/6.352, allocations: 2.404 GB / 3.07 GB, free: 29.31 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002706/6.352, allocations: 83.95 kB / 3.07 GB, free: 29.23 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.862/10.21, allocations: 0.8687 GB / 3.939 GB, free: 75.73 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0003254/10.21, allocations: 37.19 kB / 3.939 GB, free: 75.72 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 280 * Number of variables: 280 Notification: Performance of Generate backend data structure: time 0.009337/10.22, allocations: 2.014 MB / 3.941 GB, free: 74.6 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.023e-05/10.22, allocations: 12.03 kB / 3.941 GB, free: 74.6 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00362/10.23, allocations: 451.2 kB / 3.941 GB, free: 74.52 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004322/10.23, allocations: 1.124 MB / 3.942 GB, free: 74.16 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/10.23, allocations: 36.38 kB / 3.942 GB, free: 74.16 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005854/10.23, allocations: 71.06 kB / 3.942 GB, free: 74.16 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002937/10.24, allocations: 0.9956 MB / 3.943 GB, free: 74.15 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003323/10.24, allocations: 1.231 MB / 3.945 GB, free: 73.89 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.752e-05/10.24, allocations: 0 / 3.945 GB, free: 73.89 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002478/10.24, allocations: 6.781 kB / 3.945 GB, free: 73.89 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.191e-05/10.24, allocations: 50.5 kB / 3.945 GB, free: 73.89 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01111/10.25, allocations: 5.67 MB / 3.95 GB, free: 70.73 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00124/10.25, allocations: 0.6768 MB / 3.951 GB, free: 70.7 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007262/10.25, allocations: 432.2 kB / 3.951 GB, free: 70.7 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008136/10.25, allocations: 347.9 kB / 3.952 GB, free: 70.41 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001021/10.25, allocations: 0.6687 MB / 3.952 GB, free: 70.21 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=85): time 5.801e-06/10.25, allocations: 4.047 kB / 3.952 GB, free: 70.21 MB / 0.6355 GB Notification: Performance of matching and sorting (n=85): time 0.003577/10.26, allocations: 1.105 MB / 3.953 GB, free: 70.1 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001878/10.26, allocations: 432.9 kB / 3.954 GB, free: 69.6 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001637/10.26, allocations: 0.7393 MB / 3.955 GB, free: 69.45 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.000227/10.26, allocations: 29.61 kB / 3.955 GB, free: 69.41 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006893/10.26, allocations: 481.9 kB / 3.955 GB, free: 69.14 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.000358/10.26, allocations: 268.8 kB / 3.955 GB, free: 68.96 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.362e-05/10.26, allocations: 0 / 3.955 GB, free: 68.96 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001304/10.26, allocations: 350.9 kB / 3.956 GB, free: 68.66 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007339/10.26, allocations: 412.6 kB / 3.956 GB, free: 68.65 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001065/10.26, allocations: 0.7493 MB / 3.957 GB, free: 68.3 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001836/10.27, allocations: 0.6076 MB / 3.957 GB, free: 68.29 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.324e-05/10.27, allocations: 3.5 kB / 3.957 GB, free: 68.29 MB / 0.6355 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003341/10.27, allocations: 1.333 MB / 3.959 GB, free: 68.17 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.000752/10.27, allocations: 2.268 MB / 3.961 GB, free: 65.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.639e-05/10.27, allocations: 7.188 kB / 3.961 GB, free: 65.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.3e-05/10.27, allocations: 10.56 kB / 3.961 GB, free: 65.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001453/10.27, allocations: 288.9 kB / 3.961 GB, free: 65.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.45e-05/10.27, allocations: 16.25 kB / 3.961 GB, free: 65.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002196/10.27, allocations: 189.4 kB / 3.961 GB, free: 65.75 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002058/10.27, allocations: 56.88 kB / 3.961 GB, free: 65.75 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/10.27, allocations: 7.406 kB / 3.961 GB, free: 65.75 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00283/10.28, allocations: 1.154 MB / 3.963 GB, free: 65.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.771e-05/10.28, allocations: 14.41 kB / 3.963 GB, free: 65.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/10.28, allocations: 11.75 kB / 3.963 GB, free: 65.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001294/10.28, allocations: 264.2 kB / 3.963 GB, free: 65.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.462e-05/10.28, allocations: 14.08 kB / 3.963 GB, free: 65.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001952/10.28, allocations: 160.5 kB / 3.963 GB, free: 65.64 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001739/10.28, allocations: 55.92 kB / 3.963 GB, free: 65.64 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,$PRE.mWatGai.nextEvent,mWatGai.nextEvent,mAirGai.a,mAirGai.b,mAirGai.last,$PRE.mAirGai.nextEvent,mAirGai.nextEvent,hex.flowRegime,x_pTphi.i_w,x_pTphi.i_nw,x_pTphi.found,hex.flowRegime_nominal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 1 * 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.0005681/10.28, allocations: 240.7 kB / 3.963 GB, free: 65.43 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005377/10.28, allocations: 118.8 kB / 3.963 GB, free: 65.37 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003317/10.28, allocations: 1.201 MB / 3.965 GB, free: 65.29 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.456e-05/10.28, allocations: 5.781 kB / 3.965 GB, free: 65.29 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/10.28, allocations: 3.188 kB / 3.965 GB, free: 65.29 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.576e-05/10.28, allocations: 6.844 kB / 3.965 GB, free: 65.29 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005771/10.29, allocations: 2.534 MB / 3.967 GB, free: 64.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.601e-05/10.29, allocations: 3.688 kB / 3.967 GB, free: 64.61 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001119/10.29, allocations: 196.5 kB / 3.967 GB, free: 64.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.449e-05/10.29, allocations: 6.75 kB / 3.967 GB, free: 64.6 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001038/10.29, allocations: 23.64 kB / 3.967 GB, free: 64.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-05/10.29, allocations: 11.25 kB / 3.967 GB, free: 64.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/10.29, allocations: 7.906 kB / 3.967 GB, free: 64.59 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00388/10.3, allocations: 2.006 MB / 3.969 GB, free: 64.1 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00116/10.3, allocations: 338.6 kB / 3.97 GB, free: 63.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005145/10.3, allocations: 14.09 kB / 3.97 GB, free: 63.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001756/10.3, allocations: 124.1 kB / 3.97 GB, free: 63.93 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001804/10.3, allocations: 56.5 kB / 3.97 GB, free: 63.92 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001479/10.3, allocations: 46.06 kB / 3.97 GB, free: 63.92 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.001294/10.3, allocations: 0.5448 MB / 3.97 GB, free: 63.81 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.005232/10.31, allocations: 0.985 MB / 3.971 GB, free: 63.66 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 1 (senRelHum.phi) * Number of discrete variables: 11 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,mWatGai.nextEvent,mAirGai.a,mAirGai.b,mAirGai.last,mAirGai.nextEvent,hex.flowRegime) * Number of discrete states: 10 (mWatGai.last,mWatGai.nextEvent,mWatGai.b,mWatGai.a,$whenCondition2,mAirGai.last,mAirGai.nextEvent,mAirGai.b,mAirGai.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 1 * 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.006158/10.31, allocations: 2.43 MB / 3.974 GB, free: 63 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00428/10.32, allocations: 1.911 MB / 3.975 GB, free: 62.62 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.31e-05/10.32, allocations: 2.406 kB / 3.975 GB, free: 62.62 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001072/10.32, allocations: 0.6184 MB / 3.976 GB, free: 62.47 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003343/10.32, allocations: 426.7 kB / 3.977 GB, free: 62.45 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007274/10.33, allocations: 1.803 MB / 3.978 GB, free: 61.93 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002341/10.33, allocations: 1.338 MB / 3.98 GB, free: 61.21 MB / 0.6355 GB Notification: Performance of SimCode: time 1.282e-06/10.33, allocations: 0 / 3.98 GB, free: 61.21 MB / 0.6355 GB Notification: Performance of Templates: time 0.08434/10.41, allocations: 41.09 MB / 4.02 GB, free: 37.36 MB / 0.6355 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTUMassFlow.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTUMassFlow.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTUMassFlow.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTUMassFlow.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTUMassFlow.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTUMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTUMassFlow.pipe 2>&1)