Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.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.SolarCollectors.Examples.FlatPlateShaCoeTrue,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue") [: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.7745/0.7745, 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.001301/0.001301, allocations: 172.9 kB / 171.6 MB, free: 2.02 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.599/1.599, 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.001784/0.001784, allocations: 119.9 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.5484/0.5485, allocations: 73.4 MB / 0.666 GB, free: 62.29 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.226/5.775, allocations: 2.409 GB / 3.075 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00029/5.775, allocations: 92.61 kB / 3.075 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.85/7.625, allocations: 0.5098 GB / 3.585 GB, free: 0.832 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0007041/7.626, allocations: 115.9 kB / 3.585 GB, free: 0.7188 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 940 * Number of variables: 940 Notification: Performance of Generate backend data structure: time 0.3549/7.981, allocations: 4.421 MB / 3.589 GB, free: 132.6 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.617e-05/7.981, allocations: 7.688 kB / 3.589 GB, free: 132.6 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01103/7.992, allocations: 1.495 MB / 3.591 GB, free: 132.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0305/8.022, allocations: 12.17 MB / 3.603 GB, free: 131.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002239/8.023, allocations: 118.4 kB / 3.603 GB, free: 131.7 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001699/8.024, allocations: 231.5 kB / 3.603 GB, free: 131.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01077/8.035, allocations: 4.398 MB / 3.607 GB, free: 131.7 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009417/8.045, allocations: 4.475 MB / 3.612 GB, free: 131.1 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000107/8.045, allocations: 18.66 kB / 3.612 GB, free: 131 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004623/8.045, allocations: 7.031 kB / 3.612 GB, free: 131 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001056/8.045, allocations: 117.6 kB / 3.612 GB, free: 131 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03253/8.078, allocations: 18.65 MB / 3.63 GB, free: 123.2 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003303/8.081, allocations: 1.963 MB / 3.632 GB, free: 123.1 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002442/8.084, allocations: 1.658 MB / 3.633 GB, free: 123.1 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001356/8.085, allocations: 1.04 MB / 3.634 GB, free: 122.1 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002864/8.088, allocations: 1.845 MB / 3.636 GB, free: 121.9 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=269): time 4.388e-06/8.088, allocations: 0 / 3.636 GB, free: 121.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=278): time 0.02819/8.116, allocations: 9.231 MB / 3.645 GB, free: 120.6 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.908e-05/8.116, allocations: 290.4 kB / 3.646 GB, free: 120.3 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00463/8.121, allocations: 2.867 MB / 3.648 GB, free: 120 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0009733/8.122, allocations: 29.48 kB / 3.648 GB, free: 120 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001447/8.123, allocations: 1.331 MB / 3.65 GB, free: 119.2 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.001859/8.125, allocations: 0.9104 MB / 3.651 GB, free: 118.6 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000243/8.125, allocations: 2.094 kB / 3.651 GB, free: 118.6 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001992/8.126, allocations: 436.1 kB / 3.651 GB, free: 118.3 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002357/8.128, allocations: 1.502 MB / 3.652 GB, free: 118.3 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002589/8.131, allocations: 2.196 MB / 3.655 GB, free: 117.6 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007199/8.138, allocations: 2.599 MB / 3.657 GB, free: 117.5 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-05/8.138, allocations: 7.094 kB / 3.657 GB, free: 117.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=403) (initialization): time 0.0149/8.153, allocations: 5.255 MB / 3.662 GB, free: 117.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001276/8.154, allocations: 7.473 MB / 3.67 GB, free: 109.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.174e-05/8.154, allocations: 22.75 kB / 3.67 GB, free: 109.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002586/8.157, allocations: 0.5414 MB / 3.67 GB, free: 109.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005365/8.162, allocations: 0.8537 MB / 3.671 GB, free: 109.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006143/8.168, allocations: 4.401 MB / 3.675 GB, free: 107 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00664/8.175, allocations: 268.5 kB / 3.675 GB, free: 106.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001296/8.176, allocations: 158 kB / 3.676 GB, free: 106.9 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/8.176, allocations: 6.844 kB / 3.676 GB, free: 106.9 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0163/8.193, allocations: 4.88 MB / 3.68 GB, free: 106.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.854e-05/8.193, allocations: 17.12 kB / 3.68 GB, free: 106.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00264/8.195, allocations: 0.5602 MB / 3.681 GB, free: 106.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005259/8.201, allocations: 0.8374 MB / 3.682 GB, free: 106.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006143/8.207, allocations: 4.422 MB / 3.686 GB, free: 104.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00559/8.213, allocations: 258.1 kB / 3.686 GB, free: 104.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001195/8.214, allocations: 159.6 kB / 3.687 GB, free: 104.4 MB / 0.6198 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: weaDat.tWetBul_TDryBulXi.XiSat:VARIABLE(min = 0.0 max = 1.0 unit = "1" protected = true ) "Water vapor mass fraction at saturation" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (385): * Single equations (assignments): 381 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * 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: 0 * Non-linear torn systems: 2 {1 17,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.001775/8.216, allocations: 177.2 kB / 3.687 GB, free: 104.2 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001438/8.217, allocations: 347.7 kB / 3.687 GB, free: 104.1 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01577/8.233, allocations: 5.212 MB / 3.692 GB, free: 103.8 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-05/8.233, allocations: 34.72 kB / 3.692 GB, free: 103.8 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.304e-05/8.233, allocations: 1.406 kB / 3.692 GB, free: 103.8 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01034/8.243, allocations: 4.209 MB / 3.696 GB, free: 103.4 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02513/8.268, allocations: 9.65 MB / 3.706 GB, free: 102.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-05/8.269, allocations: 7.875 kB / 3.706 GB, free: 102.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004305/8.273, allocations: 0.6755 MB / 3.706 GB, free: 102.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001339/8.274, allocations: 492 kB / 3.707 GB, free: 102.2 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006468/8.275, allocations: 68.78 kB / 3.707 GB, free: 102.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004235/8.279, allocations: 6.799 MB / 3.714 GB, free: 96.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.324e-05/8.279, allocations: 16.44 kB / 3.714 GB, free: 96.33 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01602/8.295, allocations: 7.635 MB / 3.721 GB, free: 94.44 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003452/8.299, allocations: 1.007 MB / 3.722 GB, free: 94.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001667/8.3, allocations: 24.05 kB / 3.722 GB, free: 94.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004857/8.305, allocations: 285.5 kB / 3.722 GB, free: 94.14 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006109/8.306, allocations: 188.3 kB / 3.722 GB, free: 94.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000668/8.307, allocations: 143 kB / 3.723 GB, free: 94.12 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.004547/8.311, allocations: 2.207 MB / 3.725 GB, free: 93.98 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.009606/8.321, allocations: 1.926 MB / 3.727 GB, free: 93.97 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 35 * Number of states: 11 (solCol.vol[1].dynBal.U,solCol.vol[2].dynBal.U,solCol.vol[3].dynBal.U,solCol.vol[4].dynBal.U,solCol.vol[5].dynBal.U,solCol.vol[6].dynBal.U,solCol.vol[7].dynBal.U,solCol.vol[8].dynBal.U,solCol.vol[9].dynBal.U,TOut.T,TIn.T) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim.tStart,weaDat.conTim1.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (285): * Single equations (assignments): 269 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 10 {1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.00348/8.324, allocations: 1.699 MB / 3.728 GB, free: 93.75 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.01211/8.336, allocations: 6.576 MB / 3.735 GB, free: 93.14 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.366e-05/8.336, allocations: 6.438 kB / 3.735 GB, free: 93.14 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.003654/8.34, allocations: 1.959 MB / 3.737 GB, free: 92.94 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01023/8.35, allocations: 1.653 MB / 3.738 GB, free: 92.67 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02553/8.376, allocations: 8.275 MB / 3.746 GB, free: 89.82 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004809/8.381, allocations: 3.533 MB / 3.75 GB, free: 88.67 MB / 0.6198 GB Notification: Performance of SimCode: time 6.81e-07/8.381, allocations: 0 / 3.75 GB, free: 88.67 MB / 0.6198 GB Notification: Performance of Templates: time 0.1664/8.547, allocations: 110.1 MB / 3.857 GB, free: 7.711 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.sim & ./Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe 2>&1)