Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") [: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 8.1.4-maint.8.1.x/package.mo): time 1.358/1.358, allocations: 289.8 MB / 297.1 MB, free: 6.688 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00105/0.00105, allocations: 176.1 kB / 366.3 MB, free: 1.961 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.082/1.082, allocations: 205.1 MB / 0.6256 GB, free: 5.789 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007639/0.0007638, allocations: 96.62 kB / 0.7396 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.563e-06/6.573e-06, allocations: 0 / 0.859 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4577/0.4577, allocations: 116.3 MB / 0.9726 GB, free: 68.13 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1497/0.6074, allocations: 140.8 MB / 1.11 GB, free: 7.672 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002265/0.6077, allocations: 91.92 kB / 1.11 GB, free: 7.582 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.02054/0.6283, allocations: 7.185 MB / 1.117 GB, free: 448 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.6283, allocations: 0 / 1.117 GB, free: 448 kB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003299/0.6286, allocations: 398.4 kB / 1.118 GB, free: 4 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.14e-05/0.6287, allocations: 8.078 kB / 1.118 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.28e-05/0.6288, allocations: 91.06 kB / 1.118 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000156/0.6289, allocations: 238.4 kB / 1.118 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.981e-05/0.629, allocations: 150.6 kB / 1.118 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.073e-05/0.6291, allocations: 154.6 kB / 1.118 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.169e-05/0.6291, allocations: 150.6 kB / 1.118 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.409e-05/0.6292, allocations: 101 kB / 1.118 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.905e-05/0.6292, allocations: 75.94 kB / 1.118 GB, free: 15 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.03e-05/0.6292, allocations: 154.6 kB / 1.119 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-05/0.6293, allocations: 154.6 kB / 1.119 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002446/0.6295, allocations: 434.3 kB / 1.119 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.665e-05/0.6296, allocations: 177.1 kB / 1.119 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.024e-05/0.6297, allocations: 88.14 kB / 1.119 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.6297, allocations: 75.28 kB / 1.119 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.327e-05/0.6297, allocations: 106.4 kB / 1.12 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.6297, allocations: 0 / 1.12 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0): time 6.969e-05/0.6298, allocations: 33.64 kB / 1.12 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.6299, allocations: 51.41 kB / 1.12 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.215e-05/0.63, allocations: 104.8 kB / 1.12 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.63, allocations: 25.7 kB / 1.12 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.538e-05/0.63, allocations: 88.62 kB / 1.12 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.362e-06/0.63, allocations: 4 kB / 1.12 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.314e-06/0.63, allocations: 0 / 1.12 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.6302, allocations: 314.8 kB / 1.12 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.015e-05/0.6302, allocations: 0 / 1.12 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.48e-05/0.6302, allocations: 22.58 kB / 1.12 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/0.6303, allocations: 24.53 kB / 1.12 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.6304, allocations: 0 / 1.12 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001862/0.6305, allocations: 57.61 kB / 1.12 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.6306, allocations: 4 kB / 1.12 GB, free: 13 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.759e-06/0.6306, allocations: 7.984 kB / 1.12 GB, free: 13 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.6306, allocations: 3.906 kB / 1.12 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.75e-05/0.6307, allocations: 4.844 kB / 1.12 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.6307, allocations: 4 kB / 1.12 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.015e-05/0.6308, allocations: 4 kB / 1.12 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.6308, allocations: 4.141 kB / 1.12 GB, free: 12.98 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 9.064e-05/0.6309, allocations: 184.2 kB / 1.12 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.908e-05/0.6309, allocations: 112.9 kB / 1.121 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.912e-05/0.631, allocations: 108.1 kB / 1.121 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.578e-05/0.6311, allocations: 184.2 kB / 1.121 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.052e-05/0.6311, allocations: 176.8 kB / 1.121 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.699e-05/0.6312, allocations: 176.3 kB / 1.121 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001861/0.6314, allocations: 389.7 kB / 1.122 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.9e-05/0.6314, allocations: 101 kB / 1.122 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.482e-05/0.6315, allocations: 101 kB / 1.122 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.094e-05/0.6315, allocations: 192.2 kB / 1.122 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.648e-05/0.6316, allocations: 185.4 kB / 1.122 GB, free: 10.99 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.8e-05/0.6317, allocations: 180.3 kB / 1.122 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.659e-05/0.6317, allocations: 180.2 kB / 1.122 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001225/0.6319, allocations: 307.8 kB / 1.123 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.453e-05/0.6319, allocations: 189.9 kB / 1.123 GB, free: 10.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.307e-05/0.632, allocations: 176.3 kB / 1.123 GB, free: 9.906 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.586e-05/0.6321, allocations: 101 kB / 1.123 GB, free: 9.801 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.382e-05/0.6321, allocations: 184.5 kB / 1.123 GB, free: 9.613 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.368e-05/0.6322, allocations: 113.2 kB / 1.123 GB, free: 9.496 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.255e-05/0.6322, allocations: 87.28 kB / 1.124 GB, free: 9.41 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003804/0.6326, allocations: 115.9 kB / 1.124 GB, free: 9.297 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0007764/0.6334, allocations: 481.5 kB / 1.124 GB, free: 8.867 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.742e-05/0.6335, allocations: 4 kB / 1.124 GB, free: 8.863 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.6335, allocations: 0 / 1.124 GB, free: 8.863 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.693e-06/0.6335, allocations: 4 kB / 1.124 GB, free: 8.859 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/0.6338, allocations: 0.5224 MB / 1.125 GB, free: 8.332 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001914/0.634, allocations: 127.4 kB / 1.125 GB, free: 8.184 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002747/0.6343, allocations: 0.688 MB / 1.125 GB, free: 7.469 MB / 0.7292 GB Notification: Performance of SimCode: time 2.11e-07/0.6343, allocations: 0 / 1.125 GB, free: 7.469 MB / 0.7292 GB Notification: Performance of Templates: time 0.004878/0.6392, allocations: 2.353 MB / 1.128 GB, free: 5.129 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)