Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.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.AirHeater_T,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T") [: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.8105/0.8105, allocations: 132.4 MB / 139.7 MB, free: 15.56 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.001519/0.001519, allocations: 166 kB / 171.6 MB, free: 1.996 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.795/1.795, allocations: 170.5 MB / 373.9 MB, free: 15.87 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.001837/0.001837, allocations: 110.3 kB / 444.4 MB, free: 9.41 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.5307/0.5307, allocations: 73.39 MB / 0.666 GB, free: 62.26 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.884/5.415, allocations: 2.182 GB / 2.848 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000212/5.416, allocations: 93.92 kB / 2.848 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of FrontEnd: time 6.742/12.16, allocations: 1.603 GB / 4.451 GB, free: 55.84 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0006117/12.16, allocations: 57.89 kB / 4.451 GB, free: 55.82 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.01116/12.17, allocations: 2.547 MB / 4.454 GB, free: 54.65 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.826e-05/12.17, allocations: 10.62 kB / 4.454 GB, free: 54.65 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007182/12.18, allocations: 0.8026 MB / 4.455 GB, free: 54.53 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01129/12.19, allocations: 2.084 MB / 4.457 GB, free: 54.06 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002653/12.19, allocations: 48.41 kB / 4.457 GB, free: 54.06 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001252/12.19, allocations: 88.11 kB / 4.457 GB, free: 54.06 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005807/12.2, allocations: 1.207 MB / 4.458 GB, free: 54.05 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005895/12.2, allocations: 1.389 MB / 4.459 GB, free: 53.84 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.625e-05/12.2, allocations: 0 / 4.459 GB, free: 53.84 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001779/12.2, allocations: 3.281 kB / 4.459 GB, free: 53.84 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.244e-05/12.2, allocations: 44.97 kB / 4.459 GB, free: 53.83 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01463/12.22, allocations: 6.973 MB / 4.466 GB, free: 50.53 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001283/12.22, allocations: 0.8111 MB / 4.467 GB, free: 50.5 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006434/12.22, allocations: 459.1 kB / 4.467 GB, free: 50.48 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001179/12.22, allocations: 0.8356 MB / 4.468 GB, free: 49.64 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008541/12.22, allocations: 0.5632 MB / 4.469 GB, free: 49.53 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=83): time 3.677e-06/12.22, allocations: 0 / 4.469 GB, free: 49.53 MB / 0.6511 GB Notification: Performance of matching and sorting (n=83): time 0.003663/12.22, allocations: 1.127 MB / 4.47 GB, free: 49.38 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.571e-05/12.22, allocations: 326.6 kB / 4.47 GB, free: 49 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001919/12.23, allocations: 1.276 MB / 4.471 GB, free: 48.82 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001536/12.23, allocations: 35.33 kB / 4.471 GB, free: 48.79 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000515/12.23, allocations: 0.5893 MB / 4.472 GB, free: 48.48 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002691/12.23, allocations: 279.1 kB / 4.472 GB, free: 48.3 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.674e-05/12.23, allocations: 3.25 kB / 4.472 GB, free: 48.3 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001014/12.23, allocations: 350.5 kB / 4.473 GB, free: 47.99 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006578/12.23, allocations: 453.3 kB / 4.473 GB, free: 47.99 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008537/12.23, allocations: 0.7603 MB / 4.474 GB, free: 47.64 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001392/12.23, allocations: 0.6528 MB / 4.474 GB, free: 47.63 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/12.23, allocations: 0 / 4.474 GB, free: 47.63 MB / 0.6511 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002649/12.23, allocations: 1.461 MB / 4.476 GB, free: 47.49 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005234/12.23, allocations: 2.077 MB / 4.478 GB, free: 45.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.282e-05/12.23, allocations: 10.89 kB / 4.478 GB, free: 45.31 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.133e-05/12.23, allocations: 18.59 kB / 4.478 GB, free: 45.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001132/12.23, allocations: 244.1 kB / 4.478 GB, free: 45.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/12.23, allocations: 9.25 kB / 4.478 GB, free: 45.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002008/12.24, allocations: 222.1 kB / 4.478 GB, free: 45.24 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001625/12.24, allocations: 64.8 kB / 4.478 GB, free: 45.24 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.686e-06/12.24, allocations: 5.75 kB / 4.478 GB, free: 45.24 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002216/12.24, allocations: 1.232 MB / 4.48 GB, free: 45.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/12.24, allocations: 4.094 kB / 4.48 GB, free: 45.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/12.24, allocations: 15.44 kB / 4.48 GB, free: 45.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/12.24, allocations: 237.9 kB / 4.48 GB, free: 45.18 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/12.24, allocations: 16.5 kB / 4.48 GB, free: 45.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001919/12.24, allocations: 206.1 kB / 4.48 GB, free: 45.14 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001225/12.24, allocations: 56.7 kB / 4.48 GB, free: 45.14 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 118 * Array equations: 1 * 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 prepare postOptimizeDAE: time 0.0003225/12.24, allocations: 133 kB / 4.48 GB, free: 45.01 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002533/12.24, allocations: 175.9 kB / 4.48 GB, free: 44.92 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002481/12.25, allocations: 1.081 MB / 4.481 GB, free: 44.84 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/12.25, allocations: 9.938 kB / 4.481 GB, free: 44.84 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/12.25, allocations: 0 / 4.481 GB, free: 44.84 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001593/12.25, allocations: 1.148 MB / 4.483 GB, free: 44.37 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002857/12.25, allocations: 1.46 MB / 4.484 GB, free: 44.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/12.25, allocations: 3.594 kB / 4.484 GB, free: 44.07 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/12.25, allocations: 179.1 kB / 4.484 GB, free: 44.06 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002356/12.25, allocations: 46.92 kB / 4.484 GB, free: 44.05 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.648e-05/12.25, allocations: 14.19 kB / 4.484 GB, free: 44.05 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001239/12.25, allocations: 1.385 MB / 4.486 GB, free: 42.85 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/12.25, allocations: 0 / 4.486 GB, free: 42.85 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002636/12.26, allocations: 1.535 MB / 4.487 GB, free: 42.62 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008674/12.26, allocations: 366.2 kB / 4.487 GB, free: 42.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002539/12.26, allocations: 5.5 kB / 4.487 GB, free: 42.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001377/12.26, allocations: 150.5 kB / 4.488 GB, free: 42.43 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001535/12.26, allocations: 52.69 kB / 4.488 GB, free: 42.43 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.658e-05/12.26, allocations: 34.98 kB / 4.488 GB, free: 42.43 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.00149/12.26, allocations: 0.9503 MB / 4.489 GB, free: 42.32 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00481/12.26, allocations: 1.247 MB / 4.49 GB, free: 42.13 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.heaCoo.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006249/12.27, allocations: 3.69 MB / 4.493 GB, free: 40.75 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003392/12.27, allocations: 1.961 MB / 4.495 GB, free: 40.43 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/12.27, allocations: 1.969 kB / 4.495 GB, free: 40.43 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0008107/12.28, allocations: 0.5045 MB / 4.496 GB, free: 40.32 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003833/12.28, allocations: 0.6908 MB / 4.497 GB, free: 40.29 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009189/12.29, allocations: 2.983 MB / 4.499 GB, free: 39.61 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001804/12.29, allocations: 1.656 MB / 4.501 GB, free: 38.88 MB / 0.6511 GB Notification: Performance of SimCode: time 1.162e-06/12.29, allocations: 1.156 kB / 4.501 GB, free: 38.88 MB / 0.6511 GB Notification: Performance of Templates: time 0.09938/12.39, allocations: 54.92 MB / 4.555 GB, free: 3.617 MB / 0.6511 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1)