Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.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.GetAltitudeTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") [: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.7203/0.7203, allocations: 141.8 MB / 149.1 MB, free: 2.566 MB / 130.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 190.3 kB / 182 MB, free: 14.53 MB / 162.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.257/1.257, allocations: 221.3 MB / 436 MB, free: 7.48 MB / 338.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009559/0.0009558, allocations: 97.33 kB / 0.507 GB, free: 24.56 MB / 402.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001749/0.001749, allocations: 284.9 kB / 0.5885 GB, free: 10.71 MB / 450.9 MB Notification: Performance of FrontEnd - loaded program: time 7.334e-06/7.334e-06, allocations: 0 / 0.6759 GB, free: 1.082 MB / 0.5184 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3702/0.3702, allocations: 82.76 MB / 0.7567 GB, free: 111.3 MB / 0.534 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1096/0.4798, allocations: 108.8 MB / 0.863 GB, free: 2.395 MB / 0.534 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001935/0.4801, allocations: 88.73 kB / 0.863 GB, free: 2.312 MB / 0.534 GB Notification: Performance of FrontEnd: time 0.01006/0.4902, allocations: 3.66 MB / 0.8666 GB, free: 14.68 MB / 0.5497 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.4902, allocations: 1.344 kB / 0.8666 GB, free: 14.68 MB / 0.5497 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.0003428/0.4905, allocations: 378.4 kB / 0.867 GB, free: 14.26 MB / 0.5497 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.4906, allocations: 12.78 kB / 0.867 GB, free: 14.25 MB / 0.5497 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.98e-05/0.4907, allocations: 75.28 kB / 0.8671 GB, free: 14.18 MB / 0.5497 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002035/0.4909, allocations: 235.2 kB / 0.8673 GB, free: 13.91 MB / 0.5497 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.817e-05/0.4909, allocations: 156 kB / 0.8674 GB, free: 13.75 MB / 0.5497 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.153e-05/0.491, allocations: 162.5 kB / 0.8676 GB, free: 13.59 MB / 0.5497 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.021e-05/0.4911, allocations: 159.3 kB / 0.8678 GB, free: 13.44 MB / 0.5497 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.653e-05/0.4911, allocations: 101.6 kB / 0.8678 GB, free: 13.33 MB / 0.5497 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.561e-05/0.4912, allocations: 76 kB / 0.8679 GB, free: 13.26 MB / 0.5497 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.452e-05/0.4912, allocations: 151.5 kB / 0.8681 GB, free: 13.11 MB / 0.5497 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.227e-05/0.4913, allocations: 155.6 kB / 0.8682 GB, free: 12.96 MB / 0.5497 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003129/0.4916, allocations: 419 kB / 0.8686 GB, free: 12.51 MB / 0.5497 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.4917, allocations: 179.3 kB / 0.8688 GB, free: 12.33 MB / 0.5497 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.759e-05/0.4918, allocations: 80.14 kB / 0.8689 GB, free: 12.25 MB / 0.5497 GB Notification: Performance of preOpt evalFunc (simulation): time 3.729e-05/0.4918, allocations: 76.38 kB / 0.8689 GB, free: 12.17 MB / 0.5497 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.309e-05/0.4919, allocations: 106.6 kB / 0.869 GB, free: 12.06 MB / 0.5497 GB Notification: Performance of pre-optimization done (n=0): time 2.184e-06/0.4919, allocations: 0.8125 kB / 0.869 GB, free: 12.06 MB / 0.5497 GB Notification: Performance of matching and sorting (n=0): time 8.155e-05/0.492, allocations: 41.53 kB / 0.8691 GB, free: 12.01 MB / 0.5497 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.492, allocations: 52 kB / 0.8691 GB, free: 11.95 MB / 0.5497 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.158e-05/0.4921, allocations: 89.5 kB / 0.8692 GB, free: 11.86 MB / 0.5497 GB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.4921, allocations: 26.27 kB / 0.8692 GB, free: 11.82 MB / 0.5497 GB Notification: Performance of collectInitialEqns (initialization): time 3.303e-05/0.4922, allocations: 81.17 kB / 0.8693 GB, free: 11.74 MB / 0.5497 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-06/0.4922, allocations: 7.938 kB / 0.8693 GB, free: 11.73 MB / 0.5497 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.9e-07/0.4922, allocations: 0.6562 kB / 0.8693 GB, free: 11.73 MB / 0.5497 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.4924, allocations: 311.9 kB / 0.8696 GB, free: 11.42 MB / 0.5497 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.257e-06/0.4924, allocations: 0 / 0.8696 GB, free: 11.42 MB / 0.5497 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.075e-06/0.4924, allocations: 0 / 0.8696 GB, free: 11.42 MB / 0.5497 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.519e-05/0.4924, allocations: 75.88 kB / 0.8697 GB, free: 11.35 MB / 0.5497 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.443e-05/0.4924, allocations: 75.88 kB / 0.8698 GB, free: 11.27 MB / 0.5497 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.868e-05/0.4925, allocations: 34.56 kB / 0.8698 GB, free: 11.23 MB / 0.5497 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.4925, allocations: 4 kB / 0.8698 GB, free: 11.23 MB / 0.5497 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-05/0.4926, allocations: 82.39 kB / 0.8699 GB, free: 11.15 MB / 0.5497 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.483e-05/0.4926, allocations: 155 kB / 0.87 GB, free: 11 MB / 0.5497 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.261e-05/0.4927, allocations: 79.84 kB / 0.8701 GB, free: 10.92 MB / 0.5497 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.008e-05/0.4927, allocations: 155.5 kB / 0.8702 GB, free: 10.77 MB / 0.5497 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.747e-05/0.4928, allocations: 83.72 kB / 0.8703 GB, free: 10.69 MB / 0.5497 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.294e-05/0.4929, allocations: 76 kB / 0.8704 GB, free: 10.61 MB / 0.5497 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 0.0001217/0.493, allocations: 259.5 kB / 0.8706 GB, free: 10.36 MB / 0.5497 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.942e-05/0.493, allocations: 109.4 kB / 0.8708 GB, free: 10.24 MB / 0.5497 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.364e-05/0.4931, allocations: 104.9 kB / 0.8709 GB, free: 10.13 MB / 0.5497 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.621e-05/0.4932, allocations: 178 kB / 0.871 GB, free: 9.953 MB / 0.5497 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.862e-05/0.4933, allocations: 189.1 kB / 0.8712 GB, free: 9.762 MB / 0.5497 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-05/0.4933, allocations: 177.4 kB / 0.8714 GB, free: 9.582 MB / 0.5497 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002277/0.4936, allocations: 382.5 kB / 0.8717 GB, free: 9.164 MB / 0.5497 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.866e-05/0.4936, allocations: 106.8 kB / 0.8718 GB, free: 9.055 MB / 0.5497 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.7e-05/0.4937, allocations: 105 kB / 0.8719 GB, free: 8.945 MB / 0.5497 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.19e-05/0.4937, allocations: 184.2 kB / 0.8721 GB, free: 8.758 MB / 0.5497 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.409e-05/0.4938, allocations: 181.5 kB / 0.8723 GB, free: 8.574 MB / 0.5497 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.583e-05/0.4939, allocations: 176.6 kB / 0.8725 GB, free: 8.395 MB / 0.5497 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.638e-05/0.494, allocations: 181.5 kB / 0.8726 GB, free: 8.211 MB / 0.5497 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001235/0.4941, allocations: 312.9 kB / 0.8729 GB, free: 7.883 MB / 0.5497 GB Notification: Performance of postOpt removeConstants (simulation): time 7.069e-05/0.4942, allocations: 183.7 kB / 0.8731 GB, free: 7.68 MB / 0.5497 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.4943, allocations: 180.2 kB / 0.8733 GB, free: 7.496 MB / 0.5497 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.163e-05/0.4944, allocations: 101 kB / 0.8734 GB, free: 7.391 MB / 0.5497 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.333e-05/0.4944, allocations: 181.6 kB / 0.8735 GB, free: 7.207 MB / 0.5497 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-05/0.4945, allocations: 110 kB / 0.8737 GB, free: 7.094 MB / 0.5497 GB Notification: Performance of sort global known variables: time 4.576e-05/0.4945, allocations: 79.28 kB / 0.8737 GB, free: 7.016 MB / 0.5497 GB Notification: Performance of remove unused functions: time 0.000386/0.4949, allocations: 60.75 kB / 0.8738 GB, free: 6.957 MB / 0.5497 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.0005547/0.4955, allocations: 333.9 kB / 0.8741 GB, free: 6.664 MB / 0.5497 GB Notification: Performance of simCode: created initialization part: time 3.993e-05/0.4955, allocations: 0.6562 kB / 0.8741 GB, free: 6.664 MB / 0.5497 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.4955, allocations: 0.625 kB / 0.8741 GB, free: 6.664 MB / 0.5497 GB Notification: Performance of simCode: created simulation system equations: time 3.887e-06/0.4956, allocations: 3.938 kB / 0.8741 GB, free: 6.66 MB / 0.5497 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000334/0.4959, allocations: 0.5269 MB / 0.8746 GB, free: 6.133 MB / 0.5497 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002562/0.4962, allocations: 115.3 kB / 0.8747 GB, free: 5.996 MB / 0.5497 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003143/0.4965, allocations: 0.6841 MB / 0.8754 GB, free: 5.285 MB / 0.5497 GB Notification: Performance of SimCode: time 2.4e-07/0.4965, allocations: 0 / 0.8754 GB, free: 5.285 MB / 0.5497 GB Notification: Performance of Templates: time 0.00297/0.4995, allocations: 0.9834 MB / 0.8764 GB, free: 4.336 MB / 0.5497 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1)