Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.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_u,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u") translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u") [: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.7717/0.7717, allocations: 132.4 MB / 139.7 MB, free: 15.53 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.00152/0.001521, allocations: 170.6 kB / 171.6 MB, free: 2.035 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.705/1.705, allocations: 170.5 MB / 373.9 MB, free: 15.89 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.001859/0.001859, allocations: 114.3 kB / 444.4 MB, free: 9.426 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.5525/0.5526, allocations: 73.4 MB / 0.666 GB, free: 62.27 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.987/5.54, allocations: 2.179 GB / 2.845 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002585/5.54, allocations: 88.7 kB / 2.845 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of FrontEnd: time 6.714/12.25, allocations: 1.613 GB / 4.458 GB, free: 56.96 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0005321/12.26, allocations: 62.19 kB / 4.458 GB, free: 56.95 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: 380 * Number of variables: 380 Notification: Performance of Generate backend data structure: time 0.01242/12.27, allocations: 2.704 MB / 4.461 GB, free: 55.67 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.673e-05/12.27, allocations: 7.594 kB / 4.461 GB, free: 55.67 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007327/12.27, allocations: 0.8233 MB / 4.462 GB, free: 55.53 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01028/12.29, allocations: 2.275 MB / 4.464 GB, free: 55.05 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002148/12.29, allocations: 48.88 kB / 4.464 GB, free: 55.05 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001244/12.29, allocations: 100.8 kB / 4.464 GB, free: 55.05 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005532/12.29, allocations: 1.392 MB / 4.465 GB, free: 55.04 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006353/12.3, allocations: 1.577 MB / 4.467 GB, free: 54.83 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.817e-05/12.3, allocations: 3.562 kB / 4.467 GB, free: 54.83 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004905/12.3, allocations: 0 / 4.467 GB, free: 54.83 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.909e-05/12.3, allocations: 64.77 kB / 4.467 GB, free: 54.82 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01501/12.31, allocations: 7.783 MB / 4.475 GB, free: 51.35 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001658/12.32, allocations: 0.9574 MB / 4.476 GB, free: 51.31 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008702/12.32, allocations: 0.5932 MB / 4.476 GB, free: 51.3 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005113/12.32, allocations: 281.6 kB / 4.476 GB, free: 51.02 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001074/12.32, allocations: 0.6837 MB / 4.477 GB, free: 50.91 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=98): time 3.747e-06/12.32, allocations: 3.312 kB / 4.477 GB, free: 50.91 MB / 0.6511 GB Notification: Performance of matching and sorting (n=101): time 0.009885/12.33, allocations: 3.281 MB / 4.48 GB, free: 49.86 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001163/12.33, allocations: 329.8 kB / 4.481 GB, free: 49.48 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002281/12.33, allocations: 1.275 MB / 4.482 GB, free: 49.32 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001533/12.33, allocations: 29.52 kB / 4.482 GB, free: 49.29 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006902/12.33, allocations: 0.6437 MB / 4.483 GB, free: 48.94 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003949/12.33, allocations: 345 kB / 4.483 GB, free: 48.71 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.312e-05/12.33, allocations: 3.906 kB / 4.483 GB, free: 48.71 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001159/12.33, allocations: 350.1 kB / 4.483 GB, free: 48.41 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008038/12.33, allocations: 0.5262 MB / 4.484 GB, free: 48.41 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00104/12.33, allocations: 0.8575 MB / 4.485 GB, free: 48.05 MB / 0.6511 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (hea.vol.dynBal.p_start = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.007542/12.34, allocations: 2.476 MB / 4.487 GB, free: 47.85 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.752e-06/12.34, allocations: 5.438 kB / 4.487 GB, free: 47.85 MB / 0.6511 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003662/12.35, allocations: 1.722 MB / 4.489 GB, free: 47.57 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005333/12.35, allocations: 2.077 MB / 4.491 GB, free: 45.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.549e-05/12.35, allocations: 8.906 kB / 4.491 GB, free: 45.39 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001659/12.35, allocations: 42.7 kB / 4.491 GB, free: 45.38 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001342/12.35, allocations: 279.1 kB / 4.491 GB, free: 45.36 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001155/12.35, allocations: 1.401 MB / 4.492 GB, free: 44.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002866/12.35, allocations: 176.5 kB / 4.493 GB, free: 44.08 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001917/12.35, allocations: 65.05 kB / 4.493 GB, free: 44.08 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.959e-06/12.35, allocations: 2.656 kB / 4.493 GB, free: 44.08 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002811/12.35, allocations: 1.471 MB / 4.494 GB, free: 43.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/12.35, allocations: 10.78 kB / 4.494 GB, free: 43.91 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001043/12.36, allocations: 36.3 kB / 4.494 GB, free: 43.91 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/12.36, allocations: 273.6 kB / 4.494 GB, free: 43.89 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001132/12.36, allocations: 1.407 MB / 4.496 GB, free: 42.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003158/12.36, allocations: 167.2 kB / 4.496 GB, free: 42.61 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001939/12.36, allocations: 63.77 kB / 4.496 GB, free: 42.61 MB / 0.6511 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: vol.dynBal.medium.p = vol.dynBal.p_start 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 (138): * Single equations (assignments): 133 * Array equations: 1 * Algorithm blocks: 2 * Record equations: 1 * When equations: 0 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000561/12.36, allocations: 145.2 kB / 4.496 GB, free: 42.48 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004817/12.36, allocations: 190.1 kB / 4.496 GB, free: 42.38 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003457/12.37, allocations: 1.319 MB / 4.498 GB, free: 42.19 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/12.37, allocations: 11.62 kB / 4.498 GB, free: 42.19 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/12.37, allocations: 0 / 4.498 GB, free: 42.19 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001877/12.37, allocations: 1.077 MB / 4.499 GB, free: 41.99 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007051/12.37, allocations: 3.112 MB / 4.502 GB, free: 41.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/12.37, allocations: 0 / 4.502 GB, free: 41.05 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001396/12.38, allocations: 233.5 kB / 4.502 GB, free: 41.04 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002407/12.38, allocations: 69.58 kB / 4.502 GB, free: 41.01 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.607e-05/12.38, allocations: 18.59 kB / 4.502 GB, free: 41 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001969/12.38, allocations: 2.626 MB / 4.504 GB, free: 38.46 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/12.38, allocations: 5.094 kB / 4.504 GB, free: 38.45 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004068/12.38, allocations: 2.002 MB / 4.506 GB, free: 37.47 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001421/12.38, allocations: 388.7 kB / 4.507 GB, free: 37.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003432/12.38, allocations: 14.86 kB / 4.507 GB, free: 37.19 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001744/12.39, allocations: 159.4 kB / 4.507 GB, free: 37.18 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001715/12.39, allocations: 62.25 kB / 4.507 GB, free: 37.18 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001103/12.39, allocations: 40.73 kB / 4.507 GB, free: 37.17 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.002008/12.39, allocations: 0.9594 MB / 4.508 GB, free: 36.76 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00627/12.39, allocations: 1.194 MB / 4.509 GB, free: 36.53 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (vol.dynBal.U,vol.dynBal.mXi[1],mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.vol.dynBal.U,hea.vol.dynBal.m,hea.vol.dynBal.mXi[1]) * 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 (100): * Single equations (assignments): 96 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006484/12.4, allocations: 3.686 MB / 4.513 GB, free: 35.08 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00474/12.41, allocations: 2.448 MB / 4.515 GB, free: 33.89 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/12.41, allocations: 1.031 kB / 4.515 GB, free: 33.89 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001228/12.41, allocations: 0.7193 MB / 4.516 GB, free: 33.5 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005893/12.41, allocations: 0.8831 MB / 4.517 GB, free: 33.31 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01034/12.42, allocations: 3.288 MB / 4.52 GB, free: 32.18 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002307/12.43, allocations: 1.776 MB / 4.522 GB, free: 31.36 MB / 0.6511 GB Notification: Performance of SimCode: time 1.734e-06/12.43, allocations: 3.938 kB / 4.522 GB, free: 31.35 MB / 0.6511 GB Notification: Performance of Templates: time 0.5445/12.97, allocations: 61.6 MB / 4.582 GB, free: 124.9 MB / 0.6667 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe 2>&1)