Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTUPControl.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.DryEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTUPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTUPControl") [: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.7492/0.7492, allocations: 132.4 MB / 139.7 MB, free: 15.59 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.001217/0.001217, allocations: 167.5 kB / 171.6 MB, free: 2 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.455/1.455, allocations: 170.5 MB / 373.9 MB, free: 15.88 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.001773/0.001772, allocations: 111.1 kB / 444.4 MB, free: 9.422 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.5476/0.5476, allocations: 73.39 MB / 0.666 GB, free: 62.45 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.705/6.252, allocations: 2.409 GB / 3.075 GB, free: 6.465 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002927/6.253, allocations: 91.41 kB / 3.075 GB, free: 6.379 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.89/10.14, allocations: 0.8967 GB / 3.972 GB, free: 68.22 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0004531/10.14, allocations: 48.23 kB / 3.972 GB, free: 68.21 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: 303 * Number of variables: 303 Notification: Performance of Generate backend data structure: time 0.01177/10.16, allocations: 2.176 MB / 3.974 GB, free: 66.63 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.485e-05/10.16, allocations: 9.281 kB / 3.974 GB, free: 66.63 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004151/10.16, allocations: 468.7 kB / 3.974 GB, free: 66.42 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005705/10.17, allocations: 1.33 MB / 3.975 GB, free: 65.43 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001516/10.17, allocations: 41.72 kB / 3.975 GB, free: 65.43 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007345/10.17, allocations: 77.69 kB / 3.976 GB, free: 65.43 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003677/10.17, allocations: 1.045 MB / 3.977 GB, free: 64.95 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003798/10.17, allocations: 1.308 MB / 3.978 GB, free: 64.09 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.205e-05/10.17, allocations: 3.938 kB / 3.978 GB, free: 64.08 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003035/10.17, allocations: 8.391 kB / 3.978 GB, free: 64.08 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.682e-05/10.17, allocations: 48.94 kB / 3.978 GB, free: 64.07 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01402/10.19, allocations: 6.087 MB / 3.984 GB, free: 58.72 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001182/10.19, allocations: 0.6693 MB / 3.985 GB, free: 58.05 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005268/10.19, allocations: 334.7 kB / 3.985 GB, free: 57.72 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007008/10.19, allocations: 343.8 kB / 3.985 GB, free: 57.33 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008658/10.19, allocations: 0.5518 MB / 3.986 GB, free: 56.72 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=69): time 5.35e-06/10.19, allocations: 3.938 kB / 3.986 GB, free: 56.71 MB / 0.6355 GB Notification: Performance of matching and sorting (n=69): time 0.003262/10.19, allocations: 0.9158 MB / 3.987 GB, free: 55.79 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002126/10.2, allocations: 0.5975 MB / 3.987 GB, free: 55.05 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002345/10.2, allocations: 0.9704 MB / 3.988 GB, free: 54.07 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0003301/10.2, allocations: 29.7 kB / 3.988 GB, free: 54.04 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008749/10.2, allocations: 0.57 MB / 3.989 GB, free: 53.46 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003104/10.2, allocations: 228.5 kB / 3.989 GB, free: 53.23 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/10.2, allocations: 4 kB / 3.989 GB, free: 53.23 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001239/10.2, allocations: 349.9 kB / 3.989 GB, free: 52.88 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007328/10.2, allocations: 406.5 kB / 3.99 GB, free: 52.48 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001187/10.2, allocations: 0.8797 MB / 3.991 GB, free: 51.41 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001486/10.2, allocations: 0.541 MB / 3.991 GB, free: 50.88 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.334e-05/10.2, allocations: 8 kB / 3.991 GB, free: 50.87 MB / 0.6355 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.003232/10.21, allocations: 1.286 MB / 3.992 GB, free: 49.58 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009604/10.21, allocations: 3.172 MB / 3.995 GB, free: 46.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-05/10.21, allocations: 15.98 kB / 3.995 GB, free: 46.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.154e-05/10.21, allocations: 20 kB / 3.995 GB, free: 46.14 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004658/10.21, allocations: 0.8077 MB / 3.996 GB, free: 45.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001838/10.21, allocations: 1.426 MB / 3.998 GB, free: 43.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002888/10.22, allocations: 214.7 kB / 3.998 GB, free: 43.65 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003241/10.22, allocations: 59.97 kB / 3.998 GB, free: 43.59 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/10.22, allocations: 4 kB / 3.998 GB, free: 43.59 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002623/10.22, allocations: 1.091 MB / 3.999 GB, free: 42.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.113e-05/10.22, allocations: 12 kB / 3.999 GB, free: 42.49 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.105e-05/10.22, allocations: 16 kB / 3.999 GB, free: 42.47 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00155/10.22, allocations: 339.9 kB / 3.999 GB, free: 42.14 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.546e-05/10.22, allocations: 12 kB / 3.999 GB, free: 42.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002395/10.22, allocations: 178.9 kB / 3.999 GB, free: 41.95 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002124/10.22, allocations: 55.98 kB / 4 GB, free: 41.9 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,hex.flowRegime,hex.flowRegime_nominal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 141 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 2 * 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.0005372/10.22, allocations: 160 kB / 4 GB, free: 41.74 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006684/10.23, allocations: 134.3 kB / 4 GB, free: 41.61 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002501/10.23, allocations: 0.9346 MB / 4.001 GB, free: 40.66 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-05/10.23, allocations: 8 kB / 4.001 GB, free: 40.65 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/10.23, allocations: 7.938 kB / 4.001 GB, free: 40.64 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/10.23, allocations: 3.984 kB / 4.001 GB, free: 40.64 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006908/10.23, allocations: 2.787 MB / 4.003 GB, free: 37.69 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-05/10.23, allocations: 4 kB / 4.003 GB, free: 37.68 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003755/10.24, allocations: 0.6595 MB / 4.004 GB, free: 37.02 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.303e-05/10.24, allocations: 4 kB / 4.004 GB, free: 37.02 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001011/10.24, allocations: 15.98 kB / 4.004 GB, free: 37 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003863/10.24, allocations: 2.941 MB / 4.007 GB, free: 33.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.655e-06/10.24, allocations: 4 kB / 4.007 GB, free: 33.84 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003178/10.25, allocations: 1.643 MB / 4.009 GB, free: 32.06 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001274/10.25, allocations: 339 kB / 4.009 GB, free: 31.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006771/10.25, allocations: 4 kB / 4.009 GB, free: 31.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001841/10.25, allocations: 119.8 kB / 4.009 GB, free: 31.59 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002058/10.25, allocations: 52.52 kB / 4.009 GB, free: 31.54 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.062e-05/10.25, allocations: 27.98 kB / 4.009 GB, free: 31.51 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.00156/10.25, allocations: 0.7024 MB / 4.01 GB, free: 30.81 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.006073/10.26, allocations: 1.061 MB / 4.011 GB, free: 29.75 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 4 (temSen.T,val.filter.x[1],val.filter.x[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 (74): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.005544/10.26, allocations: 2.323 MB / 4.013 GB, free: 27.4 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.009224/10.27, allocations: 2.526 MB / 4.016 GB, free: 24.84 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.387e-05/10.27, allocations: 7.938 kB / 4.016 GB, free: 24.84 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.007497/10.28, allocations: 1.489 MB / 4.017 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003789/10.28, allocations: 484.3 kB / 4.018 GB, free: 22.86 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007537/10.29, allocations: 2.092 MB / 4.02 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002034/10.29, allocations: 1.425 MB / 4.021 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of SimCode: time 1.934e-06/10.29, allocations: 4 kB / 4.021 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of Templates: time 0.5616/10.86, allocations: 43.54 MB / 4.063 GB, free: 137.8 MB / 0.6511 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTUPControl.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTUPControl.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTUPControl.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTUPControl.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTUPControl.pipe 2>&1)