Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTU.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.DryEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTU") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTU") [: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.7807/0.7807, allocations: 132.4 MB / 139.7 MB, free: 15.6 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.001276/0.001276, allocations: 164.3 kB / 171.6 MB, free: 2.004 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.618/1.618, allocations: 170.5 MB / 373.9 MB, free: 15.85 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.001966/0.001966, allocations: 132.7 kB / 444.5 MB, free: 9.398 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.6112/0.6113, allocations: 73.39 MB / 0.666 GB, free: 62.57 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.891/6.503, allocations: 2.398 GB / 3.064 GB, free: 36.72 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000386/6.503, allocations: 80.94 kB / 3.065 GB, free: 36.64 MB / 0.6198 GB Notification: Performance of FrontEnd: time 13.89/20.39, allocations: 3.176 GB / 6.241 GB, free: 30.53 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.001981/20.39, allocations: 122.9 kB / 6.241 GB, free: 30.5 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 883 * Number of variables: 883 Notification: Performance of Generate backend data structure: time 0.03371/20.43, allocations: 5.484 MB / 6.246 GB, free: 28.04 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/20.43, allocations: 7.125 kB / 6.246 GB, free: 28.04 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01245/20.44, allocations: 1.579 MB / 6.248 GB, free: 27.68 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0175/20.46, allocations: 3.743 MB / 6.251 GB, free: 25.82 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000389/20.46, allocations: 108 kB / 6.251 GB, free: 25.72 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002503/20.46, allocations: 227.9 kB / 6.252 GB, free: 25.5 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01143/20.47, allocations: 3.4 MB / 6.255 GB, free: 23.66 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01394/20.48, allocations: 3.891 MB / 6.259 GB, free: 20.87 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001997/20.48, allocations: 7.938 kB / 6.259 GB, free: 20.86 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00131/20.49, allocations: 8 kB / 6.259 GB, free: 20.86 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000205/20.49, allocations: 171.5 kB / 6.259 GB, free: 20.7 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04019/20.53, allocations: 19.1 MB / 6.278 GB, free: 1.367 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004626/20.53, allocations: 2.251 MB / 6.28 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002554/20.53, allocations: 1.293 MB / 6.281 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006352/20.53, allocations: 191 kB / 6.281 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003499/20.54, allocations: 1.6 MB / 6.283 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=247): time 7.403e-06/20.54, allocations: 0 / 6.283 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of matching and sorting (n=247): time 0.01138/20.55, allocations: 3.21 MB / 6.286 GB, free: 8.73 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002798/20.55, allocations: 453.2 kB / 6.286 GB, free: 8.188 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007778/20.56, allocations: 2.327 MB / 6.289 GB, free: 5.879 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.001087/20.56, allocations: 29.7 kB / 6.289 GB, free: 5.844 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.002699/20.56, allocations: 1.333 MB / 6.29 GB, free: 4.48 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.001588/20.56, allocations: 0.7927 MB / 6.291 GB, free: 3.676 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006954/20.56, allocations: 0 / 6.291 GB, free: 3.676 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0004593/20.56, allocations: 433 kB / 6.291 GB, free: 3.246 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003276/20.57, allocations: 1.303 MB / 6.292 GB, free: 1.941 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.5877/21.15, allocations: 2.414 MB / 6.295 GB, free: 104.5 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004473/21.16, allocations: 1.645 MB / 6.296 GB, free: 104.5 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.07e-05/21.16, allocations: 3.875 kB / 6.296 GB, free: 104.5 MB / 0.7761 GB Notification: Performance of matching and sorting (n=428) (initialization): time 0.00995/21.17, allocations: 3.901 MB / 6.3 GB, free: 104.4 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.001827/21.17, allocations: 8.226 MB / 6.308 GB, free: 95.63 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-05/21.17, allocations: 23.19 kB / 6.308 GB, free: 95.63 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.682e-05/21.17, allocations: 42.41 kB / 6.308 GB, free: 95.63 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02144/21.19, allocations: 3.512 MB / 6.312 GB, free: 95.63 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008187/21.2, allocations: 7.137 MB / 6.319 GB, free: 89.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008547/21.21, allocations: 0.7455 MB / 6.319 GB, free: 89.8 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001507/21.21, allocations: 169.4 kB / 6.32 GB, free: 89.8 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/21.21, allocations: 8.625 kB / 6.32 GB, free: 89.8 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008205/21.22, allocations: 3.36 MB / 6.323 GB, free: 89.72 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.259e-05/21.22, allocations: 29.06 kB / 6.323 GB, free: 89.72 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.822e-05/21.22, allocations: 37.31 kB / 6.323 GB, free: 89.72 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0056/21.22, allocations: 1.092 MB / 6.324 GB, free: 89.72 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-05/21.22, allocations: 45 kB / 6.324 GB, free: 89.72 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007178/21.23, allocations: 0.6161 MB / 6.325 GB, free: 89.72 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000663/21.23, allocations: 166.8 kB / 6.325 GB, free: 89.72 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 85 * Number of states: 0 () * Number of discrete variables: 15 (hexCroUnm.flowRegime,$whenCondition1,hexPar.flowRegime,hexCou.flowRegime,hexCroC1Mix.flowRegime,hexCroC1Unm.flowRegime,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,hexPar.flowRegime_nominal,hexCou.flowRegime_nominal,hexCroC1Mix.flowRegime_nominal,hexCroC1Unm.flowRegime_nominal,hexCroUnm.flowRegime_nominal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (422): * Single equations (assignments): 406 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * 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: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001152/21.23, allocations: 199.1 kB / 6.325 GB, free: 89.61 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00149/21.24, allocations: 370.4 kB / 6.325 GB, free: 89.43 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007576/21.24, allocations: 3.45 MB / 6.329 GB, free: 89.25 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.831e-05/21.24, allocations: 28.62 kB / 6.329 GB, free: 89.25 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.178e-05/21.24, allocations: 0 / 6.329 GB, free: 89.25 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.77e-05/21.24, allocations: 18.09 kB / 6.329 GB, free: 89.25 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01445/21.26, allocations: 6.818 MB / 6.335 GB, free: 88.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.31e-05/21.26, allocations: 17.44 kB / 6.335 GB, free: 88.48 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01751/21.28, allocations: 3.097 MB / 6.338 GB, free: 88.48 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.283e-05/21.28, allocations: 14.06 kB / 6.338 GB, free: 88.48 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005952/21.28, allocations: 55.69 kB / 6.338 GB, free: 88.48 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01746/21.29, allocations: 14.86 MB / 6.353 GB, free: 75.96 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.318e-05/21.29, allocations: 10.69 kB / 6.353 GB, free: 75.96 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008521/21.3, allocations: 3.929 MB / 6.357 GB, free: 74.66 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002976/21.3, allocations: 0.8426 MB / 6.358 GB, free: 74.37 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001012/21.31, allocations: 10.77 kB / 6.358 GB, free: 74.37 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004765/21.31, allocations: 0.4954 MB / 6.358 GB, free: 74.36 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003654/21.31, allocations: 170.3 kB / 6.358 GB, free: 74.35 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002658/21.31, allocations: 101.9 kB / 6.358 GB, free: 74.35 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.003127/21.31, allocations: 1.664 MB / 6.36 GB, free: 74.21 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0109/21.33, allocations: 2.663 MB / 6.363 GB, free: 74.06 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,hexPar.flowRegime,hexCou.flowRegime,hexCroC1Mix.flowRegime,hexCroC1Unm.flowRegime,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (272): * Single equations (assignments): 255 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * 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: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01067/21.34, allocations: 6.891 MB / 6.369 GB, free: 70.85 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.03792/21.37, allocations: 9.409 MB / 6.379 GB, free: 70.39 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.798e-05/21.37, allocations: 2.688 kB / 6.379 GB, free: 70.39 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.03679/21.41, allocations: 7.007 MB / 6.385 GB, free: 70.23 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01012/21.42, allocations: 1.38 MB / 6.387 GB, free: 70.21 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01719/21.44, allocations: 5.749 MB / 6.392 GB, free: 68.73 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00437/21.44, allocations: 2.871 MB / 6.395 GB, free: 67.95 MB / 0.7761 GB Notification: Performance of SimCode: time 1.823e-06/21.44, allocations: 0.9375 kB / 6.395 GB, free: 67.95 MB / 0.7761 GB Notification: Performance of Templates: time 0.2147/21.66, allocations: 119.3 MB / 6.512 GB, free: 59.69 MB / 0.7761 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTU.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTU.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTU.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTU.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTU.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTU -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTU.pipe 2>&1)