Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.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.GetTimeSpanTMY3LongHeader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader") [: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.6946/0.6946, allocations: 141.8 MB / 149.1 MB, free: 4.473 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001576/0.001576, allocations: 176 kB / 181.9 MB, free: 144 kB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.272/1.272, allocations: 221.3 MB / 436 MB, free: 9.266 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.0009201/0.0009201, allocations: 101.9 kB / 0.507 GB, free: 24.21 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001744/0.001744, allocations: 280.3 kB / 0.5884 GB, free: 12.29 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 8.706e-06/8.796e-06, allocations: 4 kB / 0.6759 GB, free: 2.664 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3844/0.3845, allocations: 82.77 MB / 0.7567 GB, free: 112.9 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.114/0.4985, allocations: 107.8 MB / 0.862 GB, free: 4.977 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002555/0.4988, allocations: 87.75 kB / 0.862 GB, free: 4.895 MB / 0.5263 GB Notification: Performance of FrontEnd: time 0.00692/0.5057, allocations: 2.705 MB / 0.8647 GB, free: 2.215 MB / 0.5263 GB Notification: Performance of Transformations before backend: time 7.254e-06/0.5058, allocations: 1 kB / 0.8647 GB, free: 2.215 MB / 0.5263 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.0001969/0.506, allocations: 346.4 kB / 0.865 GB, free: 1.832 MB / 0.5263 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.506, allocations: 12.56 kB / 0.865 GB, free: 1.82 MB / 0.5263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.963e-05/0.5061, allocations: 76.31 kB / 0.8651 GB, free: 1.746 MB / 0.5263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.5062, allocations: 246.2 kB / 0.8653 GB, free: 1.465 MB / 0.5263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/0.5063, allocations: 156.1 kB / 0.8655 GB, free: 1.312 MB / 0.5263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.778e-05/0.5063, allocations: 150.6 kB / 0.8656 GB, free: 1.164 MB / 0.5263 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 2.912e-05/0.5063, allocations: 152.3 kB / 0.8658 GB, free: 1.016 MB / 0.5263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.433e-05/0.5064, allocations: 110.6 kB / 0.8659 GB, free: 0.9023 MB / 0.5263 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.5064, allocations: 75.28 kB / 0.866 GB, free: 0.8281 MB / 0.5263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.771e-05/0.5064, allocations: 151.8 kB / 0.8661 GB, free: 0.6797 MB / 0.5263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.19e-05/0.5065, allocations: 150.6 kB / 0.8662 GB, free: 0.5312 MB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001723/0.5066, allocations: 433 kB / 0.8667 GB, free: 76 kB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 8.075e-05/0.5067, allocations: 166.5 kB / 0.8668 GB, free: 15.9 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.498e-05/0.5068, allocations: 80.73 kB / 0.8669 GB, free: 15.82 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.498e-05/0.5068, allocations: 79.78 kB / 0.867 GB, free: 15.74 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.508e-05/0.5069, allocations: 118.7 kB / 0.8671 GB, free: 15.61 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=0): time 2.034e-06/0.5069, allocations: 0.625 kB / 0.8671 GB, free: 15.61 MB / 0.5419 GB Notification: Performance of matching and sorting (n=0): time 7.649e-05/0.507, allocations: 30.25 kB / 0.8671 GB, free: 15.58 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/0.507, allocations: 51.94 kB / 0.8672 GB, free: 15.52 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.444e-05/0.5071, allocations: 102.8 kB / 0.8673 GB, free: 15.41 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.5071, allocations: 25.7 kB / 0.8673 GB, free: 15.38 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 3.075e-05/0.5072, allocations: 88.08 kB / 0.8674 GB, free: 15.29 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 1.704e-06/0.5072, allocations: 0 / 0.8674 GB, free: 15.29 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.71e-07/0.5072, allocations: 1.125 kB / 0.8674 GB, free: 15.29 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 9.946e-05/0.5073, allocations: 311.7 kB / 0.8677 GB, free: 14.98 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.286e-06/0.5073, allocations: 0 / 0.8677 GB, free: 14.98 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.558e-06/0.5073, allocations: 0.6875 kB / 0.8677 GB, free: 14.98 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.268e-05/0.5074, allocations: 83.81 kB / 0.8677 GB, free: 14.89 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.586e-05/0.5074, allocations: 76.34 kB / 0.8678 GB, free: 14.82 MB / 0.5419 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.804e-05/0.5075, allocations: 34.67 kB / 0.8679 GB, free: 14.78 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.5075, allocations: 11.98 kB / 0.8679 GB, free: 14.77 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.534e-05/0.5075, allocations: 75.94 kB / 0.8679 GB, free: 14.7 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.727e-05/0.5076, allocations: 151.2 kB / 0.8681 GB, free: 14.55 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.39e-05/0.5076, allocations: 79.91 kB / 0.8682 GB, free: 14.47 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.007e-05/0.5077, allocations: 151.6 kB / 0.8683 GB, free: 14.32 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001295/0.5078, allocations: 80.34 kB / 0.8684 GB, free: 14.24 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.187e-05/0.5078, allocations: 79.22 kB / 0.8685 GB, free: 14.16 MB / 0.5419 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 9.793e-05/0.5079, allocations: 253.6 kB / 0.8687 GB, free: 13.91 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.494e-05/0.508, allocations: 112.9 kB / 0.8688 GB, free: 13.79 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.117e-05/0.5081, allocations: 108.7 kB / 0.8689 GB, free: 13.68 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-05/0.5081, allocations: 182.9 kB / 0.8691 GB, free: 13.5 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.646e-05/0.5082, allocations: 182.1 kB / 0.8693 GB, free: 13.31 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.602e-05/0.5083, allocations: 177 kB / 0.8694 GB, free: 13.13 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002071/0.5085, allocations: 382.5 kB / 0.8698 GB, free: 12.71 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.95e-05/0.5086, allocations: 101.7 kB / 0.8699 GB, free: 12.61 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.759e-05/0.5086, allocations: 106.3 kB / 0.87 GB, free: 12.5 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.589e-05/0.5087, allocations: 188.2 kB / 0.8702 GB, free: 12.3 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.936e-05/0.5088, allocations: 177.5 kB / 0.8703 GB, free: 12.12 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.888e-05/0.5088, allocations: 180.6 kB / 0.8705 GB, free: 11.94 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001014/0.509, allocations: 192.1 kB / 0.8707 GB, free: 11.75 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001297/0.5091, allocations: 307.8 kB / 0.871 GB, free: 11.42 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.983e-05/0.5092, allocations: 182 kB / 0.8712 GB, free: 11.22 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.151e-05/0.5093, allocations: 176.3 kB / 0.8713 GB, free: 11.04 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.153e-05/0.5093, allocations: 112.9 kB / 0.8714 GB, free: 10.92 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.167e-05/0.5094, allocations: 184.2 kB / 0.8716 GB, free: 10.73 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.034e-05/0.5094, allocations: 101 kB / 0.8717 GB, free: 10.63 MB / 0.5419 GB Notification: Performance of sort global known variables: time 4.073e-05/0.5095, allocations: 83.28 kB / 0.8718 GB, free: 10.55 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0002584/0.5097, allocations: 7.938 kB / 0.8718 GB, free: 10.54 MB / 0.5419 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.0002573/0.51, allocations: 182.8 kB / 0.872 GB, free: 10.35 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 4.053e-05/0.5101, allocations: 0 / 0.872 GB, free: 10.35 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.5101, allocations: 3.938 kB / 0.872 GB, free: 10.34 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 1.223e-06/0.5101, allocations: 1.5 kB / 0.872 GB, free: 10.34 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002884/0.5104, allocations: 0.5185 MB / 0.8725 GB, free: 9.82 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002152/0.5106, allocations: 123.4 kB / 0.8726 GB, free: 9.676 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002505/0.5109, allocations: 0.6841 MB / 0.8733 GB, free: 8.965 MB / 0.5419 GB Notification: Performance of SimCode: time 2.51e-07/0.5109, allocations: 0 / 0.8733 GB, free: 8.965 MB / 0.5419 GB Notification: Performance of Templates: time 0.002237/0.5131, allocations: 326.1 kB / 0.8736 GB, free: 8.691 MB / 0.5419 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1)