Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.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.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate") [: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.8284/0.8284, allocations: 132.4 MB / 139.7 MB, free: 15.52 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.001312/0.001311, allocations: 169.8 kB / 171.6 MB, free: 2.023 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.489/1.489, 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.001872/0.001872, allocations: 121.1 kB / 444.5 MB, free: 9.402 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.5118/0.5119, allocations: 73.4 MB / 0.666 GB, free: 62.27 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.613/5.125, allocations: 2.166 GB / 2.832 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002199/5.125, allocations: 87.95 kB / 2.833 GB, free: 28.16 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.071/8.196, allocations: 0.7706 GB / 3.603 GB, free: 61.18 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.000659/8.196, allocations: 127.8 kB / 3.603 GB, free: 61.18 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: 950 * Number of variables: 950 Notification: Performance of Generate backend data structure: time 0.02017/8.217, allocations: 5.612 MB / 3.609 GB, free: 59.45 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/8.217, allocations: 7.875 kB / 3.609 GB, free: 59.45 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01305/8.23, allocations: 1.691 MB / 3.61 GB, free: 59.18 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04469/8.274, allocations: 17.03 MB / 3.627 GB, free: 58.46 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002461/8.275, allocations: 116.9 kB / 3.627 GB, free: 58.46 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001799/8.277, allocations: 222.9 kB / 3.627 GB, free: 58.46 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01041/8.287, allocations: 4.455 MB / 3.632 GB, free: 58.45 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009306/8.296, allocations: 4.571 MB / 3.636 GB, free: 57.89 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.809e-05/8.297, allocations: 6.062 kB / 3.636 GB, free: 57.89 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005635/8.297, allocations: 12.5 kB / 3.636 GB, free: 57.89 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.38e-05/8.297, allocations: 94.5 kB / 3.636 GB, free: 57.89 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03423/8.331, allocations: 19.56 MB / 3.655 GB, free: 50.91 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004203/8.336, allocations: 3.044 MB / 3.658 GB, free: 50.86 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002081/8.338, allocations: 1.588 MB / 3.66 GB, free: 50.84 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001566/8.339, allocations: 1.557 MB / 3.661 GB, free: 49.24 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002658/8.342, allocations: 1.877 MB / 3.663 GB, free: 49.06 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=271): time 4.719e-06/8.342, allocations: 3.094 kB / 3.663 GB, free: 49.06 MB / 0.6355 GB Notification: Performance of matching and sorting (n=271): time 0.01427/8.356, allocations: 4.43 MB / 3.668 GB, free: 48.68 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001718/8.357, allocations: 369.9 kB / 3.668 GB, free: 48.27 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005644/8.362, allocations: 2.834 MB / 3.671 GB, free: 47.99 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.00121/8.364, allocations: 29.52 kB / 3.671 GB, free: 47.96 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001748/8.365, allocations: 1.366 MB / 3.672 GB, free: 47.21 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.002168/8.367, allocations: 0.8966 MB / 3.673 GB, free: 46.61 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002291/8.368, allocations: 0 / 3.673 GB, free: 46.61 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000263/8.368, allocations: 437.4 kB / 3.673 GB, free: 46.3 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002458/8.37, allocations: 1.499 MB / 3.675 GB, free: 46.3 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002568/8.373, allocations: 2.167 MB / 3.677 GB, free: 45.6 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008115/8.381, allocations: 2.743 MB / 3.68 GB, free: 45.55 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-05/8.381, allocations: 3.312 kB / 3.68 GB, free: 45.55 MB / 0.6355 GB Notification: Performance of matching and sorting (n=406) (initialization): time 0.01614/8.397, allocations: 5.471 MB / 3.685 GB, free: 45.24 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.001428/8.399, allocations: 7.022 MB / 3.692 GB, free: 37.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.921e-05/8.399, allocations: 18.16 kB / 3.692 GB, free: 37.95 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002515/8.401, allocations: 0.5358 MB / 3.692 GB, free: 37.93 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006553/8.408, allocations: 1.079 MB / 3.693 GB, free: 37.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00641/8.414, allocations: 5.094 MB / 3.698 GB, free: 34.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007128/8.421, allocations: 451.7 kB / 3.699 GB, free: 34.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001196/8.423, allocations: 166.1 kB / 3.699 GB, free: 34.73 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/8.423, allocations: 3.594 kB / 3.699 GB, free: 34.73 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01668/8.439, allocations: 5.028 MB / 3.704 GB, free: 34.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.535e-05/8.44, allocations: 16.88 kB / 3.704 GB, free: 34.62 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002475/8.442, allocations: 0.5681 MB / 3.705 GB, free: 34.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004666/8.447, allocations: 0.8353 MB / 3.705 GB, free: 34.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005569/8.452, allocations: 4.405 MB / 3.71 GB, free: 32.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005433/8.458, allocations: 400.3 kB / 3.71 GB, free: 32.01 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008435/8.459, allocations: 164 kB / 3.71 GB, free: 32.01 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * 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 (388): * Single equations (assignments): 383 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.001451/8.46, allocations: 170.9 kB / 3.71 GB, free: 31.9 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002376/8.462, allocations: 406 kB / 3.711 GB, free: 31.71 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01687/8.479, allocations: 5.302 MB / 3.716 GB, free: 31.4 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.839e-05/8.479, allocations: 28.66 kB / 3.716 GB, free: 31.4 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.622e-05/8.479, allocations: 3.125 kB / 3.716 GB, free: 31.4 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01139/8.491, allocations: 4.214 MB / 3.72 GB, free: 30.94 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02964/8.52, allocations: 9.161 MB / 3.729 GB, free: 30.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.381e-05/8.521, allocations: 1 kB / 3.729 GB, free: 30.09 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006104/8.527, allocations: 0.8528 MB / 3.73 GB, free: 30.09 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001759/8.528, allocations: 465.6 kB / 3.73 GB, free: 30.01 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000942/8.529, allocations: 68.83 kB / 3.73 GB, free: 30.01 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007937/8.537, allocations: 8.329 MB / 3.738 GB, free: 22.87 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.905e-06/8.537, allocations: 5.062 kB / 3.738 GB, free: 22.87 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0235/8.561, allocations: 6.763 MB / 3.745 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004575/8.566, allocations: 1.093 MB / 3.746 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002583/8.568, allocations: 16.25 kB / 3.746 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005703/8.574, allocations: 267.6 kB / 3.746 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007928/8.575, allocations: 159 kB / 3.747 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008413/8.576, allocations: 136.1 kB / 3.747 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.005656/8.581, allocations: 2.156 MB / 3.749 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0177/8.599, allocations: 2.68 MB / 3.751 GB, free: 20.52 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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.conTim1.tStart,weaDat.conTim.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (256): * Single equations (assignments): 243 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 10 {1 2,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.008865/8.608, allocations: 1.884 MB / 3.753 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.01969/8.628, allocations: 6.875 MB / 3.76 GB, free: 17.46 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-05/8.628, allocations: 0.9375 kB / 3.76 GB, free: 17.46 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.007842/8.636, allocations: 2.365 MB / 3.762 GB, free: 16.8 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01102/8.647, allocations: 1.55 MB / 3.764 GB, free: 16.48 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02431/8.671, allocations: 7.912 MB / 3.772 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0076/8.679, allocations: 3.538 MB / 3.775 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of SimCode: time 1.903e-06/8.679, allocations: 0 / 3.775 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of Templates: time 0.6048/9.283, allocations: 113.9 MB / 3.886 GB, free: 139.3 MB / 0.6667 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.sim & ./Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe 2>&1)