Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.7347/0.7347, allocations: 141.8 MB / 149.1 MB, free: 12.35 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 187.5 kB / 181.9 MB, free: 9.035 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.231/1.231, allocations: 221.3 MB / 436 MB, free: 1.293 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008637/0.0008636, allocations: 103.6 kB / 0.507 GB, free: 10.17 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00169/0.00169, allocations: 278.5 kB / 0.5884 GB, free: 7 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 7.745e-06/7.765e-06, allocations: 0 / 0.6759 GB, free: 13.36 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3648/0.3649, allocations: 82.77 MB / 0.7567 GB, free: 138.1 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1113/0.4762, allocations: 110.3 MB / 0.8644 GB, free: 27.68 MB / 0.5575 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002122/0.4765, allocations: 95.67 kB / 0.8645 GB, free: 27.59 MB / 0.5575 GB Notification: Performance of FrontEnd: time 0.0182/0.4947, allocations: 7.026 MB / 0.8714 GB, free: 20.59 MB / 0.5575 GB Notification: Performance of Transformations before backend: time 1.022e-05/0.4948, allocations: 1.594 kB / 0.8714 GB, free: 20.59 MB / 0.5575 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.000533/0.4953, allocations: 394.3 kB / 0.8718 GB, free: 20.16 MB / 0.5575 GB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.4954, allocations: 8.031 kB / 0.8718 GB, free: 20.15 MB / 0.5575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.028e-05/0.4955, allocations: 76.59 kB / 0.8719 GB, free: 20.07 MB / 0.5575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.4956, allocations: 246.2 kB / 0.8721 GB, free: 19.79 MB / 0.5575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.14e-05/0.4957, allocations: 151.8 kB / 0.8722 GB, free: 19.64 MB / 0.5575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.492e-05/0.4957, allocations: 158.5 kB / 0.8724 GB, free: 19.49 MB / 0.5575 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.777e-05/0.4958, allocations: 156.1 kB / 0.8725 GB, free: 19.34 MB / 0.5575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.293e-05/0.4958, allocations: 101 kB / 0.8726 GB, free: 19.23 MB / 0.5575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.4958, allocations: 80.53 kB / 0.8727 GB, free: 19.15 MB / 0.5575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.389e-05/0.4959, allocations: 150.6 kB / 0.8728 GB, free: 19 MB / 0.5575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.311e-05/0.4959, allocations: 151.9 kB / 0.873 GB, free: 18.86 MB / 0.5575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001885/0.4961, allocations: 439.1 kB / 0.8734 GB, free: 18.39 MB / 0.5575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.845e-05/0.4962, allocations: 166.4 kB / 0.8736 GB, free: 18.22 MB / 0.5575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.917e-05/0.4962, allocations: 88.75 kB / 0.8737 GB, free: 18.13 MB / 0.5575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.283e-05/0.4962, allocations: 79.94 kB / 0.8737 GB, free: 18.05 MB / 0.5575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.794e-05/0.4962, allocations: 108.2 kB / 0.8738 GB, free: 17.94 MB / 0.5575 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.4962, allocations: 0 / 0.8738 GB, free: 17.94 MB / 0.5575 GB Notification: Performance of matching and sorting (n=0): time 6.86e-05/0.4963, allocations: 33.62 kB / 0.8739 GB, free: 17.9 MB / 0.5575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.67e-05/0.4963, allocations: 55.41 kB / 0.8739 GB, free: 17.83 MB / 0.5575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.073e-05/0.4964, allocations: 93.66 kB / 0.874 GB, free: 17.73 MB / 0.5575 GB Notification: Performance of collectPreVariables (initialization): time 9.928e-06/0.4964, allocations: 26.27 kB / 0.874 GB, free: 17.7 MB / 0.5575 GB Notification: Performance of collectInitialEqns (initialization): time 2.52e-05/0.4965, allocations: 88.7 kB / 0.8741 GB, free: 17.61 MB / 0.5575 GB Notification: Performance of collectInitialBindings (initialization): time 1.964e-06/0.4965, allocations: 0 / 0.8741 GB, free: 17.61 MB / 0.5575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.064e-06/0.4965, allocations: 8.5 kB / 0.8741 GB, free: 17.61 MB / 0.5575 GB Notification: Performance of setup shared object (initialization): time 4.045e-05/0.4965, allocations: 315.7 kB / 0.8744 GB, free: 17.29 MB / 0.5575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.286e-06/0.4965, allocations: 0 / 0.8744 GB, free: 17.29 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.834e-05/0.4966, allocations: 27.89 kB / 0.8745 GB, free: 17.25 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001419/0.4967, allocations: 17.28 kB / 0.8745 GB, free: 17.24 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4967, allocations: 0 / 0.8745 GB, free: 17.24 MB / 0.5575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001804/0.4969, allocations: 62.8 kB / 0.8745 GB, free: 17.17 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.4969, allocations: 6.969 kB / 0.8745 GB, free: 17.17 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.4969, allocations: 4.875 kB / 0.8745 GB, free: 17.16 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.497, allocations: 0 / 0.8745 GB, free: 17.16 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.139e-05/0.497, allocations: 4.969 kB / 0.8745 GB, free: 17.16 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.497, allocations: 11.83 kB / 0.8746 GB, free: 17.15 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.542e-05/0.4971, allocations: 4.812 kB / 0.8746 GB, free: 17.14 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.4971, allocations: 4 kB / 0.8746 GB, free: 17.14 MB / 0.5575 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 5.416e-05/0.4972, allocations: 177.6 kB / 0.8747 GB, free: 16.96 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.943e-05/0.4973, allocations: 105.7 kB / 0.8748 GB, free: 16.85 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.625e-05/0.4973, allocations: 112.6 kB / 0.8749 GB, free: 16.73 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-05/0.4973, allocations: 180.7 kB / 0.8751 GB, free: 16.55 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.483e-05/0.4973, allocations: 180.9 kB / 0.8753 GB, free: 16.37 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-05/0.4974, allocations: 184.4 kB / 0.8755 GB, free: 16.18 MB / 0.5575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001155/0.4975, allocations: 385.7 kB / 0.8758 GB, free: 15.76 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.264e-05/0.4975, allocations: 101 kB / 0.8759 GB, free: 15.65 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.235e-05/0.4975, allocations: 101 kB / 0.876 GB, free: 15.55 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.347e-05/0.4976, allocations: 184.2 kB / 0.8762 GB, free: 15.36 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.519e-05/0.4976, allocations: 181.5 kB / 0.8764 GB, free: 15.18 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.468e-05/0.4976, allocations: 184.2 kB / 0.8766 GB, free: 14.99 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-05/0.4976, allocations: 184.1 kB / 0.8767 GB, free: 14.8 MB / 0.5575 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.286e-05/0.4977, allocations: 295.8 kB / 0.877 GB, free: 14.49 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.356e-05/0.4978, allocations: 193.9 kB / 0.8772 GB, free: 14.27 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.428e-05/0.4978, allocations: 188.3 kB / 0.8774 GB, free: 14.08 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.293e-05/0.4979, allocations: 101.2 kB / 0.8775 GB, free: 13.98 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.636e-05/0.4979, allocations: 180.2 kB / 0.8776 GB, free: 13.79 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.4979, allocations: 105 kB / 0.8777 GB, free: 13.68 MB / 0.5575 GB Notification: Performance of sort global known variables: time 2.215e-05/0.4979, allocations: 87.2 kB / 0.8778 GB, free: 13.6 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.0004047/0.4983, allocations: 107.9 kB / 0.8779 GB, free: 13.49 MB / 0.5575 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.0006741/0.499, allocations: 478.8 kB / 0.8784 GB, free: 13.06 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 6.871e-05/0.4991, allocations: 12 kB / 0.8784 GB, free: 13.05 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.4991, allocations: 0 / 0.8784 GB, free: 13.05 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 9.32e-07/0.4991, allocations: 0 / 0.8784 GB, free: 13.05 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000167/0.4993, allocations: 0.532 MB / 0.8789 GB, free: 12.52 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001342/0.4994, allocations: 119.2 kB / 0.879 GB, free: 12.38 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.319e-05/0.4995, allocations: 0.6882 MB / 0.8797 GB, free: 11.66 MB / 0.5575 GB Notification: Performance of SimCode: time 2.6e-07/0.4995, allocations: 3.938 kB / 0.8797 GB, free: 11.66 MB / 0.5575 GB Notification: Performance of Templates: time 0.004117/0.5037, allocations: 2.238 MB / 0.8819 GB, free: 9.453 MB / 0.5575 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)